Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.2.1 (build 4043) - 19 October 2024

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

CMXv4 .NET8 Windows 10

From Cumulus MX version 3 build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since, and has recently released Cumulus MX version 4. 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

User avatar
Dador
Posts: 286
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CMXv4 .NET8 Windows 10

Post by Dador »

Okay, I've made progress.
I installed version 8.0.0 and something happened.

Code: Select all

PS C:\Windows\system32> cd c:\CumulusMXv4
PS C:\CumulusMXv4> SET DOTNET_DbgEnableMiniDump=1
>> SET DOTNET_DbgMiniDumpType=1
>> SET DOTNET_DbgMiniDumpName=C:\CumulusMXv4\coredump.CMX
>> .\CumulusMX.exe
Cumulus MX v.4.0.0 build 4017
Working Dir: C:\CumulusMXv4\
Cumulus is already running - terminating
Program exit
Cumulus terminating
Cumulus stopped
PS C:\CumulusMXv4>
A Uniqueld.txt file with the contents was created in the cumulus folder

Code: Select all

TraVcKY4dsHYgRMBAfliTaTLat0SiSZCKnOeON1S/yA=
Currently, CMXv4 starts, but then shuts down.
At least, that's something 8-)

Edit:
I tested versions 8.0.0, 8.0.1, 8.0.2 and CMXv4 starts and then turns off. Version 8.0.3 causes fatal error.
User avatar
HansR
Posts: 6384
Joined: Sat 20 Oct 2012 6:53 am
Weather Station: GW1100 (WS80/WH40)
Operating System: Raspberry OS/Bookworm
Location: Wagenborgen (NL)
Contact:

Re: CMXv4 .NET8 Windows 10

Post by HansR »

Could you post the corresponding MXdiags logfile?
And possibly also the coredump? Thnx.
Hans

https://meteo-wagenborgen.nl
CMX build 4039+ ● RPi 4B ● Linux 6.6.51+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
User avatar
Dador
Posts: 286
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CMXv4 .NET8 Windows 10

Post by Dador »

My God,
works :!: Finaly :!:

It's all because of the automatically downloaded version 8.0.3, which caused an error. I'm currently running on 8.0.2.

So much writing and fiddling.
Time to open a beer.
Thanks gentlemen for your help.

Ehh...
broadstairs
Posts: 1002
Joined: Thu 14 Aug 2008 7:17 am
Weather Station: Ecowitt GW1103/GW1200/GW2000
Operating System: Linux openSUSE
Location: Broadstairs, Kent, UK
Contact:

Re: CMXv4 .NET8 Windows 10

Post by broadstairs »

Interesting as I checked the version of .NET I have installed from the Microsoft repository I use for installing on openSUSE Leap 15.5 shows only v8.0.2 so I do wonder if there is a problem with v8.0.3 on Linux? I'll keep an eye on that and see if/when it changes to v8.0.3.

Stuart
Currently running CMX V4 4028
User avatar
philpugh
Posts: 425
Joined: Tue 24 May 2011 8:34 am
Weather Station: See Signature
Operating System: Debian 12 (RPi5)
Location: Antrobus, Cheshire, UK
Contact:

Re: CMXv4 .NET8 Windows 10

Post by philpugh »

I'm running dotnet 8.0.3 on a RPi5 and three instances of CumulusMX 4b4017 without any issues.
System uptime: 5 days, 3 hours, 57 minutes
System: Raspberry Pi 5 Model B Rev 1.0
Processor: Computer
Nr of processors: 4
Processor Temperature: 46.3 °C
OS: Linux 6.1.0-rpi8-rpi-2712 aarch64
Description: Debian GNU/Linux 12 (bookworm)
Microsoft.NETCore.App 8.0.3 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Phil Pugh
GW1100 + WH65/WH57/WH31;GW1100 + WS68/WH40A (also with HP25xx console); GW2001 WittBoy
CumulusMX V4 / CUtils V7
Raspberry Pi 5 64bit
https://goosegate.uk/
lasybird
Posts: 20
Joined: Thu 23 Jul 2015 8:19 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Senovo

Re: CMXv4 .NET8 Windows 10

Post by lasybird »

Hello.
I have a question about running CMX4 on Windows 10 too.

Is it possible that CMX4 doesn't work on a 32 bit system?

I have an old laptop too. It has a 64-bit processor, but a 32-bit system was installed.
When I run the program, I get an answer that the program does not work on this system.
Andrej
User avatar
Dador
Posts: 286
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CMXv4 .NET8 Windows 10

Post by Dador »

lasybird wrote: Tue 14 May 2024 4:34 pm Hello.
I have a question about running CMX4 on Windows 10 too.

Is it possible that CMX4 doesn't work on a 32 bit system?

I have an old laptop too. It has a 64-bit processor, but a 32-bit system was installed.
When I run the program, I get an answer that the program does not work on this system.
Andrej
Go to the page:

https://dotnet.microsoft.com/en-us/download/dotnet/8.0

and click on the link as in the picture.
net805.png
The installer will download and install like a regular program.
If that doesn't help, try version 8.0.4 or lower.
If you read the thread, you know that for me only one version caused an error.
You do not have the required permissions to view the files attached to this post.
lasybird
Posts: 20
Joined: Thu 23 Jul 2015 8:19 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Senovo

