Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Startup Error

Topics about the Beta trials up to Build 3043, the last build by Cumulus's founder Steve Loft. It was by this time way out of Beta but Steve wanted to keep it that way until he made a decision on his and Cumulus's future.

Moderator: mcrossley

Locked
oldakerw
Posts: 10
Joined: Sun 02 Jun 2013 7:34 pm
Weather Station: Davis Vantge Vue
Operating System: Windows 10 (64bit) build 10586
Location: South Prince George, VA USA
Contact:

Startup Error

Post by oldakerw »

During my first attempt at employment of Cumulus Mx I received the following error message, while I am sure I did something wrong I cannot find the error in the wiki:
Current culture: English (United States)
Serial: 6FA8D9B7F6ADDD2E642514BF626EB7E3
Cumulus MX v.3.0.0 build 3041
Unhandled Exception: System.DivideByZeroException: Attempted to divide by zero.
at CumulusMX.Cumulus.?() in C:\Users\steve\RiderProjects\CumulusMX\CumulusMX\Cumulus.cs:line 2916
at CumulusMX.Cumulus..ctor(Int32 HTTPport, Int32 WSport) in C:\Users\steve\RiderProjects\CumulusMX\CumulusMX\Cumulus.cs:line 1087
at ?.Main(String[] args) in C:\Users\steve\RiderProjects\CumulusMX\CumulusMX\Program.cs:line 101

I have version 3 (Mx) on my E: drive (Samsung SSD) in directory CumulusMx
Have attached my MXdiags and Cumulus.ini
You do not have the required permissions to view the files attached to this post.
Last edited by steve on Sat 03 Sep 2016 3:30 pm, edited 1 time in total.
Reason: File with passwords removed
William R. (Bill) Oldaker
South Prince George
Virginia, USA
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Startup Error

Post by steve »

You have somehow managed to get zero values for the two web update intervals:

RealtimeInterval=0
UpdateInterval=0

The code doesn't currently check for these as it reads them in, as the code in the UI should prevent them being set to invalid values. This doesn't allow for the possibility that they have been set to invalid values by some other means!

If you change those to something greater than zero it should get you past the error.
Steve
oldakerw
Posts: 10
Joined: Sun 02 Jun 2013 7:34 pm
Weather Station: Davis Vantge Vue
Operating System: Windows 10 (64bit) build 10586
Location: South Prince George, VA USA
Contact:

Re: Startup Error

Post by oldakerw »

Thank you sir.

I set them to 1 and then to 100 and got

Current culture: English (United States)
Serial: 6FA8D9B7F6ADDD2E642514BF626EB7E3
Cumulus MX v.3.0.0 build 3041

Unhandled Exception: System.DivideByZeroException: Attempted to divide by zero.
at CumulusMX.Cumulus.?() in C:\Users\steve\RiderProjects\CumulusMX\CumulusMX\Cumulus.cs:line 3017
at CumulusMX.Cumulus..ctor(Int32 HTTPport, Int32 WSport) in C:\Users\steve\RiderProjects\CumulusMX\CumulusMX\Cumulus.cs:line 1087
at ?.Main(String[] args) in C:\Users\steve\RiderProjects\CumulusMX\CumulusMX\Program.cs:line 101
You do not have the required permissions to view the files attached to this post.
Last edited by steve on Sat 03 Sep 2016 9:19 pm, edited 1 time in total.
Reason: File containing passwords removed
William R. (Bill) Oldaker
South Prince George
Virginia, USA
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Startup Error

Post by steve »

You have other intervals invalidly set to zero. Cumulus currently does the same with each of them when it reads them from Cumulus.ini, regardless of whether you are you using the particular facility.

[PWSweather]
ID=
Password=
Enabled=0
Interval=0
SendUV=0
SendSR=0
CatchUp=0

[WOW]
ID=
Password=
Enabled=0
Interval=0
SendUV=0
SendSR=0
CatchUp=0

[Weatherbug]
ID=
Number=
Password=
Enabled=0
Interval=0
SendUV=0
SendSR=0
CatchUp=0

I've added the necessary code to the next build to check for invalid values.
Steve
oldakerw
Posts: 10
Joined: Sun 02 Jun 2013 7:34 pm
Weather Station: Davis Vantge Vue
Operating System: Windows 10 (64bit) build 10586
Location: South Prince George, VA USA
Contact:

Re: Startup Error

Post by oldakerw »

Steve,

Thank you so much, that did the trick and I am up and running now.

Bill
William R. (Bill) Oldaker
South Prince George
Virginia, USA
Locked