Page 1 of 2

(error ) fatal unhandled enhandled exception

Posted: Tue 09 Jan 2018 3:49 am
by stanwf
I get the following respose from terminal when I make the this command." ~/Downloads/weather/CumulusMX $ sudo mono CumulusMX.exe"

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for CumulusMX.Cumulus ---> System.TypeLoadException: Could not load type 'System.Net.Http.HttpClientHandler' from assembly 'System.Net.Http, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
--- End of inner exception stack trace ---
at CumulusMX.Program.Main (System.String[] args) [0x00000] in <filename unknown>:0
Help please
Stan

Re: (error ) fatal unhandled enhandled exception

Posted: Tue 09 Jan 2018 7:44 am
by ConligWX
is there any logs in mxdiags folder? if so please attach them to the post.

Re: (error ) fatal unhandled enhandled exception

Posted: Tue 09 Jan 2018 1:07 pm
by steve
It’s some kind of setup problem - something missing from the MX installation. or something missing from Mono, or some kind of incompatibility with the version of Mono you’re using.

Re: (error ) fatal unhandled enhandled exception

Posted: Tue 09 Jan 2018 10:13 pm
by stanwf
there are no entries in the MXdiads log

Re: (error ) fatal unhandled enhandled exception

Posted: Tue 09 Jan 2018 10:22 pm
by ConligWX
is mono installed? and if so what version?

FineOffSet devices usually require version 3.x but higher versions can be problematic.

Re: (error ) fatal unhandled enhandled exception

Posted: Wed 10 Jan 2018 1:06 am
by stanwf
Hurrah.. got Cumulus installed and running, settings setup.... Damn neither Cumulus MX nor computer can see the usb sensor feed. Can you help?

Re: (error ) fatal unhandled enhandled exception

Posted: Wed 10 Jan 2018 10:23 am
by ConligWX
stanwf wrote:Hurrah.. got Cumulus installed and running, settings setup.... Damn neither Cumulus MX nor computer can see the usb sensor feed. Can you help?
I take it you using linux, can you confirm the output of lsusb?

mine shows the following:

Code: Select all

root@cumulusmx:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 8087:07dc Intel Corp.
Bus 001 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@cumulusmx:~# 

Re: (error ) fatal unhandled enhandled exception

Posted: Wed 10 Jan 2018 10:37 am
by steve
And as Simon asked above, what version of Mono?

Re: (error ) fatal unhandled enhandled exception

Posted: Thu 11 Jan 2018 3:59 am
by stanwf
Sorry Mono version is 2.11. version 3.2 would not load Cumulus.
lsusbBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 1941:8021 Dream Link WH1080 Weather Station / USB Missile Launcher
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 04f9:025c Brother Industries, Ltd MFC-J415W
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 05dc:c75c Lexar Media, Inc.
Bus 002 Device 002: ID 05e3:0606 Genesys Logic, Inc. USB 2.0 Hub / D-Link DUB-H4 USB 2.0 Hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
thanks

Re: (error ) fatal unhandled enhandled exception

Posted: Thu 11 Jan 2018 10:41 am
by steve
I’m pretty sure Mono 2 is too old, it has too much missing. 3.2.8 normally works, so your best approach is probably to try to get that working - by posting information here if required.

Re: (error ) fatal unhandled enhandled exception

Posted: Fri 12 Jan 2018 6:38 am
by stanwf
I'm pretty sure neither Mono 2.11 nor 3.2.8 are installed according to synaptic package manger and I cannot find a downloadable 3.2.8 version of mono and the more I search the more confused I get.

Re: (error ) fatal unhandled enhandled exception

Posted: Thu 25 Jan 2018 4:43 am
by stanwf
I'm instructed to zip up and post my MXdiags folder and post to forum.
So here it is
Help please
\
/home/stan/Downloads/CumulusMX/MXdiags.tar.gz

Re: (error ) fatal unhandled enhandled exception

Posted: Thu 25 Jan 2018 11:18 am
by steve
No attachments.

Re: (error ) fatal unhandled enhandled exception

Posted: Thu 25 Jan 2018 1:25 pm
by ConligWX
stanwf wrote:I'm instructed to zip up and post my MXdiags folder and post to forum.
So here it is
Help please
\
/home/stan/Downloads/CumulusMX/MXdiags.tar.gz
Please upload the files into you next post. click on the attachment tab below the edit window, click add files, browser to where your files are and select them. finish editing your post, and then Submit. files will then be attached.

Re: (error ) fatal unhandled enhandled exception

Posted: Sat 27 Jan 2018 1:53 am
by stanwf
okay, here we go again.