Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
Latest Cumulus MX V4 release 4.0.1 (build 4023) - 16 May 2024
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
Have an error related to date and time
Moderator: mcrossley
-
- Posts: 8
- Joined: Sat 24 Feb 2024 3:03 am
- Weather Station: Davis v2
- Operating System: Win 11
Have an error related to date and time
Starting up MX I get
Cumulus MX v.3.28.5 build 3282
Working Dir: C:\CumulusMX\
Cumulus running at: http://localhost:8998/
http://192.168.0.101:8998/
Open the admin interface by entering one of the above URLs into a web browser.
Opening station type 1 - Davis Vantage Pro2
Last update: 2024-03-04T15:00:00
Connected to station
System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime.
at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
at CumulusMX.WeatherStation.GetAllDegreeDaysGraphData(Boolean local)
at CumulusMX.WeatherStation.CreateEodGraphDataFiles()
at CumulusMX.Cumulus.Initialise(Int32 HTTPport, Boolean DebugEnabled, String startParms)
at CumulusMX.Program.RunAsAConsole(Int32 port, Boolean debug)
at CumulusMX.Program.Main(String[] args)
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
Can anyone point mee at my problem.
I have a zip file of MX diags available
Cumulus MX v.3.28.5 build 3282
Working Dir: C:\CumulusMX\
Cumulus running at: http://localhost:8998/
http://192.168.0.101:8998/
Open the admin interface by entering one of the above URLs into a web browser.
Opening station type 1 - Davis Vantage Pro2
Last update: 2024-03-04T15:00:00
Connected to station
System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime.
at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
at CumulusMX.WeatherStation.GetAllDegreeDaysGraphData(Boolean local)
at CumulusMX.WeatherStation.CreateEodGraphDataFiles()
at CumulusMX.Cumulus.Initialise(Int32 HTTPport, Boolean DebugEnabled, String startParms)
at CumulusMX.Program.RunAsAConsole(Int32 port, Boolean debug)
at CumulusMX.Program.Main(String[] args)
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
Can anyone point mee at my problem.
I have a zip file of MX diags available
- HansR
- Posts: 6058
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Have an error related to date and time
Please post the diags as asked, any info of what is wrong must be in the log.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
-
- Posts: 8
- Joined: Sat 24 Feb 2024 3:03 am
- Weather Station: Davis v2
- Operating System: Win 11
Re: Have an error related to date and time
MX diags zip
I have a problem attaching the zip despite being less than 15MiB
Have attached last service console and log
Added dayfile
I have a problem attaching the zip despite being less than 15MiB
Have attached last service console and log
Added dayfile
You do not have the required permissions to view the files attached to this post.
Last edited by tokoroa.info on Mon 04 Mar 2024 7:51 pm, edited 1 time in total.
- HansR
- Posts: 6058
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Have an error related to date and time
OK, thanks. Last log and console should be enough for the moment.
Having seen the contents I think Mark must look at it to see where it goes wrong in the code.
Having seen the contents I think Mark must look at it to see where it goes wrong in the code.
Hans
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
https://meteo-wagenborgen.nl
CMX build 4023+ ● RPi 3B+ ● Raspbian Linux 6.1.21-v7+ armv7l ● dotnet 8.0.3
- mcrossley
- Posts: 12951
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Have an error related to date and time
Can you post your dayfile as well please.
-
- Posts: 8
- Joined: Sat 24 Feb 2024 3:03 am
- Weather Station: Davis v2
- Operating System: Win 11
Re: Have an error related to date and time
Added dayfile above
- mcrossley
- Posts: 12951
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Have an error related to date and time
Is your Growing Degree Days start month set to "7"?
-
- Posts: 8
- Joined: Sat 24 Feb 2024 3:03 am
- Weather Station: Davis v2
- Operating System: Win 11
Re: Have an error related to date and time
Growing degree days data is all at default including 7 for southern hemisphere
-
- Posts: 8
- Joined: Sat 24 Feb 2024 3:03 am
- Weather Station: Davis v2
- Operating System: Win 11
Re: Have an error related to date and time
I have noticed in today.ini the following first entry
"[General]
Date=4/03/2024
Timestamp=2024-03-04T15:00:00
CurrentYear=2024
CurrentMonth=2
CurrentDay=29"
"[General]
Date=4/03/2024
Timestamp=2024-03-04T15:00:00
CurrentYear=2024
CurrentMonth=2
CurrentDay=29"
-
- Posts: 8
- Joined: Sat 24 Feb 2024 3:03 am
- Weather Station: Davis v2
- Operating System: Win 11
Re: Have an error related to date and time
Also noted in the 20240306-084314.txt that things appear to go wrong with the graphs generation
2024-03-06 08:43:17.570 Generating the daily graph data files
2024-03-06 08:43:17.601 !!! Unhandled Exception !!!
System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime.
at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
at CumulusMX.WeatherStation.GetAllDegreeDaysGraphData(Boolean local)
at CumulusMX.WeatherStation.CreateEodGraphDataFiles()
at CumulusMX.Cumulus.Initialise(Int32 HTTPport, Boolean DebugEnabled, String startParms)
at CumulusMX.Program.RunAsAConsole(Int32 port, Boolean debug)
at CumulusMX.Program.Main(String[] args)
2024-03-06 08:43:17.570 Generating the daily graph data files
2024-03-06 08:43:17.601 !!! Unhandled Exception !!!
System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime.
at System.DateTime.DateToTicks(Int32 year, Int32 month, Int32 day)
at CumulusMX.WeatherStation.GetAllDegreeDaysGraphData(Boolean local)
at CumulusMX.WeatherStation.CreateEodGraphDataFiles()
at CumulusMX.Cumulus.Initialise(Int32 HTTPport, Boolean DebugEnabled, String startParms)
at CumulusMX.Program.RunAsAConsole(Int32 port, Boolean debug)
at CumulusMX.Program.Main(String[] args)
- De Hout
- Posts: 36
- Joined: Thu 09 Oct 2014 5:40 pm
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows 11
- Location: Alkmaar, The Netherlands
- Contact:
Re: Have an error related to date and time
I've seen more posts like this.tokoroa.info wrote: ↑Tue 05 Mar 2024 7:45 pm I have noticed in today.ini the following first entry
"[General]
Date=4/03/2024
Timestamp=2024-03-04T15:00:00
CurrentYear=2024
CurrentMonth=2
CurrentDay=29"
In 2000 there was the millennium-bug. Is this the leap-year-bug?
CU1 Weather Station Website: http://www.alkmaarweer.nl
- mcrossley
- Posts: 12951
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Have an error related to date and time
Well the growing degree day graph data does actually use a leap year internally, but it uses the same year every year!
- mcrossley
- Posts: 12951
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Have an error related to date and time
Whilst I investigate this, could you try disabling the Growing Degree Day graphs for me please?
Edit your Cumulus.ini file, and find the section [Graphs], then make to following edit...
Edit your Cumulus.ini file, and find the section [Graphs], then make to following edit...
Code: Select all
[Graphs]
...
GrowingDegreeDaysVisible1=0
GrowingDegreeDaysVisible2=0
- mcrossley
- Posts: 12951
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Have an error related to date and time
Sorry, you will also need to edit the following entries...
Code: Select all
[FTP site]
...
Create-alldailydegdaydata=0
Ftp-alldailydegdaydata=0
Copy-alldailydegdaydata=0
- mcrossley
- Posts: 12951
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Have an error related to date and time
You will need to do the same for the temperature sum graphs if you have enabled them.
I have found the problem, it affects southern hemisphere stations that do not have any data for January in the year they started. I've fixed this for the next release.
I have found the problem, it affects southern hemisphere stations that do not have any data for January in the year they started. I've fixed this for the next release.