It can not run applications CumulusMX on Raspberry Pi 2 (Wheezy)
When installing I proceeded as follows:
[code]apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list
apt-get update
apt-get upgrade
apt-get install mono-devel
apt-get install mono-complete
mono -V
cd srv
wget http://....../CumulusMXDist3031.zip
unzip CumulusMXDist3031.zip
[/code]
After attempting to run the command: [code]mono /srv/CumulusMX/CumulusMX.exe -lang cs-CZ[/code]
Abandoning this error:
[code]Current culture: Czech (Czech Republic)
Serial: 2D2679D4D8F209DBD325483107FDF27C
System.IO.DirectoryNotFoundException: Directory 'MXdiags' not found.
at System.IO.Directory.ValidateDirectoryListing (System.String path, System.String searchPattern, System.Boolean& stop) [0x00000] in <filename unknown>:0
at System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) [0x00000] in <filename unknown>:0
at System.IO.Directory.GetFiles (System.String path, System.String searchPattern) [0x00000] in <filename unknown>:0
at System.IO.Directory.GetFiles (System.String path) [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus. (System.String ) [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus..ctor (Int32 HTTPport, Int32 WSport) [0x00000] in <filename unknown>:0
at .Main (System.String[] args) [0x00000] in <filename unknown>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate[/code]
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
It can not run applications CumulusMX on Raspberry Pi 2
Moderator: mcrossley
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: It can not run applications CumulusMX on Raspberry Pi 2
Change to the directory containing MX, and run it from there, as described in the instructions.
Steve
-
Maxinoha
- Posts: 3
- Joined: Thu 01 Oct 2015 8:31 am
- Weather Station: WS-0101
- Operating System: RASPBIAN
- Location: Liteň, Czech Republic
- Contact:
Re: It can not run applications CumulusMX on Raspberry Pi 2
Hello,steve wrote:Change to the directory containing MX, and run it from there, as described in the instructions.
It managed to run and was available as well as a web interface. After setting the type of weather station has not restarted.
Code: Select all
root@meteostanice:/srv/CumulusMX# mono CumulusMX.exe
Current culture: Czech (Czech Republic)
Serial: 2D2679D4D8F209DBD325483107FDF27C
Cumulus MX v.3.0.0 build 3031
This is pre-release beta software
Today.ini = data/today.ini
Last update=2015-10-11T15:26:01
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber (System.String str, NumberStyles options, System.NumberBuffer& number, System.Globalization.NumberFormatInfo info, Boolean parseDecimal) [0x00000] in <filename unknown>:0
at System.Number.ParseInt32 (System.String s, NumberStyles style, System.Globalization.NumberFormatInfo info) [0x00000] in <filename unknown>:0
at System.Int32.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0
at System.Convert.ToInt32 (System.String value) [0x00000] in <filename unknown>:0
at . () [0x00000] in <filename unknown>:0
at ..ctor (CumulusMX.Cumulus ) [0x00000] in <filename unknown>:0
at ..ctor (CumulusMX.Cumulus ) [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus..ctor (Int32 HTTPport, Int32 WSport) [0x00000] in <filename unknown>:0
at .Main (System.String[] args) [0x00000] in <filename unknown>:0
**** An error has occurred - please zip up the MXdiags folder and post it in the forum ****
Press Enter to terminate
An error has occurred - please zip up the MXdiags folder and post it in the forumYou do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: It can not run applications CumulusMX on Raspberry Pi 2
You are trying to use a locale with decimal separators. What version of Mono are you using? Have you read the notes and the posts about Mono and locales with decimal commas?
Steve
-
Maxinoha
- Posts: 3
- Joined: Thu 01 Oct 2015 8:31 am
- Weather Station: WS-0101
- Operating System: RASPBIAN
- Location: Liteň, Czech Republic
- Contact:
Re: It can not run applications CumulusMX on Raspberry Pi 2
steve wrote:You are trying to use a locale with decimal separators. What version of Mono are you using? Have you read the notes and the posts about Mono and locales with decimal commas?
Code: Select all
root@meteostanice:/srv/CumulusMX# mono -V
Mono JIT compiler version 4.0.4 (Stable 4.0.4.1/5ab4c0d Tue Aug 25 23:45:14 UTC 2015)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: armel,vfp+hard
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgenReading data from a weather station applications pywws works.
You do not have the required permissions to view the files attached to this post.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: It can not run applications CumulusMX on Raspberry Pi 2
It's nothing to do with reading the data from the station, it is Mono and its ability to parse numbers with decimal commas. As far as I know, that version of Mono should be able to handle them correctly. I don't know why it apparently isn't working for you. Perhaps someone who is using decimal commas with that version of Mono will be able to suggest something. If you have any files in the data folder, try deleting them before running MX again.
Note: It would be useful if you turned on debug logging in Cumulus.ini.
Note: It would be useful if you turned on debug logging in Cumulus.ini.
Steve