If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Raspberry PI 3 (fine offset station)

Discussion of version 3 of Cumulus, which runs on Windows, Linux, and OS X. All Cumulus MX queries in here, please.
darkhorse
Posts: 4
Joined: Wed May 03, 2017 2:18 am
Weather Station: Fine Offset wh1080
Operating System: Raspberry PI

Raspberry PI 3 (fine offset station)

Postby darkhorse » Thu May 04, 2017 3:05 am

Starting Cumlulus MX receiving the following error:

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) [0x008a0] in <dbb16e0bacdc4a0f87478e401bc29b6c>: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 <dbb16e0bacdc4a0f87478e401bc29b6c>: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



Using debian_version 8.0

Installed Mono:
root@raspberrypi:/etc# mono -V
Mono JIT compiler version 4.8.1 (Stable 4.8.1.0/22a39d7 Wed Apr 12 12:47:01 UTC 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. http://www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen

I have a Offset Station which has worked fine on Windows with Cumulus Version 1.

Thanks for assistance.

User avatar
steve
Cumulus Author
Posts: 26141
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Raspberry PI 3 (fine offset station)

Postby steve » Thu May 04, 2017 8:50 am

You apparently don't have a complete installation of Mono - did you install the mono-complete package? But as mentioned in the MX FAQ, some versions of Mono (notably 4.2.x onwards) have some kind of issue with MX where USB stations are not detected. You will probably need to install a version which works, e.g. 3.2.8 or one of the 4.0.x versions.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

darkhorse
Posts: 4
Joined: Wed May 03, 2017 2:18 am
Weather Station: Fine Offset wh1080
Operating System: Raspberry PI

Re: Raspberry PI 3 (fine offset station)

Postby darkhorse » Thu May 04, 2017 10:17 pm

Thanks Steve.

I will attempt to remove the Current Mono Installation.
Removing Mono was not easy needed to run the following:

Code: Select all

whereis mono

mono: /usr/bin/mono /usr/lib/mono /etc/mono /usr/share/mono /usr/share/man/man1/mono.1.gz
then

Code: Select all

rm /usr/bin/mono /usr/lib/mono /etc/mono /usr/share/mono


Only then was it removed

Code: Select all

root@raspberrypi:/usr/lib# mono -V
-su: /usr/bin/mono: No such file or directory


What is the easiest way to install an older version of Mono?

User avatar
steve
Cumulus Author
Posts: 26141
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: On tour in France
Contact:

Re: Raspberry PI 3 (fine offset station)

Postby steve » Fri May 05, 2017 10:04 am

It's not something I can really help with, I have tried to install other versions of Mono to investigate issues with certain versions, but been unable to, and now I just don't have the time for any further experimenting. Have you looked at the MX FAQ/Known Issues post? There is a link in there to some instructions.

I think you may have problems deleting Mono manually like that - asssuming it was installed from a package, you need to remove the package, otherwise installing a different package may be difficult.
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Like Cumulus and want to support it? Please donate! Image

philpugh
Posts: 108
Joined: Tue May 24, 2011 8:34 am
Weather Station: DAVIS VantageVue
Operating System: Debian (RPi) 3.18.11-v7
Location: Antrobus, Cheshire
Contact:

Re: Raspberry PI 3 (fine offset station)

Postby philpugh » Sat May 20, 2017 10:31 am

Have a look at :-

http://www.mono-project.com/download/#download-lin

It has a pointer to all previous versions of mono - for windows and MacOs

More specifically for LINUX this page should help:-

http://www.mono-project.com/docs/getting-started/install/linux/#accessing-older-releases

hughwright
Posts: 1
Joined: Sat Jun 03, 2017 1:38 pm
Weather Station: Easyweather WH1080
Operating System: Raspbian Jessie

Re: Raspberry PI 3 (fine offset station)

Postby hughwright » Mon Jun 05, 2017 5:37 pm

Mono now downloads 5.0.1.1 by default. I am on Raspbian Jessie. I have exactly the same error message as original poster.
I have tried both the following before running clean installs of Mono:

1. Changing mono-official.list as apparently suggested (though it’s not clear) by
http://www.mono-project.com/docs/getting-started/install/linux/#accessing-older-releases

Code: Select all

echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5 main" | sudo tee /etc/apt/sources.list.d/mono-official.list


this just errors on sudo apt-get update as follows:

Code: Select all

E: Type 'deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5' is not known on line 1 in source list /etc/apt/sources.list.d/mono-official.list
E: The list of sources could not be read.


So reset to standard:

Code: Select all

echo "deb http://download.mono-project.com/repo/debian raspbianjessie main" | sudo tee /etc/apt/sources.list.d/mono-official.list


2. Changing mono-xamarin.list as referenced in the final post in:
http://sandaysoft.com/forum/viewtopic.php?f=27&t=14635&p=116939&hilit=wmr200+not+found#p116939

Code: Select all

echo "deb http://download.mono-project.com/repo/debian wheezy/snapshots/4.0.5 main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list


Code: Select all

sudo apt-get update
then reports two errors saying could not find wheezy/snapshots using wheezy instead.

And I still end up with 5.0.1.1 installed.

So I cannot find a way to install back-level versions of Mono which work and Mono 5.0.1.1 will not work.
Any further suggestions about how to get Mono 4.0.5 or 3.2.8?
The repositories are still there, but don’t seem to download. There are some suggestions on other forums that as 5.0.1.1 fixed everything the back levels are no longer available?

richard_newberry
Posts: 244
Joined: Tue Apr 12, 2011 10:23 pm
Weather Station: Watson W-8186
Operating System: Debian Jessie (VMWARE Esxi 6.0)
Location: Leicester
Contact:

Re: Raspberry PI 3 (fine offset station)

Postby richard_newberry » Mon Jun 05, 2017 6:14 pm

Hi,

I can help you mate. I'm stuck on Mono 3.2.8 version. You need to do apt-get autoremove mono-complete. Then use mono that comes with jessie. apt-get install mono-complete.

It should be on Mono version 3.2.8
Kirby Muxloe Weather
http://kirbymuxloe-weather.dyndns.org web forward to http://kirbymuxloe-weather.co.uk
Also on Kirby Muxloe weather underground.
Looking forward to cumulus on Linux platform it'll rock!!


Return to “Cumulus MX”

Who is online

Users browsing this forum: No registered users and 2 guests