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

Problem 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
Jovla
Posts: 7
Joined: Mon 13 Apr 2015 12:23 pm
Weather Station: Fine Offset WH1080
Operating System: Raspbian Wheesy
Location: Norway

Problem starting CumulusMX

Post by Jovla »

Hi!

I had CumulusMX up and running on my rpi, but after a reboot it wouldn't start again.
This is the output when trying to start:

Code: Select all

Current culture: English (United Kingdom)
Serial: CFC341CCC3D155241608CA50F5014E51
Cumulus MX v.3.0.0 build 3024
This is pre-release beta software
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0
  at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0
  at CumulusMX.Cumulus. (DateTime ) [0x00000] in <filename unknown>:0
  at CumulusMX.Cumulus.DoSunriseAndSunset () [0x00000] in <filename unknown>:0
  at CumulusMX.Cumulus..ctor (Int32 HTTPport, Int32 WSport) [0x00000] in <filename unknown>:0
  at .Main (System.String[] args) [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
This is the content of the latest MXdiags file:

Code: Select all

2015-05-14 17:14:44.235  ========================== Cumulus MX starting ==========================
2015-05-14 17:14:44.285 Command line: /CumulusMX/CumulusMX.exe -port 9999
2015-05-14 17:14:44.289 Cumulus MX v.3.0.0 build 3024
2015-05-14 17:14:44.317 Platform: Unix
2015-05-14 17:14:44.323 OS version: Unix 3.18.11.0
2015-05-14 17:14:44.324 Current culture: English (United Kingdom)
2015-05-14 17:14:44.325 Standard time zone name:   CET
2015-05-14 17:14:44.326 Daylight saving time name: CEST
2015-05-14 17:14:44.328 Daylight saving time? True
2015-05-14 17:14:44.335 14/05/2015 17:14:44
2015-05-14 17:14:44.345 Data path = data/
2015-05-14 17:14:44.370 Creating backup folder backup/20150514171444/
2015-05-14 17:14:44.622 Reading Cumulus.ini file
2015-05-14 17:14:44.894 ASM=10 AST=00:10:00
2015-05-14 17:14:44.915 Cumulus start date: 14 May 2015
2015-05-14 17:14:45.007 Debug logging is disabled
2015-05-14 17:14:45.008 Logging interval = 10
2015-05-14 17:14:45.193 Sunrise: 02:36:00
2015-05-14 17:14:45.194 Sunset : 23:07:20
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 
  at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0 
  at CumulusMX.Cumulus. (DateTime ) [0x00000] in <filename unknown>:0 
  at CumulusMX.Cumulus.DoSunriseAndSunset () [0x00000] in <filename unknown>:0 
  at CumulusMX.Cumulus..ctor (Int32 HTTPport, Int32 WSport) [0x00000] in <filename unknown>:0 
  at .Main (System.String[] args) [0x00000] in <filename unknown>:0 
Will upload the Cumulus.ini file
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Problem starting CumulusMX

Post by steve »

It's something to do with calculating the day length or the dawn and dusk time. It may be that your dusk is after midnight? Could you turn on debug logging please, and see if there is any more output in the diags file?
Steve
Jovla
Posts: 7
Joined: Mon 13 Apr 2015 12:23 pm
Weather Station: Fine Offset WH1080
Operating System: Raspbian Wheesy
Location: Norway

Re: Problem starting CumulusMX

Post by Jovla »

Content of the logfile after enabing debug:

Code: Select all

2015-05-14 22:48:13.381  ========================== Cumulus MX starting ==========================
2015-05-14 22:48:13.429 Command line: /CumulusMX/CumulusMX.exe -port 9999
2015-05-14 22:48:13.433 Cumulus MX v.3.0.0 build 3024
2015-05-14 22:48:13.460 Platform: Unix
2015-05-14 22:48:13.466 OS version: Unix 3.18.11.0
2015-05-14 22:48:13.467 Current culture: English (United Kingdom)
2015-05-14 22:48:13.468 Standard time zone name:   CET
2015-05-14 22:48:13.469 Daylight saving time name: CEST
2015-05-14 22:48:13.471 Daylight saving time? True
2015-05-14 22:48:13.479 14/05/2015 22:48:13
2015-05-14 22:48:13.488 Data path = data/
2015-05-14 22:48:13.512 Creating backup folder backup/20150514224813/
2015-05-14 22:48:13.747 Reading Cumulus.ini file
2015-05-14 22:48:14.011 ASM=10 AST=00:10:00
2015-05-14 22:48:14.032 Cumulus start date: 14 May 2015
2015-05-14 22:48:14.123 Debug logging is enabled
2015-05-14 22:48:14.124 Logging interval = 10
2015-05-14 22:48:14.302 Sunrise: 02:36:00
2015-05-14 22:48:14.303 Sunset : 23:07:20
2015-05-14 22:48:14.309 Tomorrow Sunrise: 02:30:00
2015-05-14 22:48:14.310 Tomorrow Sunset : 23:13:54
2015-05-14 22:48:14.311 Tomorrow length diff: 754
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0 
  at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0 
  at CumulusMX.Cumulus. (DateTime ) [0x00000] in <filename unknown>:0 
  at CumulusMX.Cumulus.DoSunriseAndSunset () [0x00000] in <filename unknown>:0 
  at CumulusMX.Cumulus..ctor (Int32 HTTPport, Int32 WSport) [0x00000] in <filename unknown>:0 
  at .Main (System.String[] args) [0x00000] in <filename unknown>:0 
System.ApplicationException: Mutex is not owned
  at System.Threading.Mutex.ReleaseMutex () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Threading.Mutex:ReleaseMutex ()
  at System.Net.FtpClient.FtpClient.Dispose () [0x00000] in <filename unknown>:0 
  at System.Net.FtpClient.FtpClient.Finalize () [0x00000] in <filename unknown>:0 
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Problem starting CumulusMX

Post by mcrossley »

Looking at those rise/set times, I suspect there is no end to dawn/dusk - ie twilight lasts all night.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Problem starting CumulusMX

Post by steve »

I'll see if I can handle that in the next build.
Steve
Jovla
Posts: 7
Joined: Mon 13 Apr 2015 12:23 pm
Weather Station: Fine Offset WH1080
Operating System: Raspbian Wheesy
Location: Norway

Re: Problem starting CumulusMX

Post by Jovla »

I've installed build 3025, and this works fine with that build.
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Problem starting CumulusMX

Post by steve »

Thanks.
Steve
Jovla
Posts: 7
Joined: Mon 13 Apr 2015 12:23 pm
Weather Station: Fine Offset WH1080
Operating System: Raspbian Wheesy
Location: Norway

Re: Problem starting CumulusMX

Post by Jovla »

I got some errors while starting CumulusMX today:
This is the log:

Code: Select all

2015-05-28 19:05:06.318  ========================== Cumulus MX starting ==========================
2015-05-28 19:05:06.364 Command line: /CumulusMX/CumulusMX.exe -port 9999
2015-05-28 19:05:06.368 Cumulus MX v.3.0.0 build 3025
2015-05-28 19:05:06.393 Platform: Unix
2015-05-28 19:05:06.399 OS version: Unix 3.18.11.0
2015-05-28 19:05:06.400 Current culture: English (United Kingdom)
2015-05-28 19:05:06.401 Standard time zone name:   CET
2015-05-28 19:05:06.402 Daylight saving time name: CEST
2015-05-28 19:05:06.404 Daylight saving time? True
2015-05-28 19:05:06.412 28/05/2015 19:05:06
2015-05-28 19:05:06.420 Data path = data/
2015-05-28 19:05:06.461 Creating backup folder backup/20150528190506/
2015-05-28 19:05:06.759 Reading Cumulus.ini file
2015-05-28 19:05:07.029 ASM=10 AST=00:10:00
2015-05-28 19:05:07.049 Cumulus start date: 14 May 2015
2015-05-28 19:05:07.147 Debug logging is enabled
2015-05-28 19:05:07.148 Logging interval = 10
System.FormatException: Input string was not in the correct format
  at System.Int32.Parse (System.String s) [0x00000] in <filename unknown>:0
  at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0
  at CumulusMX.Cumulus. (DateTime ) [0x00000] in <filename unknown>:0
  at CumulusMX.Cumulus. () [0x00000] in <filename unknown>:0
  at CumulusMX.Cumulus..ctor (Int32 HTTPport, Int32 WSport) [0x00000] in <filename unknown>:0
  at .Main (System.String[] args) [0x00000] in <filename unknown>:0
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Problem starting CumulusMX

Post by steve »

For some reason the stack trace won't decode. It looks like a similar problem - what are your sunrise and sunset times now? Can you give me your latitude and longitude, please?
Steve
Jovla
Posts: 7
Joined: Mon 13 Apr 2015 12:23 pm
Weather Station: Fine Offset WH1080
Operating System: Raspbian Wheesy
Location: Norway

Re: Problem starting CumulusMX

Post by Jovla »

Latitude=68.5113888888889
Longitude=16.7502777777778
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Problem starting CumulusMX

Post by steve »

The sun is always up (according to the routines I use) and the code doesn't cope with that yet. I'll see if I can fix that.
Steve
Jovla
Posts: 7
Joined: Mon 13 Apr 2015 12:23 pm
Weather Station: Fine Offset WH1080
Operating System: Raspbian Wheesy
Location: Norway

Re: Problem starting CumulusMX

Post by Jovla »

steve wrote:The sun is always up
;) Yep, that's right.
Locked