Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.5 (build 3282) - 23 February 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 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

CumulusMX doesn't run

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
SeGo
Posts: 7
Joined: Mon 22 Sep 2014 8:49 pm
Weather Station: Vantage Pro2
Operating System: Windows 7
Location: Badajoz

CumulusMX doesn't run

Post by SeGo »

Hello. I have an error message when starting CumulusMX. It was working without issues:
2022-05-18 11:02:26.547 ========================== Cumulus MX starting ==========================
2022-05-18 11:02:26.789 Command line: /home/pi/CumulusMX/CumulusMX.exe
2022-05-18 11:02:26.790 Cumulus MX v.3.16.1 build 3183
2022-05-18 11:02:26.978 Mono version: 6.8.0.105 (Debian 6.8.0.105+dfsg-3.2 Mon Jul 12 07:04:24 UTC 2021)
2022-05-18 11:02:27.215 Platform: Unix
2022-05-18 11:02:27.338 OS version: Unix 5.15.32.0
2022-05-18 11:02:27.368 Current culture: English (United Kingdom) [en-GB]
2022-05-18 11:02:27.374 Checking required folders
2022-05-18 11:02:29.626 Reading Cumulus.ini file
2022-05-18 11:02:31.465 AvgSpdMins=10 AvgSpdTime=00:10:00
2022-05-18 11:02:31.761 Cumulus start date: 16 May 2022
2022-05-18 11:02:32.643 !!! Unhandled Exception !!!
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00014] in <d22af090bceb4be792f53595cf074724>:0
at CumulusMX.Utils.GetIpWithDefaultGateway () [0x00101] in <97834895e3104302abf6a91184c2a0c5>:0
at CumulusMX.Cumulus.ReadIniFile () [0x019fa] in <97834895e3104302abf6a91184c2a0c5>:0
at CumulusMX.Cumulus..ctor (System.Int32 HTTPport, System.Boolean DebugEnabled, System.String startParms) [0x01a2c] in <97834895e3104302abf6a91184c2a0c5>:0
at CumulusMX.Program.RunAsAConsole (System.Int32 port, System.Boolean debug) [0x00048] in <97834895e3104302abf6a91184c2a0c5>:0
at CumulusMX.Program.Main (System.String[] args) [0x0056b] in <97834895e3104302abf6a91184c2a0c5>:0


I don't know how to make it work again.

Thanks!
User avatar
mcrossley
Posts: 12641
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX doesn't run

Post by mcrossley »

I'd have a look at your Cumulus.ini file. Is it corrupt? Try restoring it from a back-up.
SeGo
Posts: 7
Joined: Mon 22 Sep 2014 8:49 pm
Weather Station: Vantage Pro2
Operating System: Windows 7
Location: Badajoz

Re: CumulusMX doesn't run

Post by SeGo »

mcrossley wrote: Thu 19 May 2022 1:09 pm I'd have a look at your Cumulus.ini file. Is it corrupt? Try restoring it from a back-up.
I restored it and shows the same error. I downloaded a previous version and shows it too. I run it in the first Raspberry Pi (2011 model). May be too old nowadays?
User avatar
mcrossley
Posts: 12641
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CumulusMX doesn't run

Post by mcrossley »

Has your rPi got a network interface, and if so is it configured with a default gateway address?

The crash is happening in the code that tries to determine the local IP address of your machine. I'll fix the crash for the next build, but adding a default gateway address should fix it for now?
SeGo
Posts: 7
Joined: Mon 22 Sep 2014 8:49 pm
Weather Station: Vantage Pro2
Operating System: Windows 7
Location: Badajoz

Re: CumulusMX doesn't run

Post by SeGo »

mcrossley wrote: Thu 19 May 2022 10:45 pm Has your rPi got a network interface, and if so is it configured with a default gateway address?

The crash is happening in the code that tries to determine the local IP address of your machine. I'll fix the crash for the next build, but adding a default gateway address should fix it for now?
I'm going to restore the IP configuration. This will be the problem. Thanks!
Post Reply