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 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

CumulusMX has stopped working

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
Ethanflux
Posts: 5
Joined: Sat 27 Aug 2016 2:07 pm
Weather Station: Davis Vantage Pro
Operating System: Win 10 x64

CumulusMX has stopped working

Post by Ethanflux »

Hi guys!

I have been running Cumulus MX for a very long time and never had any problems. I did a reboot of my computer tonight and now I can not get it working. I didn't make any changes on my system, so I am not sure why this is happening. This is what it is displaying.. Any help would be much appreciated. I would like to get the weather data back on APRS and the other weather sites.

73 de K0GDI - Greg...

Current culture: English (United States)
Serial: 3B2EE1B78300CD307CB6FAEAAA7A3820
Cumulus MX v.3.0.0 build 3043

Unhandled Exception: System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32(Double value)
at CumulusMX.Cumulus.DoSunriseAndSunset() in C:\Users\steve\Documents\Visual Studio 2015\Projects\CumulusMX\CumulusMX\Cumulus.cs:line 2513
at CumulusMX.Cumulus..ctor(Int32 HTTPport, Int32 WSport) in C:\Users\steve\Documents\Visual Studio 2015\Projects\CumulusMX\CumulusMX\Cumulus.cs:line 1212
at CumulusMX.Program.Main(String[] args) in C:\Users\steve\Documents\Visual Studio 2015\Projects\CumulusMX\CumulusMX\Program.cs:line 101
water01
Posts: 3215
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: CumulusMX has stopped working

Post by water01 »

My guess would be some invalid data in one of the Cumulus MX files. With Cumulus MX closed use a good editor such as Notepad ++ and check the files one by one starting with dayfile.txt. Alternately if your weather station has a logger copy a set of files from the backup directory, say from the rollover of the 30th December (make sure it a full day before you did the restart), and then restart Cumulus MX(again MX should be closed before doing the copy).
David
Image
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX has stopped working

Post by steve »

Looks like a problem with the sunrise/sunset stuff. Could be your co-ordinates are wrong, or perhaps a bug - but it’s normally people at very high or low latitudes that hit bugs in that area.
Steve
Ethanflux
Posts: 5
Joined: Sat 27 Aug 2016 2:07 pm
Weather Station: Davis Vantage Pro
Operating System: Win 10 x64

Re: CumulusMX has stopped working

Post by Ethanflux »

I checked the coordinates and they are correct and my elevation is 777ft. I'm guessing it is a bug, because this software has always worked for me and I didn't change any settings.
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX has stopped working

Post by steve »

Might be some odd bug to do with it being Jan 1st, but I don’t understand why it apparently just affects you.
Steve
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CumulusMX has stopped working

Post by steve »

Apparently you had exactly the same problem on Jan 1st last year.

https://cumulus.hosiene.co.uk/viewtopic.p ... 13#p122013
Steve
Ethanflux
Posts: 5
Joined: Sat 27 Aug 2016 2:07 pm
Weather Station: Davis Vantage Pro
Operating System: Win 10 x64

Re: CumulusMX has stopped working

Post by Ethanflux »

Ok, well if you need anything from me, let me know.

Thank you.
Ethanflux
Posts: 5
Joined: Sat 27 Aug 2016 2:07 pm
Weather Station: Davis Vantage Pro
Operating System: Win 10 x64

Re: CumulusMX has stopped working

Post by Ethanflux »

You are correct. It has to do with the date. I changed the date to March and it loads just fine.

Thanks Steve. I'll load it back up tomorrow and see if it will run.
orfeo
Posts: 18
Joined: Wed 08 Jul 2015 4:13 pm
Weather Station: Davis VP2+
Operating System: Linux Mint / Windows 7
Location: Toronto Canada

Re: CumulusMX has stopped working

Post by orfeo »

Hi All

I just had the same problem

~/Documents/CumulusMX$ sudo mono CumulusMX.exe
Current culture: English (Canada)
Serial: B26D48CE48963FD92D11C9FB17E287B0
Cumulus MX v.3.0.0 build 3043
[ERROR] FATAL UNHANDLED EXCEPTION: System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32 (System.Double value) [0x000a4] in <8f2c484307284b51944a1a13a14c0266>:0
at CumulusMX.Cumulus.DoSunriseAndSunset () [0x001f0] in <e5374d62bd7e4591847a6042233be333>:0
at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Int32 WSport) [0x01f25] in <e5374d62bd7e4591847a6042233be333>:0
at CumulusMX.Program.Main (System.String[] args) [0x00205] in <e5374d62bd7e4591847a6042233be333>:0



The only thing i changed recently is the logging interval, from 10 min to 5 min. I did shut down the PC over the weekend as there was a power outage planned. The time (UTC) is correct on the PC. What did Ethanflux change, the date? on the PC or in the log?

I'll look into the files now do see if there's any glitches, i did change the loginterval from 1 (i assume 5 min) to 2 (i assume 10 min) but that didn't help.

