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

Build 958 Crash

Please discuss beta versions of Cumulus 1 here. Note: There are currently no beta versions of Cumulus 1.
User avatar
nking
Posts: 813
Joined: Thu 17 Dec 2009 2:03 pm
Weather Station: W-8681
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Build 958 Crash

Post by nking »

Just found that Cumulus has crashed, elf attached. :(
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Build 958 Crash

Post by steve »

It looks like it had an error writing dayfile.txt and hence the date wasn't set up, so it then crashed - I'll change the code so that doesn't happen again. Have a look in the diags log to see if there is an error about dayfile.txt at midnight.
Steve
User avatar
nking
Posts: 813
Joined: Thu 17 Dec 2009 2:03 pm
Weather Station: W-8681
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Re: Build 958 Crash

Post by nking »

steve wrote: Have a look in the diags log to see if there is an error about dayfile.txt at midnight.
Yes there is. I assume the data will be fine and I can continue as is?
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Build 958 Crash

Post by steve »

You probably have an entry missing in dayfile.txt for yesterday.

There seems to be a bug in 958 which causes the failure to write to dayfile.txt if it's done the 'find the initial monthly/yearly highs and lows' thing in the same run.
Steve
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: Build 958 Crash

Post by Synewave »

I too have just had Cumulus crash.
You do not have the required permissions to view the files attached to this post.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Build 958 Crash

Post by steve »

Synewave wrote:I too have just had Cumulus crash.
Same problem.
Steve
User avatar
nking
Posts: 813
Joined: Thu 17 Dec 2009 2:03 pm
Weather Station: W-8681
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Re: Build 958 Crash

Post by nking »

Steve,

I made a copy of the complete Cumulus directory so I think I will revert back to this (build 957) for the moment and wait for your next build, it will save me having to go through my data correcting any errors. ;)
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Build 958 Crash

Post by steve »

The crash occurs because the code processing the dayfile.txt to find the highs and lows encounters some kind of problem and forgets to close the file. I'll have a new build available shortly.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Build 958 Crash

Post by steve »

As an aside, I've found a few other places where the same problem might occur when dayfile.txt has 'corruptions', possibly explaining the I/O errors some people get which I have been blaming on anti-virus etc :oops:
Steve
User avatar
nking
Posts: 813
Joined: Thu 17 Dec 2009 2:03 pm
Weather Station: W-8681
Operating System: Windows 10
Location: Hurstpierpoint, West Sussex, UK
Contact:

Re: Build 958 Crash

Post by nking »

Steve,

I've just installed 959.... very quick update :)

You have an amazing work ethic, It must be that you never have any free time to just read a book or watch the grass grow - you certainly are to be :clap:
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Build 958 Crash

Post by steve »

nking wrote:You have an amazing work ethic, It must be that you never have any free time to just read a book or watch the grass grow - you certainly are to be :clap:
I should really have been doing 'real' work, but I thought the problems merited a quick response. I'll just have to work longer to catch up.
Steve
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: Build 958 Crash

Post by Synewave »

Hi Steve,

Firstly, many thanks for the massive amount of work you have put into the new builds. I'm now on 959 (I deleted the month.ini and year.ini beforehand as you suggested).

I've created a page for This Month and This Year Extremes using the new webtags here http://www.synewave.co.uk/gcsweather/thismonthyear.php

There seems to be a few strange records here, for example

Temperature & Humidity This Month This Year
Highest Temperature 15.7 °C at 10:43 on 02 November 15.7 °C at 11:12 on 02 November

I would have expected the times to be the same for the month and the year?

This is just an example of what I'm seeing, but there are other strange ones on that page.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Build 958 Crash

Post by steve »

Synewave wrote:Highest Temperature 15.7 °C at 10:43 on 02 November 15.7 °C at 11:12 on 02 November
They're both saying the same time now. I suspect there are still problems with the initial setting up of the data from the logs. Hopefully, from now on they will be maintained correctly. I'm not sure I can be bothered to track down any more bugs in the initial setting up at the moment, I was in half a mind not to include that code in the first place. If you manually correct them (stop Cumulus and edit month.ini and/or year.ini) see if they stay reasonable from then on.
Steve
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Build 958 Crash

Post by steve »

You could also look in the diags log to see what errors were logged.
Steve
Synewave
Posts: 642
Joined: Mon 25 Jan 2010 1:55 pm
Weather Station: Watson W-8681
Operating System: Raspian
Location: Brighton, UK
Contact:

Re: Build 958 Crash

Post by Synewave »

Yes, I just looked again and most have corrected themselves, apart from Humidity.

Rain seems a bit odd, I'll see if I have some dodgy records.

Thanks Steve.
Locked