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

Not Seeing Moon.

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

User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Not Seeing Moon.

Post by mcrossley »

water01 wrote: Fri 10 Apr 2020 1:09 pm It is getting hard to keep up with you Mark!! :D :D :D :D :D :D
Yeah, sorry, that release was needed though to get people who run multiple instances working again.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Not Seeing Moon.

Post by freddie »

sfws wrote: Fri 10 Apr 2020 1:22 pm
freddie wrote: Fri 10 Apr 2020 6:54 am ]Oops! I don't use the template for my index page. It is static and uses Ajax calls to get the data. That's probably how I missed it.
Yes, I noticed that your pages are "in maintenance" today and missing the Ajax updates, and see that even static information like your weather station type is missing on that index page, suspect you could reduce the upload content you process every 5 seconds if you added to the basic page those items that rarely change.
Apologies for that - my gateway proxy server hadn't started up for some reason after I rebooted my router. I don't actually upload anything - all calls are proxied back to either my LAN webserver or the API that MX exposes. You are correct in that some things on that page don't really need to be dynamic - but it's been like that for ages and I can never seem to find the time to make changes.

I had to reboot my router because I had made a change to my network infrastructure.
Freddie
Image
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: Not Seeing Moon.

Post by sfws »

freddie wrote: Fri 10 Apr 2020 4:39 pm Apologies for that
Accepted, I was trying to see if my new sensor screening was working. With your site back, my spreadsheet comparison for whole of April so far is perplexing, but I will give it another day or two.
philipgm
Posts: 22
Joined: Tue 02 Sep 2014 5:20 am
Weather Station: WeatherDuino
Operating System: RaspberryPi
Location: Picton, NZ
Contact:

Re: Not Seeing Moon.

Post by philipgm »

I have just installed build 3071 on a Raspberrypi.
When I enable the 'Moon' option i get this error and then the program stops. Any ideas please.
---

2020-04-11 09:52:24.653 Updating internet settings
2020-04-11 09:52:24.668 Writing Cumulus.ini file
2020-04-11 09:56:01.612 Updating CWOP
2020-04-11 09:57:34.254 Reading reception stats
2020-04-11 10:00:00.745 Hour changed:10
2020-04-11 10:00:00.745 Calculating sunrise and sunset times
2020-04-11 10:00:00.746 Sunrise: 06:50:05
2020-04-11 10:00:00.746 Sunset : 17:59:22
2020-04-11 10:00:00.747 Tomorrow sunrise: 06:51:09
2020-04-11 10:00:00.747 Tomorrow sunset : 17:57:49
2020-04-11 10:00:21.784 System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /usr/local/lib
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Drawing.Bitmap..ctor (System.String filename, Boolean useIcm) [0x00000] in <filename unknown>:0
at System.Drawing.Bitmap..ctor (System.String filename) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (string)
at CumulusMX.MoonriseMoonset.CreateMoonImage (Double phaseAngle, Double latitude, Int32 size) [0x00000] in <filename unknown>:0
at CumulusMX.Cumulus.DoMoonImage () [0x00000] in <filename unknown>:0
at CumulusMX.WeatherStation.HourChanged (Int32 hour) [0x00000] in <filename unknown>:0
at CumulusMX.WeatherStation.SecondTimer (System.Object sender, System.Timers.ElapsedEventArgs e) [0x00000] in <filename unknown>:0
at System.Timers.Timer.Callback (System.Object state) [0x00000] in <filename unknown>:0
----

Note- everything works fine on my linux laptop, so it must be something in the rpi. Ah well!
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Not Seeing Moon.

Post by mcrossley »

It is something missing from mono. What version of mono do you have installed? And did you install "mono-complete"
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Not Seeing Moon.

Post by freddie »

sfws wrote: Fri 10 Apr 2020 4:55 pmmy spreadsheet comparison for whole of April so far is perplexing
Why is it perplexing?
Freddie
Image
philipgm
Posts: 22
Joined: Tue 02 Sep 2014 5:20 am
Weather Station: WeatherDuino
Operating System: RaspberryPi
Location: Picton, NZ
Contact:

Re: Not Seeing Moon.

Post by philipgm »

Ah, that makes sense. Using mono 3. Program been behaving it's self for ages so I was leaving it alone.
So I guess it's time to do an update.
Thank you
Philip
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Not Seeing Moon.

Post by mcrossley »

I think Mono has supported System.Drawing since version 2, but those old versions (2 & 3) may have to complied with the option enabled - not sure. But version 3 was superseded in April 2015 anyway, so maybe it is time for an upgrade! :)
philipgm
Posts: 22
Joined: Tue 02 Sep 2014 5:20 am
Weather Station: WeatherDuino
Operating System: RaspberryPi
Location: Picton, NZ
Contact:

Re: Not Seeing Moon.

Post by philipgm »

I have completely upgraded the firmware on the rpi3. I installed the latest mono version 6 and the moon was back-to-front. I downgraded to mono v5 and everything works as it should.
Excellent.
Thank you for your help. Much appreciated.
Cheers
Philip
www.pictonweather.nz
Post Reply