When I close the DOS box with with Ctrl-C it works fine 50% of the time, but others I get an message briefly displayed before the box closes. See below the brief message of 5 lines taken from MXdiags at 2019-08-22 20:57:22.204.
Does this mean anything or can I ignore it?
Exiting system due to external CTRL-C, or process kill, or shutdown
2019-08-22 20:57:22.117 Cumulus closing
2019-08-22 20:57:22.146 Writing Cumulus.ini file
2019-08-22 20:57:22.171 Closing connection
2019-08-22 20:57:22.204 System.ObjectDisposedException: Safe handle has been closed
at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success)
at System.StubHelpers.StubHelpers.SafeHandleAddRef(SafeHandle pHandle, Boolean& success)
at Microsoft.Win32.UnsafeNativeMethods.SetCommMask(SafeFileHandle hFile, Int32 dwEvtMask)
at System.IO.Ports.SerialStream.Dispose(Boolean disposing)
at System.IO.Ports.SerialStream.Finalize()
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
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
Error when closing CumulusMX
Moderator: mcrossley
-
- Posts: 884
- Joined: Sat 16 Jul 2016 11:59 pm
- Weather Station: Davis VP2+ & GW1000 (Standalone)
- Operating System: Win10 Pro / rPi Buster
- Location: Australia
Re: Error when closing CumulusMX
Seems like your site is not displaying correctly.
Almost as if the css is missing.
Have occasionally seen what you mention, but usually only after long uptimes.
My MX is currently scheduled to shutdown for a minute twice a day for weatherlink to update & haven't seen that issue in many months.
Almost as if the css is missing.
Have occasionally seen what you mention, but usually only after long uptimes.
My MX is currently scheduled to shutdown for a minute twice a day for weatherlink to update & haven't seen that issue in many months.
:Now: :Today/Yesterday:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
Main Station Davis VP2+ Running Via Win10 Pro.
Secondary Stations, Ecowitt HP2551/GW1000 Via rPi 3 & 4 Running Buster GUI.
:Local Inverell Ecowitt Station: :Remote Ashford Ecowitt Station:
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Error when closing CumulusMX
It's just a bit of code that doesn't check if the serial port is still available before it tries to read from it. When MX is shutting down the port gets disconnected before the thread reading from it terminates. It's on the todo list to fix, but the list is long!
-
- Posts: 214
- Joined: Tue 24 Nov 2015 11:30 pm
- Weather Station: Fine Offset & Davis Vantage Vue
- Operating System: Windows 10; Raspbian Buster
- Location: Switzerland
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Error when closing CumulusMX
Not me, any donation links (are there still any?) will belong Steve I guess.
- LAdrain
- Posts: 23
- Joined: Tue 03 Jul 2012 5:22 pm
- Weather Station: davis vantage vue
- Operating System: Windows 10
- Location: Shropshire
- Contact:
Re: Error when closing CumulusMX
Many thanks Mark, Version 3.0.1 - build 3051 has fixed my problems.
- mcrossley
- Posts: 12695
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Error when closing CumulusMX
I did put a couple of checks in b3051 - glad they are working OK for you.