Page 1 of 1

Unosquare.Labs.EmbedIO error

Posted: Sat 23 Apr 2016 4:21 pm
by Wychall
I have had CumulusMX running successfully on a Raspberry Pi 3 for a few weeks now. Today I noticed that the Extra Web Files page in the interface was blank so I rebooted the Raspberry Pi. CumulusMX failed to restart, and attempts to manually start it result in an error message of Unhandled Exception, could not load Unosquare.Labs.EmbedIO etc etc.

Is this a CumulusMX problem, a Mono problem, or a totally unrelated error? Is it recoverable or do I start afresh? HELP!

Re: Unosquare.Labs.EmbedIO error

Posted: Sat 23 Apr 2016 4:31 pm
by steve
The system can't find one (or more) of the DLLs required by Cumulus, you probably have a file corruption somewhere. You could try extracting the MX distribution again, to see if that helps. See this recent thread, where someone had the same problem: https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=15157

Re: Unosquare.Labs.EmbedIO error

Posted: Sat 23 Apr 2016 4:50 pm
by Wychall
Thanks for the reply Steve. I had looked at that thread but was uncertain whether it was a similar problem. My OS is on a usb stick which I had hoped would prevent the possibly SD corruption but it would appear not. I'll recopy the CumulusMX files and hope that that will fix it. If not a reinstall beckons. Watch this space.

Thanks for your help, and for a great software!

Re: Unosquare.Labs.EmbedIO error

Posted: Sat 23 Apr 2016 5:05 pm
by Wychall
Yaay! :clap:
There is a dll of the same name (Unosquare etc,) in the CumulusMX directory and refreshing that has got me back online.

But I still have my original problem that caused me to reboot, namely that the Extra Web Files page is blank in the browser window. This is a recent occurence as I have previously used it to direct files to an Apache web host that I am setting up.

Any ideas why this page has gone blank? Could it be a cumulus.ini corruption?

Re: Unosquare.Labs.EmbedIO error

Posted: Sat 23 Apr 2016 5:16 pm
by Wychall
Here is clarification of what I mean by being blank...............

https://www.dropbox.com/s/t1gr0bpadevn2 ... 4.png?dl=0

Re: Unosquare.Labs.EmbedIO error

Posted: Sat 23 Apr 2016 5:41 pm
by steve
Possibly a corruption in Cumulus.ini. Or missing/corrupt files in the interface folder. Are there any errors in either the F12 console in the browser, or in the MX diags file?

Re: Unosquare.Labs.EmbedIO error

Posted: Sat 23 Apr 2016 6:08 pm
by Wychall
F12 indicates a problem with the editable grid as per this screenprint

https://www.dropbox.com/s/l96f90u6pw4gu ... 5.png?dl=0

The only error in MXDiags is

2016-04-23 17:55:38.096 Error at line 577 of data/dayfile.txt : Input string was not in the correct format

which wouldn't affect the web files.

Re: Unosquare.Labs.EmbedIO error

Posted: Sat 23 Apr 2016 6:16 pm
by steve
Looks like you have missing/corrupt javascript files in the interface somewhere.

Re: Unosquare.Labs.EmbedIO error

Posted: Sun 24 Apr 2016 6:54 am
by Wychall
Many fraught hours overnight trying to understand what is happening. Deleted CumulusMX directory completely from the Pi, rebooted and fresh install.... still the same. Reaching screaming point then EUREKA! I tried accessing the extra web file page off my tablet instead of pc. It was there. Back to the pc, not there. Tried Edge browser on the pc, extra web files page is there. Chrome - not there.

Uninstalled Chrome, rebooted pc, reinstalled Chrome and it was fixed.

So if anyone else gets problems with the web interface, try a different browser before you burn the midnight oil in frustration. :groan: