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 4019) - 03 April 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

Strange Error when loading MX with WH1081

Discussion specific to Fine Offset and similar rebadged weather stations
Post Reply
StormCapture
Posts: 33
Joined: Tue 16 Feb 2016 11:16 am
Weather Station: Davis Pro 2 Plus / WH1081
Operating System: Windows 10 Professional
Location: UleyBury South Australia

Strange Error when loading MX with WH1081

Post by StormCapture »

Hi All,

After my Raspberry Pi 2 gave up after 9 years of service, I have moved onto a Raspberry Pi 3b+ running Raspian Buster but I have run into a problem that I cannot work out why.

I have issued both sudo apt-get update/upgrade and installed mono-complete with no issues but when i go to terminate sudo mono CumulusMX.exe after setting the station type to Fine Offset and doing the restart that is requried, it comes up with a bunch of errors within the terminal:

Current culture: English (Australia)
Serial: 74FECEABEB2DA94ECB5EBA0CD11A7137
Cumulus MX v.3.0.0 build 3043
Today.ini = data/today.ini
Last update=2020-04-22T10:33:00
Looking for Fine Offset station, VendorID=0x1941 ProductID=0x8021
System.MissingMethodException: Method 'Mono.Unix.Native.Syscall.uname' not found.
at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x00852] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at System.Type.InvokeMember (System.String name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args, System.Globalization.CultureInfo culture) [0x00000] in <d0e12f672b88444ab4b6d9b2ecf20142>:0
at HidSharp.Platform.Linux.NativeMethods.uname (System.String& sysname, System.String& release, System.String& machine) [0x00047] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
at HidSharp.Platform.Linux.NativeMethods.uname (System.String& sysname, System.Version& release, System.String& machine) [0x00004] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
at HidSharp.Platform.Linux.LinuxHidManager.get_IsSupported () [0x00002] in <ae7920a0f15c43d292a5cc3a2fd0a936>:0
Not supported
Fine Offset station not found
Cumulus running at: http://*:8998/
(Replace * with any IP address on this machine, or localhost)
Starting web socket server on port 8002
22/04/2020 7:50:53 PM
Type Ctrl-C to terminate
^C
Cumulus terminating
Program exit


I have done everything from a complete clean install but it still happens, even with the latest build. Any reason why? It runs fine on my Win 10 Pro laptop but only seems to crash on the Pi and only for the Fine Offset series. Main reason why I have this is for a backup should my Pro 2 fail.
freddie
Posts: 2476
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Strange Error when loading MX with WH1081

Post by freddie »

StormCapture wrote: Wed 22 Apr 2020 10:41 amSystem.MissingMethodException: Method 'Mono.Unix.Native.Syscall.uname' not found.
Looks like a problem with your mono install - "uname" should definitely be there!

What does

Code: Select all

mono --version
show?
Freddie
Image
StormCapture
Posts: 33
Joined: Tue 16 Feb 2016 11:16 am
Weather Station: Davis Pro 2 Plus / WH1081
Operating System: Windows 10 Professional
Location: UleyBury South Australia

Re: Strange Error when loading MX with WH1081

Post by StormCapture »

I am currently running:

Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1)

TLS: normal
SIGSEGV: normal
Notifications: epoll
Architecture: armel, vfp+hard
Disabled: none
Misc: softbug
LLVM: Supported, not enabled
GC: sgen
User avatar
mcrossley
Posts: 12763
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Strange Error when loading MX with WH1081

Post by mcrossley »

And does the command line uname command work OK?

Code: Select all

uname -a
StormCapture
Posts: 33
Joined: Tue 16 Feb 2016 11:16 am
Weather Station: Davis Pro 2 Plus / WH1081
Operating System: Windows 10 Professional
Location: UleyBury South Australia

Re: Strange Error when loading MX with WH1081

Post by StormCapture »

I ran an update so now running version 6.8.0.105 and still have the issue.

Regarding the uname -a

Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST armv7l GNU/
StormCapture
Posts: 33
Joined: Tue 16 Feb 2016 11:16 am
Weather Station: Davis Pro 2 Plus / WH1081
Operating System: Windows 10 Professional
Location: UleyBury South Australia

Re: Strange Error when loading MX with WH1081

Post by StormCapture »

It just seems to be with the Fine Offset series, i plugged the Davis into the one that is playing up and works like a charm.
User avatar
mcrossley
Posts: 12763
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Strange Error when loading MX with WH1081

Post by mcrossley »

The error is originating in the Hidsharp package that handles the USB Comms for the Fine Offset stations. But uname is a pretty basic function of Linux systems so not sure why it isn't in the Mono package. I have a fine offset console here I can try on a spare pi this evening. But I'm pretty sure other people are running fo stations on pi's...
User avatar
mcrossley
Posts: 12763
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Strange Error when loading MX with WH1081

Post by mcrossley »

OK, I just tried it on a Raspberry Pi 3b, running Stretch (9.11) and Mono 6.8.0.105 - No problem at all, found the Fine Offset straight away and started running. :?
Big Daddy
Posts: 265
Joined: Tue 10 Sep 2013 8:40 pm
Weather Station: Ecowitt GW1003 (GW1000)
Operating System: Raspbian 10 (Buster) / Mono 6.12
Location: Freiston, Lincolnshire, UK
Contact:

Re: Strange Error when loading MX with WH1081

Post by Big Daddy »

I have been running a FO (Maplin) on a 3B for a while and never seen any issues apart from wild readings when I sometimes have to reset the display due to lockups.

I am running MONO:

Mono JIT compiler version 6.8.0.105 (tarball Tue Feb 4 21:51:48 UTC 2020)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: yes(610)
Suspend: preemptive
GC: sgen (concurrent by default)

And Raspbian...
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
User avatar
mcrossley
Posts: 12763
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Strange Error when loading MX with WH1081

Post by mcrossley »

Just tried it on a Buster install with mono 6.8 myself, and it worked OK too. Not sure what else to suggest as I'm not a great Linux expert.
freddie
Posts: 2476
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Strange Error when loading MX with WH1081

Post by freddie »

Can you redo your image - i.e. start again?
Freddie
Image
StormCapture
Posts: 33
Joined: Tue 16 Feb 2016 11:16 am
Weather Station: Davis Pro 2 Plus / WH1081
Operating System: Windows 10 Professional
Location: UleyBury South Australia

Re: Strange Error when loading MX with WH1081

Post by StormCapture »

Yeah I might have to re image it all and start over, knowing that it works well on your side.

I’ll give an update on how things have progressed, hopefully I can get the Pi to read it
StormCapture
Posts: 33
Joined: Tue 16 Feb 2016 11:16 am
Weather Station: Davis Pro 2 Plus / WH1081
Operating System: Windows 10 Professional
Location: UleyBury South Australia

Re: Strange Error when loading MX with WH1081

Post by StormCapture »

Finally some success with it all thankfully, done a few reboots to make sure it was not a one off thing but sure enough, it works.

I followed the instructions on another page on this forum regarding Mono, sounds like it can be a funny tool.

Now i have to deal with the "Connection is Closed" for the Dashboard and Now pages so I will read into that at a later time.
User avatar
mcrossley
Posts: 12763
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Strange Error when loading MX with WH1081

Post by mcrossley »

Good news.

There shouldn't be any outstanding issues with Mono, afaik they are all resolved - except for the Moon image rotation in the southern hemisphere which does not work with Mono 6.0 thru to the latest 6.8.0, only version 5.x works correctly atm.
Post Reply