Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Error Not Valid Date

Discussion of the Cumulusutils tool and website generator.

Moderator: HansR

Post Reply
andro700
Posts: 75
Joined: Mon 22 Sep 2008 10:18 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Renton, Washington
Contact:

Error Not Valid Date

Post by andro700 »

I am new to Cumulusutils. I am getting a error Not a Valid DateTime. Here is a screenshot. Is there any other files you need to look at?

Thanks,
Chuck
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Error Not Valid Date

Post by HansR »

Hi Chuck, thanks for trying CumulusUtils.

If have an issue like this it would be good to post the logfile as well. You find that in utils/log. Every run produces its own logfile and the logfiles are cleaned up on each run and are kept for two days. So I would like to see the logfile which produced the error you show.

The error itself points to date format errors which sometimes occur in older versions of CMX. With CMX improving every build, this occurs less and less.
What version of CMX are you using? It may be useful to upgrade to the last version and use the tool CreateMissing.exe which - I think - also logs erroneous entries in the monthly logs.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
andro700
Posts: 75
Joined: Mon 22 Sep 2008 10:18 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Renton, Washington
Contact:

Re: Error Not Valid Date

Post by andro700 »

Here is the logfile you are referring to.
2108220920cumulusutils.log
Chuck
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Error Not Valid Date

Post by HansR »

andro700 wrote: Tue 24 Aug 2021 4:12 pm Here is the logfile you are referring to.2108220920cumulusutils.log

Chuck
OK. I see the following:

Code: Select all

2021-08-22 09:20:01.519 Error DayfileValue.SetValues fail: String was not recognized as a valid DateTime.
2021-08-22 09:20:01.519 Error DayfileValue.SetValues: in field nr 13 (timeMaxRainRate)
2021-08-22 09:20:01.519 Error DayfileValue.SetValues: line is: '24/05/20,12.0,297,14:43,56.6,10:06,72.8,16:36,30.099,20:54,30.224,10:06,0.00,0.00,0.00,66.0,22.8,4.0,13:16,37,16:36,71,10:06,8.280,7.9,72.8,16:36,70.8,16:38,55.2,10:18,18.59,10:14,56.7,10:06,51.2,22:57,42.7,17:58,238,0.0,27.6,1016,14:28,6.8,14:22,72.4,16:38,56.6,10:18')
The line clearly gives the values 0.0 for maxRainRate, timeMaxRainRate, totalRainThisDay.
I don't know why the value 0.0 is there for the time but CUtils complains about the format and rightly so.
You will have to edit the line and set the time to 00:00.

Then for the monthfiles you get:

Code: Select all

2021-08-22 09:20:06.926 Error MonthfileValue.SetValues fail: String was not recognized as a valid DateTime.
2021-08-22 09:20:06.927 Error MonthfileValue.SetValues: in field nr 1 (thisTime)
2021-08-22 09:20:06.927 Error MonthfileValue.SetValues: line is: 
this is followed by a series of 0 values (shown as white space in the editor)

Then you get the actual line:

Code: Select all

15/08/20,19:43,81.5,47,59.3,1.0,3.0,320,0.00,0.00,29.880,22.47,74.6,40,3.0,81.5,81.8,0.0,67,0.000,20.599,84.0,24,0.0,340,0.00,0.00,84.3,31.5
2021-08-22 09:20:06.927 Information Monthfile.SetValues : Continuing to read data
It is the series of 0 values which is the problem.
You will have to remove those characters.

In summary: carefully edit the datafiles on the spots indicated.

Side remark: I noticed the filenames are missing in the log so you have no clue in which file the error occurs.
Sorry for that, a fix 6.1.1 with that information will be released in minutes.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
andro700
Posts: 75
Joined: Mon 22 Sep 2008 10:18 pm
Weather Station: Davis VP2
Operating System: Windows 10
Location: Renton, Washington
Contact:

Re: Error Not Valid Date

Post by andro700 »

Well I fixed the issues and still throwing errors.
cumulusutils1.jpg
Chuck
You do not have the required permissions to view the files attached to this post.
Image
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Error Not Valid Date

Post by HansR »

The logfile shows the same errors as before and as far as I can see you did not fix the errors and you did not use version 6.1.1 (so you don't get the indication of which files to edit). I can't fix this problem for you, you will have to edit the files yourself.

And btw: you need to fill in the website (the site you want to show on the map, preferably the URL for the CUtils site) in cumulusutils.ini to prevent CUtils from aborting. See the Wiki. That at least will give you a website even though you will have data errors.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
User avatar
HansR
Posts: 5957
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: Error Not Valid Date

Post by HansR »

I would like to make another remark concerning this type of errors: to prevent flooding of the logfile only 10 successive errors are logged (yes, I believe that is somewhere in the wiki but easy to overlook for everybody).

So if you find this type of error you better continue to browse the file.
The errors are easy to spot (blank lines/characters) and rerunning is more annoying if you only do this in groups of ten.
Hans

https://meteo-wagenborgen.nl
CMX build 4017+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
Post Reply