Page 1 of 1

CumulusMx charts do not display

Posted: Thu 17 Nov 2022 9:35 pm
by penzio
Hi everybody, i write from Italy, so i'm sorry for my poor english. :roll:
I have installed cumulusMx on a Raspberry with an Fine Offset weather station. the version is 3.18.0 b3190.
All is ok with installation and the station and the cumulus data seems ok. I'have installed the default web site in a local website too, and it works.
But I'have a problme with the charts, in the cumulus local interface and in the default site web too.
The charts are not display. They are wite like they do not load the values. I check the files in the MXdiag folder and noticed that ther is a problem with the format of a webtag relative to date.
Here is the log. Can be this the problem?

thank you very mutch for your help.

Lorenzo

:)

Code: Select all

2022-11-16 22:00:00.998 Latest reading: 2C10: 0C-46-7E-00-5D-2E-00-31-23-07-0A-00-04-5A-00-00
2022-11-16 22:00:01.224 Web tag error in file: web/websitedataT.json
2022-11-16 22:00:01.224 token=<#recordsbegandate>
2022-11-16 22:00:01.224 Position in file (character)=338
2022-11-16 22:00:01.224 Exception: i=315 len=31068
2022-11-16 22:00:01.225 inputText.Length=31068
2022-11-16 22:00:01.266 System.FormatException: Format_UnknownDateTimeWord
  at System.DateTimeParse.Parse (System.ReadOnlySpan`1[T] s, System.Globalization.DateTimeFormatInfo dtfi, System.Globalization.DateTimeStyles styles) [0x0002a]                                                                   in <de882a77e7c14f8ba5d298093dde82b2>:0
  at System.DateTime.Parse (System.String s) [0x00015] in <de882a77e7c14f8ba5d298093dde82b2>:0
  at CumulusMX.WebTags.Tagrecordsbegandate (System.Collections.Generic.Dictionary`2[TKey,TValue] tagParams) [0x0000b] in <43c884efc98d4e1998cfc9b08636c039>:0
  at CumulusMX.WebTags.GetWebTagText (System.String tagString, System.Collections.Generic.Dictionary`2[TKey,TValue] tagParams) [0x00025] in <43c884efc98d4e1998c                                                                  fc9b08636c039>:0
  at CumulusMX.Cumulus.TokenParserOnToken (System.String strToken, System.String & strReplacement) [0x00064] in <43c884efc98d4e1998cfc9b08636c039>:0
  at CumulusMX.TokenParser.Parse3 () [0x000a3] in <43c884efc98d4e1998cfc9b08636c039>:0
2022-11-16 22:00:01.266 ** The output file will contain an error message starting "**Web tag error"
2022-11-16 22:00:01.267 Web tag error in file: web/websitedataT.json
2022-11-16 22:00:01.267 token=<#recordsbegandate format=yyyy-MM-dd>
2022-11-16 22:00:01.267 Position in file (character)=383
2022-11-16 22:00:01.267 Exception: i=357 len=31068
2022-11-16 22:00:01.267 inputText.Length=31068
2022-11-16 22:00:01.268 System.FormatException: Format_UnknownDateTimeWord at System.DateTimeParse.Parse (System.ReadOnlySpan`1[T] s, System.Globalization.DateTimeFormatInfo dtfi, System.Globalization.DateTimeStyles styles) [0x0002a] in <de882a77e7c14f8ba5d298093dde82b2>:0
at System.DateTime.Parse (System.String s) [0x00015] in <de882a77e7c14f8ba5d298093dde82b2>:0
at CumulusMX.WebTags.Tagrecordsbegandate (System.Collections.Generic.Dictionary`2[TKey,TValue] tagParams) [0x0000b] in <43c884efc98d4e1998cfc9b08636c039>:0
at CumulusMX.WebTags.GetWebTagText (System.String tagString, System.Collections.Generic.Dictionary`2[TKey,TValue] tagParams) [0x00025] in <43c884efc98d4e1998c                                                                  fc9b08636c039>:0
at CumulusMX.Cumulus.TokenParserOnToken (System.String strToken, System.String & strReplacement) [0x00064] in <43c884efc98d4e1998cfc9b08636c039>:0
at CumulusMX.TokenParser.Parse3 () [0x000a3] in <43c884efc98d4e1998cfc9b08636c039>:0
2022-11-16 22:00:01.268 ** The output file will contain an error message starting "**Web tag error"

