Page 1 of 1

Raspberry Pi 3 problem with mono ?

Posted: Thu 03 May 2018 6:01 am
by Petr78
Hello,

I run CumulusMX on Rasberry more than 2 years. I had to reinstal Rasbian because of broken Micro SDXC card. I reinstalled Raspbian and LAMP server and mono. Cumulus db I run from SAN therefore it was not affected by the damage.

But if I run sudo mono CumulusMX.exe with my WMR 200 meteo station it returns this :

System.MissingMethodException: Mono.Unix.Native.Syscall.uname Due to: Attempted to access a missing member.
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) [0x0070c] in <ffeb4e7f97b740c59b05d4204fb4f73a>: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 <ffeb4e7f97b740c59b05d4204fb4f73a>: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
WMR200 station not found!

Can you help me please what is wrong ?

BR,

Petr

Re: Raspberry Pi 3 problem with mono ?

Posted: Thu 03 May 2018 6:04 am
by Petr78
I have mono in new version - apt-get install mono returns :
mono-complete is already the newest version (5.10.1.47-0xamarin4+raspbian8b1).

Re: Raspberry Pi 3 problem with mono ?

Posted: Thu 03 May 2018 6:44 am
by steve
Only older versions of Mono work with MX and USB stations. See the MX FAQ, and many other posts in the forum.

Re: Raspberry Pi 3 problem with mono ?

Posted: Sun 06 May 2018 9:46 pm
by ExperiMentor
It's a right pain trying to get older versions of mono from the official website. After a couple of days I found the following which (a) works (b) works great and (c) avoid the long install time as the download is pre-compiled.

See https://cumulus.hosiene.co.uk/viewtopic.p ... 7&start=65

By the way, you don't need an RPi 3 to run Cumulus - it's hugely overpowered. I'd recommend a Pi Zero W. Mine is driving this - both the RapidFire update and the webcam uploads.

https://www.wunderground.com/personal-w ... =IBlliesb3

Re: Raspberry Pi 3 problem with mono ?

Posted: Mon 07 May 2018 5:58 am
by Petr78
Thank you guys I appreciated your help.
I am not experienced linux user therefore I downgraded Raspbian to Jessie and I install mono in older version.

I run CumulusMX without any problem :-)