Page 1 of 1

b4067 clobbered Cumulus.ini .. b4069 update worked..

Posted: Tue 31 Dec 2024 5:29 pm
by saratogaWX
Had another issue with Cumulus.ini getting zeroed out with b4067 (Win11 24H2 updated).

Code: Select all

Cumulus MX v.4.3.2 build 4067
Working Dir: C:\CumulusMX\
System.IO.IOException: The supplied user buffer is not valid for the requested operation. : 'C:\CumulusMX\Cumulus.ini'
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.StreamWriter.ValidateArgsAndOpenPath(String path, Boolean append, Encoding encoding, Int32 bufferSize)
   at System.IO.StreamWriter..ctor(String path)
   at CumulusMX.IniFile.Flush()
   at CumulusMX.Cumulus.WriteIniFile()
   at CumulusMX.Cumulus.ReadIniFile()
   at CumulusMX.Cumulus.Initialise(Int32 HTTPport, Boolean DebugEnabled, String startParms)
   at CumulusMX.Program.RunAsAConsole(Int32 port, Boolean debug)
   at CumulusMX.Program.Main(String[] args)
   at CumulusMX.Program.<Main>(String[] args)
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
after install of CumulusMXb4069.zip and replace of Cumulus.ini it worked :D

Code: Select all

Cumulus MX v.4.3.2 build 4069
Working Dir: C:\CumulusMX\

Cumulus running at: http://localhost:8998/
                    http://192.168.1.104:8998/
                    http://192.168.111.1:8998/
                    http://192.168.226.1:8998/

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

Opening station type 0 - Davis Vantage Pro
Last update: 2024-12-31T08:45:00
Connected to station
12/31/2024 9:14:48 AM
Type Ctrl-C to terminate

Downloading Archive Data
 - processed 100%
Downloading Archive Data
 - processed 100%
Connecting real time FTP
Normal running
The files replaced were:

Code: Select all

12/28/2024  11:15 AM            48,906 CumulusMX.deps.json
12/28/2024  11:15 AM         2,737,664 CumulusMX.dll
12/14/2024  12:53 PM               811 CumulusMX.dll.config
12/28/2024  11:15 AM           184,320 CumulusMX.exe
12/28/2024  11:15 AM               523 CumulusMX.runtimeconfig.json
12/28/2024  11:15 AM           156,160 CumulusMX32.exe
Thanks, Mark! The test update fixed the issue on my system.

Re: b4067 clobbered Cumulus.ini .. b4069 update worked..

Posted: Wed 01 Jan 2025 1:35 pm
by mcrossley
Great, thanks for confirming Ken.