Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4018) - 28 March 2024

Legacy Cumulus 1 release v1.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

b3072 moon image error

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

liddelljs
Posts: 119
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

b3072 moon image error

Post by liddelljs »

Hi all,
I updated from b3050 to b3072 (on a raspberry pi running stretch) and all was good until I checked the moon image generation in the settings (both in web/ftp and moon image settings). I decided to restart MX and the system didn't restart. it seems to get so far into the startup and then just hangs. I have attached the MXdiags file but it seemed to corrupt the cumulus.ini file. When I copied back the b3050 ini file, all was good again. Tried again to enable moon generation with the same result. I do have the base moon image in my web directory. Any further troubleshooting is a bit beyond me I'm afraid so hoping someone can give me a pointer.

Cheers
Steve
You do not have the required permissions to view the files attached to this post.
Vegit8
Posts: 127
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Dorset
Contact:

Re: b3072 moon image error

Post by Vegit8 »

similar issue for me - I'm running 3072 on a Win Laptop, not that that should make a difference.

The new index page is showing aplaceholder for the moon image
here http://www.geoffwebber.co.uk/weather/index.htm

The image cannot be found (the broken link symbol is there)
The new IndexT file that came with 3072 has this line

Code: Select all

 <td rowspan="3"><img src="images/moon.png" alt="Moon" width="64" height="64" style="margin: 0px 10px;" /></td>
Which coincides with the broken URL

Code: Select all

http://www.geoffwebber.co.uk/weather/images/moon.png
I have looked through the whole directory structure of the 3072 release and cannot find moon.png
The only file I can find is MoonBaseImage.png - is this the file that should be used?
If so i'll rename it to match the code..

Cheers
User avatar
laulau
Posts: 678
Joined: Tue 13 Oct 2009 10:52 pm
Weather Station: WeatherDuino Pro2
Operating System: Win 7
Location: Meyenheim, Alsace, FR
Contact:

Re: b3072 moon image error

Post by laulau »

Laurent

Image
Vegit8
Posts: 127
Joined: Fri 27 Sep 2013 2:11 pm
Weather Station: Davis Vantage Pro2
Operating System: Win 10
Location: Dorset
Contact:

Re: b3072 moon image error

Post by Vegit8 »

laulau
Thank you for your very helpful link, unfortunatley I am not blessed with such a photographic memory as you.
Still, the whole point of a forum is that those who know will help those who do not!
liddelljs
Posts: 119
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

Re: b3072 moon image error

Post by liddelljs »

@vegit8 - My understanding is that the MoonBaseImage file is the reference file MX uses to calculate the correct image based on the current moon phase. If you are not seeing a moon.png file generated, then there is a problem, somewhere. The only thing to check is that you have enabled the moon image generation settings in both web/ftp settings AND the moon image settings. In my case, if I check these, the moon.png file is not generated and if I restart MX for any reason, it hangs on startup. I'm not sure if it is something to do with the ftp server setup which I don't use as everything is stored on the pi and I use the extra webfiles settings the nominate the files to transfer to the web server directory. Despite this, I'm not seeing the moon.png file generated anywhere and not sure what could be causing the program to hang on startup with the moon settings active. It seems to be running fine (including restart) if I leave them turned off.

Cheers
Steve
sfws
Posts: 1183
Joined: Fri 27 Jul 2012 11:29 am
Weather Station: Chas O, Maplin N96FY, N25FR
Operating System: rPi 3B+ with Buster (full)

Re: b3072 moon image error

Post by sfws »

liddelljs wrote: Tue 14 Apr 2020 6:10 am My understanding is that the MoonBaseImage file is the reference file MX uses to calculate the correct image based on the current moon phase
The moon base image file is an image of a full moon. Mark uses System.Drawing together with the moon phase he calculates viewtopic.php?f=40&t=13902 to mask part of that image, and that is what becomes moon.png, this masked image is then uploaded using FTP (that is mentioned in both sections of the settings page). I believe I have understood that right.
liddelljs wrote: Tue 14 Apr 2020 6:10 am I'm not sure if it is something to do with the ftp server setup which I don't use
You suggest it might be to do with you not setting up FTP transfer settings, and that indeed might be the issue, as far as I can see Mark has coded MX so it does use FTP for uploading the moon image it tries to generate when MX starts and on the hour when MX is running, and I'm unsure whether his code copes with uploading the image if FTP is not set up.
liddelljs wrote: Tue 14 Apr 2020 6:10 am The only thing to check is that you have enabled the moon image generation settings in both web/ftp settings AND the moon image settings.
I disagree, to stop it using the FTP you have not set up, I suggest you disable "Include Moon image file" in FTP section.
However, I see no reason why you should not enable "Generate a moon image" in moon section and see if that allows MX to restart.
It will generate the moon image in the CumulusMX/web folder of your Pi, but I don't think it will attempt to upload using the FTP you have not set up.