Re: CumulusMx charts do not display

Posted: Sat 19 Nov 2022 1:00 pm
by mcrossley
What value do you have in your Records Began Date field? - you can find it in your Station Settings | General Settings | Advanced

Re: CumulusMx charts do not display

Posted: Sun 20 Nov 2022 8:40 pm
by penzio
Thank you for you reply.
The date format is this "mercoledì 28 giugno 2022".

thank's.

Lorenzo

Re: CumulusMx charts do not display

Posted: Thu 24 Nov 2022 11:17 am
by penzio
Can be this date fromat an issue?Can i chek something else?

Thank you, Lorenzo :oops:

Re: CumulusMx charts do not display

Posted: Thu 24 Nov 2022 3:33 pm
by PaulMy
Hi Lorenzo,
Lorenzo wrote
The date format is this "mercoledì 28 giugno 2022".
I am not familiar with any other language or date/time usage but from the CumulusMX Settings my Records Began Date in English

Code: Select all

Here be dragons! Only alter these settings if you understand what they do.

Records Began Date  October 27, 2008
 IMPORTANT: You MUST keep the same date format when editing this field. 
 This is the 'Date of birth' for your Cumulus install, it defaults to the first time you run the program. 
 You may need to alter this if for instance you import historic data in Cumulus from another source, in that case set it to the first date of your imported data.
I suggest you try it with "Giugno 28, 2022"

Enjoy,
Paul

Re: CumulusMx charts do not display

Posted: Thu 24 Nov 2022 4:29 pm
by sutne
No Paul,
the start date is probably correct.
Mine is (norwegian): måndag 17. oktober 2022

And CMX works.

Re: CumulusMx charts do not display

Posted: Thu 24 Nov 2022 4:43 pm
by PaulMy
Hi Sutne,
But you, like the Settings example and mine have a comma (,) (or period (.)) after 17 which does not appear in Lorenzo's "mercoledì 28 giugno 2022"
@Lorenzo try "mercoledì 28, giugno 2022

Enjoy,
Paul

Re: CumulusMx charts do not display

Posted: Thu 24 Nov 2022 4:45 pm
by sutne
It is a dot.
Notation is different for different locale.

I would not copy english notation.

Re: CumulusMx charts do not display

Posted: Thu 24 Nov 2022 4:49 pm
by sutne
And this is my other station, with the same locale (but used to be GB).
cumulus.ini was copied from the old setup.
8CC798B4-A460-476E-9533-C7015FF089EA.jpeg
Both stations are running CMX without problems.

Re: CumulusMx charts do not display

Posted: Thu 24 Nov 2022 8:34 pm
by penzio
Thank you very mutch, i've try to change the date format as yours advise. I've restart cumulus at avery change, but the problem persist.
I try
28/06/22
28/06/2022
2022/06/28 etc.

The date format in the data's files is DD/MM/YY.
Can be a problem with the raspberry date format (24 Nov 2022) and the date format of the station or of Cumulus?

thank you.

Re: CumulusMx charts do not display -RESOLVED

Posted: Fri 25 Nov 2022 6:05 pm
by penzio
Hi everybody.
Thank you for your help.
The problem of the trends/graph was that i haven't got internet access from my rasberry, infact i'm using the system off line at the moment.
So the Hightchart library can be not download. I find the error with the F12 code debug of browser. :bash: :bash:

thank you!!

hightchart.JPG