Page 1 of 1
problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 2:46 pm
by JanP
Hello everybody,
I must admit I am relatively new into Raspberry and Linux - so far more working on Mac and Win machines and not so familiar with command lines.
However I became curious and like to move from Weatherlink to CumulusMX.
So far following the instruction and I can see CumulusMX on my Raspberry at localhost:8998 - so far so good.
But when I like to set up the station I receive on pushing "Save" an error message, which does not say me much; "JavaS...html" / "error (object Object)"
Java installed on Raspberry is 1.7.0_101
Is there anybody, who can give me a hint, what to do?
Pleased to hear.
Regards
Jan
///
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 3:06 pm
by steve
This is usually caused by using a version of Mono which doesn't work with comma-decimals, as mentioned in the FAQ. What version of Mono are you using?
There are other threads on the forum about this, e.g.:
https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=15274
https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=15128
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 3:34 pm
by JanP
I actually followed the instruction in Announcement thread and used:
sudo apt-get update
sudo apt-get install mono-complete
How can I get out, which version of Mono has been installed?
In fact I have installed it without additional "country settings", i.e. -DE or alike.
Regards
Jan
///
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 3:39 pm
by steve
Type mono -V at a command line.
Note that the instructions do also mention installing other versions of Mono if your system uses comma decimals

Re: problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 4:09 pm
by JanP
Well, might that be the point?
The Raspberry is set to "German" and as far as I know here are used comma decimals - but likely I mixed it up here.
I have Mono 3.2.8 installed.
Do I need to remove / reinstall again with some additional settings or do I need a newer version?
regards
Jan
///
steve wrote:Type mono -V at a command line.
Note that the instructions do also mention installing other versions of Mono if your system uses comma decimals

Re: problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 4:18 pm
by steve
Yes, as it says at the top of the MX FAQ, Mono 3.2.8 will cause problems if decimal commas are in use. You will need to install a later version.
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 4:45 pm
by rogerthn
I am running mono 3.2.8 with decimal commas on my Raspberry with wheezy.
Locale en_GB.UTF-8 and sv_SE.UTF-8 installed (sudo raspi-config 4, I1) with en_GB.UTF-8 as default.
Starting CumulusMX as below
Code: Select all
sudo mono CumulusMX.exe -lang sv-SE
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 4:51 pm
by steve
I think that as noted on another thread, the -lang parameter isn't always having the full intended effect. It could be that by having your system set to GB by default, but by using the -lang parameter, you are getting around the problem in Mono with decimal commas, but still somehow getting Cumulus to work with decimal commas.
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 6:33 pm
by rogerthn
steve wrote:I think that as noted on another thread, the -lang parameter isn't always having the full intended effect. It could be that by having your system set to GB by default, but by using the -lang parameter, you are getting around the problem in Mono with decimal commas, but still somehow getting Cumulus to work with decimal commas.
I did have some tries before ending up with this, for me working solution

Re: problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 8:47 pm
by JanP
steve wrote:I think that as noted on another thread, the -lang parameter isn't always having the full intended effect. It could be that by having your system set to GB by default, but by using the -lang parameter, you are getting around the problem in Mono with decimal commas, but still somehow getting Cumulus to work with decimal commas.
Looks like.
On my side it did not bring success.
I also did not yet manage to install mono 4 even though having deleted mono 3.2.8. before. Is there something to be deleted manually before re-installation?
Regards
Jan
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Mon 04 Jul 2016 8:58 pm
by steve
I've had very little success myself trying to install different versions of Mono for testing purposes, although many others seem to manage it OK. There are posts on the forum where people have described what they have done, which may be of some help. Here's a thread which might be useful, for example -
https://cumulus.hosiene.co.uk/viewtopic.php?f=27&t=14635
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Tue 05 Jul 2016 1:09 pm
by Werk_AG
JanP,
Follow the post referred by Steve and install Mono 4.0.2
I'm running Mono 4.0.2 and CumulusMX with decimal commas (Portuguese settings) without any problem.
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Thu 07 Jul 2016 9:49 pm
by JanP
thanks to everybody - I finally managed to install the new version of Mono - now it works fine.
I found, that when running the Raspberry down, the menu was still in English language (everything else assumed to be set to German).
Perhaps in the end I made some wrong settings "in the background", so I am not sure, if the problem with adding a station resulted from the older version of Mono or the "mixed" language settings.
Regards
Jan
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Thu 07 Jul 2016 11:40 pm
by VTHokie74
In a couple of days I have gone from an out of the box Raspberry Pi 3 kit to an up and running headless installation. Here are some lessons learned for me as a complete neophyte on the Raspberry.
- Read the announcement post and then read it again. Read the FAQ
- Make sure to update the OS and apps after installing Rasbian. sudo apt-get update and sudo apt-get dist-upgrade
- If you live in the US be sure to set your locale. The Raspberry defaults to the UK. There are sites that explain how to "Americanize" your Raspberry. If you copy over your old Cumulus data files and don't have the locale set properly the data files will not read correctly. My record dates were screwed up by this until I figured out the issue. If you don't catch it when you first configure then run raspi-config and set it. Be sure to uncheck the en-UK locale if you are in the US.
- Case matters in Linux for files and folders.
- Get an SSH addin for your browser or standalone program like PuTTY. This will allow you to access your Raspberry without having to connect a monitor, mouse and keyboard.
- Get Screen and learn how to use it to run CumulusMX in it's own screen. sudo apt-get install screen If you run anything using SSH in a terminal window it closes as soon as you close the window.
I am sure the veteran Linus users could add a lot more but these are some of the things I learned through trial and many errors.
Re: problem to add station in CumulusMX on Raspberry 3
Posted: Fri 08 Jul 2016 10:16 am
by jank
JanP, I know I am late and you already made it, but here I am running: RaspberryPi 2
My loglines contain commas
24.12.14;17:36;7,0;91;5,6;7;10;50;0,0;0,0;1014,1;998,7;19,1;48;7;5,7;7,0;0;0;0,00;0,00;4,6;0;0,0;90;0,0;0,0
My local is german
System Locale: de_DE.UTF-8 - CumulusMX Language: German
and finally my Mono Verison is
Mono Version: Mono JIT compiler version 4.0.5 (Stable 4.0.5.1/1d8d582 Thu Nov 12 12:22:41 UTC 2015)