Try that and see if I am right....
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: b3072 moon image error

Post by mcrossley »

sfws wrote: Tue 14 Apr 2020 7:09 am I suggest you disable "Include Moon image file" in FTP section.
However, I see no reason why you should not enable "Generate a moon image" in moon section and see if that allows MX to restart.
It will generate the moon image in the CumulusMX/web folder of your Pi, but I don't think it will attempt to upload using the FTP you have not set up.

Try that and see if I am right....
You are correct, it will then generate the moon.png image in the web folder, but not attempt to FTP it. But if FTP isn't set up, then it will not be trying to do that anyway - or am I confused?
liddelljs
Posts: 119
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

Re: b3072 moon image error

Post by liddelljs »

Hi all,
Many thanks for the response. Tried unchecking the ftp box for moon image and just left the image file generation checked. Still no joy on restart - MX just hangs. Did another test which has confused me even more. I use the start/stop script to manage MX starting (but not the current version) and thought I would try the command line "sudo mono /home/pi/CumulusMX/CumulusMX.exe" to see if there was anything there. System bombed with attached errors. Could it be something to do with the install? Clearly others haven't struck these problems.
I have also noticed that the old issue of the mono version has now been resolved for fine offset stations. I have never updated my version of mono but could there be anything here?

Cheers
Steve
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 12697
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: b3072 moon image error

Post by mcrossley »

You must have the path to the CumulusMX folder before starting Cumulus - that accounts for your last error.

Can we see a MXdiags file (preferably run with the -debug command line parameter) of when it hangs please?

Which version of mono are you running?
liddelljs
Posts: 119
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

Re: b3072 moon image error

Post by liddelljs »

Hi Mark,
I'm running version 3.10.0 of mono. MXdiags file and dump of command screen error when I try to start MX with the command line rather than the stop/start script attached.

Cheers
Steve
You do not have the required permissions to view the files attached to this post.
freddie
Posts: 2435
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: b3072 moon image error

Post by freddie »

liddelljs wrote: Tue 14 Apr 2020 10:08 amI'm running version 3.10.0 of mono. MXdiags file and dump of command screen error when I try to start MX with the command line rather than the stop/start script attached.
Looks like a GDI library is missing. What do you get if you type the following in your terminal window:

Code: Select all

ls -l /usr/local/lib/libgdiplus.so
Freddie
Image
liddelljs
Posts: 119
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

Re: b3072 moon image error

Post by liddelljs »

Thanks Mark. I get "ls: cannot access '/usr/local/lib/libgdiplus.so': No such file or directory" so looks like it might be the problem. Next question - how do I get it?

Cheers
Steve
liddelljs
Posts: 119
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

Re: b3072 moon image error

Post by liddelljs »

oops - sorry Freddie :oops:
freddie
Posts: 2435
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: b3072 moon image error

Post by freddie »

liddelljs wrote: Tue 14 Apr 2020 10:30 amNext question - how do I get it?
I would uninstall mono and then re-install it. Cumulus MX should work with 3.10, but it looks like there's a problem with your installation. Commands are:

Code: Select all

sudo apt remove --purge mono-complete
sudo apt update && sudo apt upgrade
sudo apt install mono-complete
Freddie
Image
freddie
Posts: 2435
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 22.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: b3072 moon image error

Post by freddie »

freddie wrote: Tue 14 Apr 2020 10:36 am
liddelljs wrote: Tue 14 Apr 2020 10:30 amNext question - how do I get it?
I would uninstall mono and then re-install it. Cumulus MX should work with 3.10, but it looks like there's a problem with your installation. Commands are:

Code: Select all

sudo apt remove --purge mono-complete
sudo apt update && sudo apt upgrade
sudo apt install mono-complete
Scratch that - you can get libgdiplus independently of mono:

Code: Select all

sudo apt update
sudo apt install libgdiplus
Freddie
Image
Post Reply