Re: CMXv4 .NET8 Windows 10

Post by lasybird »

It still doesn't work. I think I will have to install the 64 bit version of windows because I have a 64 bit processor, but a 32 bit windows system.
User avatar
Dador
Posts: 286
Joined: Thu 24 Nov 2011 2:22 pm
Weather Station: Davis VP2 Plus & Ecowitt
Operating System: Windows 10
Location: Rybnik, Poland
Contact:

Re: CMXv4 .NET8 Windows 10

Post by Dador »

Of course, this is one option. Rebuilding the system is sometimes the best idea.

Have you tried running CMXv4 in compatibility mode?
lasybird
Posts: 20
Joined: Thu 23 Jul 2015 8:19 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Senovo

Re: CMXv4 .NET8 Windows 10

Post by lasybird »

Yes, I tried it on windows 10 64 bit system and it works without any problem.
I will obviously have to reinstall windows.
User avatar
mcrossley
Posts: 13622
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CMXv4 .NET8 Windows 10

Post by mcrossley »

Hmm, Cumulus MX is compiled as "Any CPU" which means it will run on both 32 and 64 bit systems. Most Raspberry Pi's it runs on are probably running the 32 bit OS.
User avatar
mcrossley
Posts: 13622
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: CMXv4 .NET8 Windows 10

Post by mcrossley »

Could you try running CMX using the command line...

Code: Select all

dotnet CumulusMX.dll
And see if that works?
lasybird
Posts: 20
Joined: Thu 23 Jul 2015 8:19 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Senovo

Re: CMXv4 .NET8 Windows 10

Post by lasybird »

Very strange. If I run cumulusmx with the command "cumulusmx4.exe" I get the following output ( in cmd):
"This version of C:\CumulusMXv4\CumulusMX.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher."


When i use powershell i get:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\> cd cumulusmxv4
PS C:\cumulusmxv4> dotnet cumulusmx.dll
Cumulus MX v.4.0.0 build 4022
Working Dir: C:\cumulusmxv4\

Cumulus running at: http://localhost:8998/


Open the admin interface by entering one of the above URLs into a web browser.

Opening station type 1 - Davis Vantage Pro2
Last update: 2024-05-15T16:05:00
Connected to station
15.05.2024 16:05:42
Type Ctrl-C to terminate

Downloading Archive Data
- No Archive data available
Downloading Archive Data
- No Archive data available
Connecting real time FTP
Normal running

I dont understand anymore. Does this mean it works?

Does this mean I have to do everything in powershell? I mean data transfer and so on?
How do I start the program then? In the previous version, the program started by itself, because I put a shortcut to the exe file in the startup.

Sometimes it happens that the computer restarts itself, and that's how the Cumulus program started by itself and started working.

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

Re: CMXv4 .NET8 Windows 10

Post by mcrossley »

lasybird wrote: Wed 15 May 2024 2:13 pm Very strange. If I run cumulusmx with the command "cumulusmx4.exe" I get the following output ( in cmd):
"This version of C:\CumulusMXv4\CumulusMX.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher."


When i use powershell i get:
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\> cd cumulusmxv4
PS C:\cumulusmxv4> dotnet cumulusmx.dll
Cumulus MX v.4.0.0 build 4022
Working Dir: C:\cumulusmxv4\

Cumulus running at: http://localhost:8998/


Open the admin interface by entering one of the above URLs into a web browser.

Opening station type 1 - Davis Vantage Pro2
Last update: 2024-05-15T16:05:00
Connected to station
15.05.2024 16:05:42
Type Ctrl-C to terminate

Downloading Archive Data
- No Archive data available
Downloading Archive Data
- No Archive data available
Connecting real time FTP
Normal running

I dont understand anymore. Does this mean it works?
Yes, that shows Cumulus MX is running.
I hadn't realised before, but the CumulusMX.exe is a 64bit only program, it is a limitation of .NET Core and later. Version 3 used .Net Framework that created a .exe that would run on both 32 and 64 bit. Because of this you must run the CumulusMX.dll directly using the dotnet executable (which is in effect what the Cumulus.exe does in the background).
lasybird wrote: Wed 15 May 2024 2:13 pm Does this mean I have to do everything in powershell? I mean data transfer and so on?
How do I start the program then? In the previous version, the program started by itself, because I put a shortcut to the exe file in the startup.
You can use PowerShell or the cmd prompt either will work.
I'm not sure what you mean by "data transfer", with MX running as above it will transfer the data from your station once you have configured it.
You can start it the same way was you did v3 if you like. Create a shortcut in the start-up folder that includes the command line you used above
lasybird
Posts: 20
Joined: Thu 23 Jul 2015 8:19 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10
Location: Senovo

Re: CMXv4 .NET8 Windows 10

Post by lasybird »

Thank u.

Are you going to make CumulusMX.exe compatible with 32 bit system? Also, MigrateData3to4.exe does not work on a 32-bit system.

Does this mean that because of .NET 8, CumulusMX.exe will no longer work on a 32 bit system?


I tried running the program in CMD prompt several times but it doesn't work, work only in Powershell. So i cant create a shortcut in the start - up folder.

Thanks.
Andrej
Post Reply