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

CMX Won't Run After Transferring Data Files

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
randy52644
Posts: 53
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Windows 10
Location: Mt. Union, IA

CMX Won't Run After Transferring Data Files

Post by randy52644 »

I've been running Cumulus 1 on a PC for a few years and recently changed to a RPi. CMX has been running fine on the RPi until I copied all of the files from my old /data directory to the new directory.
Now when I attempt to start CMX, I get these errors. CMX was not running when I moved the files and I have done a reboot of the RPi. What did I do wrong?

Current culture: English (United Kingdom)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3036
Today.ini = data/today.ini
Last update=12/20/2015 6:45:00 AM
[ERROR] FATAL UNHANDLED EXCEPTION: System.FormatException: String was not recognized as a valid DateTime.
at System.DateTime.Parse (System.String s, IFormatProvider provider, DateTimeStyles styles) [0x00000] in <filename unknown>:0
at System.DateTime.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0
at System.DateTime.Parse (System.String s) [0x00000] in <filename unknown>:0
at îº.î () [0x00000] in <filename unknown>:0
at îº..ctor (CumulusMX.Cumulus î) [0x00000] in <filename unknown>:0
at î·..ctor (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: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: CMX Won't Run After Transferring Data Files

Post by steve »

Your date format is different now to the one you were using with Cumulus 1 - you seem to be using UK settings now, but your today.ini file from Cumulus 1 has US date format. I suspect that you actually want to use US format on your Pi?
Steve
randy52644
Posts: 53
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Windows 10
Location: Mt. Union, IA

Re: CMX Won't Run After Transferring Data Files

Post by randy52644 »

Is the Current culture changed in CMX or RPi? I checked raspi-config and it "appears" to be set correctly.
randy52644
Posts: 53
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Windows 10
Location: Mt. Union, IA

Re: CMX Won't Run After Transferring Data Files

Post by randy52644 »

I just double checked my RPi and it is set to en_US.UTF-8
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: CMX Won't Run After Transferring Data Files

Post by steve »

Mono should pick it up from the system. I've just tried changing my locale to en_US.UTF-8 using raspi-config, and after a reboot, MX was using that by default:

pi@jessie:~ $ echo $LANG
en_US.UTF-8
pi@jessie:~ $ cd CumulusMX/
pi@jessie:~/CumulusMX $ sudo mono CumulusMX.exe
Current culture: English (United States)
Serial: 056F2914FD9A607D48F5491A53B4DEB5
Cumulus MX v.3.0.0 build 3036
Today.ini = data/today.ini
Last update=2015-12-22T14:26:16
WMR200 station not found!
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
12/22/2015 2:26:20 PM
Type Ctrl-C to terminate

If yours won't do that for whatever reason, you could supply the locale on the command line.
Steve
randy52644
Posts: 53
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Windows 10
Location: Mt. Union, IA

Re: CMX Won't Run After Transferring Data Files

Post by randy52644 »

(SOLVED) Silly me!! Isn't amazing what a reboot will do! Went back through raspi-config again and selected en_US.UTF-8 again. THEN after a reboot, current culture is now English United States.
Case closed.........thanks Steve!
Locked