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

No luck at all running CMX

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
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

No luck at all running CMX

Post by haeb »

tried to run CMX on Ubuntu, Raspi and WIN7 x64 with no luck.

Ubuntu 12.04 LTS
CMX does not start, no file in MXdiags. Screen after trying to start CMX:
Missing method .ctor in assembly /home/cumulus/CumulusMX.exe, type System.Runtime.CompilerServices.ExtensionAttribute
Can't find custom attr constructor image: /home/cumulus/CumulusMX.exe mtoken: 0x0a000136

Unhandled Exception: System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'CumulusMX'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'CumulusMX'.
Raspi Model B Revision 2.0 - Raspbian Wheezy
CMX does not start, content in MXdiags:
2015-01-26 21:29:53.495 ========================== Cumulus MX starting ==========================
2015-01-26 21:29:53.580 Cumulus MX v.3.0.0 build 3015
2015-01-26 21:29:53.633 Platform: Unix
2015-01-26 21:29:53.633 Current culture: English (United Kingdom)
2015-01-26 21:29:53.642 26/01/2015 21:29:53
2015-01-26 21:29:53.651 Data path = data/
2015-01-26 21:29:53.710 Creating backup folder backup/20150126212953/
2015-01-26 21:29:53.953 Reading Cumulus.ini file
2015-01-26 21:29:54.349 ASM=10 AST=00:10:00
2015-01-26 21:29:54.401 Cumulus start date: 11.04.2009
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.DoSunriseAndSunset () [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus..ctor (Int32 port) [0x00000] in <filename unknown>:0
at ?.Main (System.String[] args) [0x00000] in <filename unknown>:0
Win7 X64 Ultimate SP1
CMX does not start, content in MXdiags:
2015-01-27 10:24:26.481 ========================== Cumulus MX starting ==========================
2015-01-27 10:24:26.483 Cumulus MX v.3.0.0 build 3015
2015-01-27 10:24:26.500 Platform: Win32NT
2015-01-27 10:24:26.500 Current culture: Deutsch (Deutschland)
2015-01-27 10:24:26.501 27.01.2015 10:24:26
2015-01-27 10:24:26.501 Data path = data\
2015-01-27 10:24:26.502 Creating backup folder backup\20150127102426\
2015-01-27 10:24:26.537 Reading Cumulus.ini file
2015-01-27 10:24:26.542 ASM=10 AST=00:10:00
2015-01-27 10:24:26.545 Cumulus start date: 11.04.2009
System.FormatException: Die Eingabezeichenfolge hat das falsche Format.
bei System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
bei System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
bei System.Convert.ToInt32(String value)
bei CumulusMX.Cumulus.DoSunriseAndSunset() in c:\Users\steve\Documents\Visual Studio 2013\Projects\CumulusMX\CumulusMX\Cumulus.cs:Zeile 1668.
bei CumulusMX.Cumulus..ctor(Int32 port) in c:\Users\steve\Documents\Visual Studio 2013\Projects\CumulusMX\CumulusMX\Cumulus.cs:Zeile 853.
bei ?.Main(String[] args) in c:\Users\steve\Documents\Visual Studio 2013\Projects\CumulusMX\CumulusMX\Program.cs:Zeile 97.
If you need more info or translations, ask for it.
tumutbound
Posts: 154
Joined: Thu 11 Mar 2010 11:03 am
Weather Station: WH1081
Operating System: Linux, Raspberry Pi (Wheezy)
Location: Port Huon, Tasmania , Australia
Contact:

Re: No luck at all running CMX

Post by tumutbound »

What version of mono are you running (mono -V)?
I initially had problems running it on an RPi but it's worked fine after I made sure I was running the latest mono and all OS updates.
My weather
CumulusMX (3036)
Raspberry Pi: Wheezy
FineOffset WH1081
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: No luck at all running CMX

Post by water01 »

It looks more like you haven't installed Mono as per intructions for Linux etc. and in Windows you need .Net 4.5 at a minimum.
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: No luck at all running CMX

Post by steve »

The first one does look like a problem with Mono.

For the other two, have you set your co-ordinates correctly? Can you actually access the user interface in your browser? Are you trying to use data from Cumulus 1? If so, you will have to make sure your system settings are the same for MX as they were in C1. Note that there is a problem with Mono on the Pi if you try to use decimal commas.
Steve
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: No luck at all running CMX

Post by haeb »

@tumutbound
mono -V
raspi: 3.2.8
ubuntu: 2.10.8.1
both are the latest versions for the distribution

@water01
on win7 Net 4.5.1 is alread installed

@steve
i can't access anything because it does not start at all. The terminal shows:
"Press Enter to terminate"

I tried to run it with and without C1 data in the folder data and i use the Cumulus.ini of C1.

What do you mean with 'if you try to use decimal commas'?
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: No luck at all running CMX

Post by steve »

haeb wrote: ubuntu: 2.10.8.1
I think you will need a later version than that, 2.10.8 is very old.
I tried to run it with and without C1 data in the folder data and i use the Cumulus.ini of C1.
But have you tried a completely clean installation?
What do you mean with 'if you try to use decimal commas'?
If your environment is set to use decimal commas on the Pi, Mono will not work as it cannot parse numbers with a comma in them. Do you use commas for decimals in Germany - perhaps not? I'm assuming that's where you are?
Steve
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: No luck at all running CMX

Post by haeb »

Hi Steve,
I think you will need a later version than that, 2.10.8 is very old.

O.K. forget the Ubuntu 12 for the moment and concentrate to raspi which is my favourite for running CMX.
But have you tried a completely clean installation?
I have tried also a clean installation.

Yes, Germany (yes we use commas for decimals here) but on the raspi my locales are set to GB.UTF-8; so no comma for decimals.

Regards Horst
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: No luck at all running CMX

Post by steve »

Could you show me the MXdiags file for a completely clean installation on the Pi, please?
Steve
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: No luck at all running CMX

Post by water01 »

A silly question, but you do understand that Cumulus MX does not have a console and you use a browser to access the frontend interface, hence the details of the port when Cumulus MX starts.
David
Image
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: No luck at all running CMX

Post by haeb »

Hi STeve,
steve wrote:Could you show me the MXdiags file for a completely clean installation on the Pi, please?
Here it is, but its the same than with the data.
2015-01-27 11:57:02.397 ========================== Cumulus MX starting ==========================
2015-01-27 11:57:03.234 Cumulus MX v.3.0.0 build 3015
2015-01-27 11:57:03.276 Platform: Unix
2015-01-27 11:57:03.288 Current culture: English (United Kingdom)
2015-01-27 11:57:03.295 27/01/2015 11:57:03
2015-01-27 11:57:03.313 Data path = data/
2015-01-27 11:57:03.389 Creating backup folder backup/20150127115703/
2015-01-27 11:57:03.645 Reading Cumulus.ini file
2015-01-27 11:57:03.894 ASM=10 AST=00:10:00
2015-01-27 11:57:03.918 Cumulus start date: 11.04.2009
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.DoSunriseAndSunset () [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus..ctor (Int32 port) [0x00000] in <filename unknown>:0
at ?.Main (System.String[] args) [0x00000] in <filename unknown>:0
Regards Horst
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: No luck at all running CMX

Post by haeb »

Hi David,
water01 wrote:A silly question, but you do understand that Cumulus MX does not have a console and you use a browser to access the frontend interface, hence the details of the port when Cumulus MX starts.
yes i do - but CMX is not starting it displays:
Current culture: English (United Kingdom)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3015
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.DoSunriseAndSunset () [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus..ctor (Int32 port) [0x00000] in <filename unknown>:0
at \ue011.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
Regards Horst
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: No luck at all running CMX

Post by steve »

haeb wrote:2015-01-27 11:57:03.918 Cumulus start date: 11.04.2009
I don't understand where it is getting this from if it is a clean installation. It reads it from Cumulus.ini, and if that isn't present, it uses today's date.
Steve
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: No luck at all running CMX

Post by haeb »

Hi Steve,

it was NOT totally clean, it used the C1 ini :-(
steve wrote:
haeb wrote:2015-01-27 11:57:03.918 Cumulus start date: 11.04.2009
I don't understand where it is getting this from if it is a clean installation. It reads it from Cumulus.ini, and if that isn't present, it uses today's date.
Now CMX is running on raspi. How can i 'repair' my ini?

Regards Horst
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: No luck at all running CMX

Post by steve »

The problem is likely to be the known issue that Cumulus 1 uses decimal commas in Cumulus.ini (and all of the other ini files). You would need to change those to use decimal points. And you would probably also need to change any date and time formats so they match the settings on your Pi.
Steve
haeb
Posts: 36
Joined: Tue 27 Jul 2010 1:08 pm
Weather Station: Fine Offset
Operating System: Win10 X64
Location: Germany

Re: No luck at all running CMX

Post by haeb »

Hi Steve,
steve wrote:And you would probably also need to change any date and time formats so they match the settings on your Pi.
...done - it runs with old data - prefect, thank you Steve. If somebody needs the (very easy) converting script (bash): ask.

Now im ready to explore.

Regards Horst
Locked