Any ideas? perhaps i should re-install cumulus?

orfeo


EDIT: OK i found [how to add debug logging to cumulus.ini][https://cumuluswiki.wxforum.net/a/Cumulus.ini] , you have to add the Logging=1 to the [Station] section. i was struggling as i didn't see it there.

It doesn't display anything extra. is the MXdiags


2019-04-15 15:46:04.980 ========================== Cumulus MX starting ==========================
2019-04-15 15:46:04.982 Command line: /home/tao-tracker/Documents/CumulusMX/CumulusMX.exe
2019-04-15 15:46:04.982 Cumulus MX v.3.0.0 build 3043
2019-04-15 15:46:04.983 Platform: Unix
2019-04-15 15:46:04.983 OS version: Unix 4.15.0.47
2019-04-15 15:46:04.983 Mono version: 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)
2019-04-15 15:46:04.983 Current culture: English (Canada)
2019-04-15 15:46:04.983 Directory separator=/ Decimal separator=. List separator=,
2019-04-15 15:46:04.983 Date separator=- Time separator=:
2019-04-15 15:46:04.983 Standard time zone name: UTC
2019-04-15 15:46:04.983 Daylight saving time name:
2019-04-15 15:46:04.983 Daylight saving time? False
2019-04-15 15:46:04.983 2019-04-15 3:46:04 PM
2019-04-15 15:46:04.983 Data path = data/
2019-04-15 15:46:04.998 Creating backup folder backup/20190415154604/
2019-04-15 15:46:05.000 Created backup folder backup/20190415154604/
2019-04-15 15:46:05.004 Reading Cumulus.ini file
2019-04-15 15:46:05.007 ASM=10 AST=00:10:00
2019-04-15 15:46:05.007 Cumulus start date: July 4, 2018
2019-04-15 15:46:05.008 Debug logging is enabled
2019-04-15 15:46:05.008 Data logging is disabled
2019-04-15 15:46:05.008 Logging interval = 5
2019-04-15 15:46:05.054 Calculating sunrise and sunset times
2019-04-15 15:46:05.056 Sunrise: 10:35:01
2019-04-15 15:46:05.056 Sunset : 00:00:00
2019-04-15 15:46:05.056 Tomorrow sunrise: 10:33:21
2019-04-15 15:46:05.056 Tomorrow sunset : 00:00:53



terminal output:

Current culture: English (Canada)
Serial: B26D48CE48963FD92D11C9FB17E287B0
Cumulus MX v.3.0.0 build 3043
[ERROR] FATAL UNHANDLED EXCEPTION: System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32 (System.Double value) [0x000a4] in <8f2c484307284b51944a1a13a14c0266>:0
at CumulusMX.Cumulus.DoSunriseAndSunset () [0x001f0] in <e5374d62bd7e4591847a6042233be333>:0
at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Int32 WSport) [0x01f25] in <e5374d62bd7e4591847a6042233be333>:0
at CumulusMX.Program.Main (System.String[] args) [0x00205] in <e5374d62bd7e4591847a6042233be333>:0










OK now i'm at a bit of a loss. i downloaded the new version of cumuluxMX 3048 and installed it. it starts up and then i set the station up and restart and the same problem returned. At first i thought that was because i copied in the old logs but then i repeated the install and did not copy the logs in and again it fails.


tao-tracker@taotracker:~/Documents/CumulusMX$ sudo mono CumulusMX.exe
[sudo] password for tao-tracker:
Current culture: English (Canada)
Serial: B26D48CE48963FD92D11C9FB17E287B0
Cumulus MX v.3.0.0 build 3048
Station type not set
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
2019-04-15 6:13:55 PM
Type Ctrl-C to terminate
*** Station type changed, restart required ***
tao-tracker@taotracker:~/Documents/CumulusMX$ sudo mono CumulusMX.exe
Current culture: English (Canada)
Serial: B26D48CE48963FD92D11C9FB17E287B0
Cumulus MX v.3.0.0 build 3048
[ERROR] FATAL UNHANDLED EXCEPTION: System.OverflowException: Value was either too large or too small for an Int32.
at System.Convert.ToInt32 (System.Double value) [0x000a4] in <8f2c484307284b51944a1a13a14c0266>:0
at CumulusMX.Cumulus.DoSunriseAndSunset () [0x001bc] in <94ce6159a2904f1baa55a29fe3559466>:0
at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Int32 WSport) [0x01d39] in <94ce6159a2904f1baa55a29fe3559466>:0
at CumulusMX.Program.Main (System.String[] args) [0x001bd] in <94ce6159a2904f1baa55a29fe3559466>:0
tao-tracker@taotracker:~/Documents/CumulusMX$
User avatar
mcrossley
Posts: 12694
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX has stopped working

Post by mcrossley »

OK, I think I need to know your lat/long, can you post the section of Cumulus.ini with your location information in it please?

And your Locale settings please.
Post Reply