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

Getting a non-fatal error when starting CumulusMX

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
stuartp
Posts: 34
Joined: Tue 03 Mar 2009 2:56 pm
Weather Station: WH-1081PC
Operating System: Raspbian bullseye
Location: Hampshire, UK
Contact:

Getting a non-fatal error when starting CumulusMX

Post by stuartp »

Have just started using MX on my Raspberry Pi - I must admit I am very pleased with the outcome. I do however get a consistent error message when starting, just after it connects to the station :

System.ArgumentException: Invalid value: -60000
at System.Timers.Timer.set_Interval (Double value) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Timers.Timer:set_Interval (double)
at CumulusMX.Cumulus.StartTimers () [0x00000] in <filename unknown>:0
at . (System.Object , System.ComponentModel.RunWorkerCompletedEventArgs ) [0x00000] in <filename unknown>:0
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted (System.ComponentModel.RunWorkerCompletedEventArgs e) [0x00000] in <filename unknown>:0
at System.ComponentModel.BackgroundWorker.<CompleteWorker>m__1 (System.Object darg) [0x00000] in <filename unknown>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate


I have attached the latest diagnostic file. This does not seem to affect the actual running of the software as far as I can make out. Could it be something carried over from my XP setup in the config file?

Thanks,

Stuart
You do not have the required permissions to view the files attached to this post.
User avatar
nitrx
Posts: 1297
Joined: Sun 13 Dec 2009 1:21 pm
Weather Station: WH1080
Operating System: Windows 10
Location: Apeldoorn The Netherlands
Contact:

Re: Getting a non-fatal error when starting CumulusMX

Post by nitrx »

Are you sure starting Cumulus with mono in the right directory

Code: Select all

sudo mono CumulusMX.exe
?
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Getting a non-fatal error when starting CumulusMX

Post by freddie »

stuartp wrote:I have attached the latest diagnostic file
You need to enable debug logging in your Cumulus config. See https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=12991 for instructions. Without debug messages being logged in the diags file it is very difficult to perform any diagnosis.
Freddie
Image
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: Getting a non-fatal error when starting CumulusMX

Post by steve »

It seems to be trying to start a timer with a negative period (minus 60 seconds), so could well be a problem in your Cumulus.ini file.
Steve
stuartp
Posts: 34
Joined: Tue 03 Mar 2009 2:56 pm
Weather Station: WH-1081PC
Operating System: Raspbian bullseye
Location: Hampshire, UK
Contact:

Re: Getting a non-fatal error when starting CumulusMX

Post by stuartp »

steve wrote:It seems to be trying to start a timer with a negative period (minus 60 seconds), so could well be a problem in your Cumulus.ini file.
I have upgraded MX to the latest release and enclose a diagnostics file with debugging turned on. In the meantime I will try starting with a new Cumulus.ini and see what I get.

Stuart
You do not have the required permissions to view the files attached to this post.
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: Getting a non-fatal error when starting CumulusMX

Post by steve »

You should be able to find the timer with the value of -60 fairly easily, either by searching Cumulus.ini or looking at the settings through the UI. It may not necessarily be an enabled timer, it's the setting of the interval which is causing the error message.
Steve
stuartp
Posts: 34
Joined: Tue 03 Mar 2009 2:56 pm
Weather Station: WH-1081PC
Operating System: Raspbian bullseye
Location: Hampshire, UK
Contact:

Re: Getting a non-fatal error when starting CumulusMX

Post by stuartp »

steve wrote:You should be able to find the timer with the value of -60 fairly easily, either by searching Cumulus.ini or looking at the settings through the UI. It may not necessarily be an enabled timer, it's the setting of the interval which is causing the error message.
Hi Steve. I took the opportunity to rebuild the CumulusMX.ini file from a fresh install. All works fine now. Thanks for the hints. MX is working very well btw - I have it on my old Raspberry Pi in headless mode and it hardly stresses the processor or memory utilisation. Very impressive.

Stuart
Locked