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 4017) - 17 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

Snow Depth in Cumulus 1.9.0

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
User avatar
scotweather
Posts: 36
Joined: Sun 04 Jan 2009 3:42 pm
Weather Station: La Crosse WS2300
Operating System: Windows XP Home SP3
Location: Falkirk, Scotland
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by scotweather »

Steve

Just getting this thread back on track ......

Are there any suggestions on how to solve the diary problem not updating Cumuluswebtags.php yet?
Image
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by steve »

scotweather wrote:Are there any suggestions on how to solve the diary problem not updating Cumuluswebtags.php yet?
There are three ways that the <#snowdepth> tag could give zero:

1. It doesn't find an entry for today in the diary
2. It finds an entry, but it contains zero
3. It gets an error trying to read the diary

At the moment, we don't know which one is happening, but the third is the most likely, since your diary does contain a non-zero entry. I added some diagnostics at build 965 of 1.9.1 so that it would log any error to the diags file rather than just trapping and ignoring it. I just need someone to try it.
Steve
User avatar
scotweather
Posts: 36
Joined: Sun 04 Jan 2009 3:42 pm
Weather Station: La Crosse WS2300
Operating System: Windows XP Home SP3
Location: Falkirk, Scotland
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by scotweather »

Hi Steve

I downloaded and installed the 1.9.1 beta and entered in today's snow depth and cumuluswebtags.php is now updating.

Thank you.

Katrina
Image
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by steve »

scotweather wrote:I downloaded and installed the 1.9.1 beta and entered in today's snow depth and cumuluswebtags.php is now updating
That's interesting; I didn't actually do anything that would make it start working, I just added logging for when it didn't.
Steve
6719jason
Posts: 519
Joined: Wed 08 Apr 2009 12:38 pm
Weather Station: La-Crosse WS3502
Operating System: Windows 7
Location: Holland On Sea, Essex UK

Re: Snow Depth in Cumulus 1.9.0

Post by 6719jason »

Hi there ScotWeather & Steve,

My apologies for not mentioning this sooner but, I too have been having the same issue as you ScotWeather with the latest stable build Ver 1.9.0 Build 958. The only way I could get it to update the Cumulus PHP Webtags and indeed the standard #webtag, was to restart Cumulus.

Jason
User avatar
scotweather
Posts: 36
Joined: Sun 04 Jan 2009 3:42 pm
Weather Station: La Crosse WS2300
Operating System: Windows XP Home SP3
Location: Falkirk, Scotland
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by scotweather »

For me restarting cumulus didn't make a difference.
Image
User avatar
scotweather
Posts: 36
Joined: Sun 04 Jan 2009 3:42 pm
Weather Station: La Crosse WS2300
Operating System: Windows XP Home SP3
Location: Falkirk, Scotland
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by scotweather »

I hate to tell you this but.... I have the exact same problem in 1.9.1
Enter a value in the weather diary the other day it displayed now when I put an entry in for today, cumuluswebtags shows $snowdepth to be 0 (zero).

So its doing exactly the same even an application restart didn't sort the problem.

I've attached my debug file and log.xml again
You do not have the required permissions to view the files attached to this post.
Image
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by steve »

scotweather wrote:I hate to tell you this but.... I have the exact same problem in 1.9.1
I'm not surprised, because I haven't done anything to fix the problem.
I've attached my debug file
The new error message goes to the diags file, not the debug log.
Steve
User avatar
scotweather
Posts: 36
Joined: Sun 04 Jan 2009 3:42 pm
Weather Station: La Crosse WS2300
Operating System: Windows XP Home SP3
Location: Falkirk, Scotland
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by scotweather »

I've attached the diag files from 1st December 2010 through to todays.
I upgraded to 1.9.1 on the 2nd December so if anything is obvious from yesterday and today you might find what's going on.
Hope I've attached the right files you need.

Thanks

Kate

p.s. there is an error in the diags files "Error reading diary file: ClientDataSet1: Missing data provider or data packet"
You do not have the required permissions to view the files attached to this post.
Image
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by steve »

scotweather wrote:Error reading diary file: ClientDataSet1: Missing data provider or data packet
That's a shame, that's the same sort of error you get when the file is corrupt. But at least it proves that the problem is number 3 in my list. I'll see what I can come up with.
Steve
User avatar
scotweather
Posts: 36
Joined: Sun 04 Jan 2009 3:42 pm
Weather Station: La Crosse WS2300
Operating System: Windows XP Home SP3
Location: Falkirk, Scotland
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by scotweather »

steve wrote:
scotweather wrote:Error reading diary file: ClientDataSet1: Missing data provider or data packet
That's a shame, that's the same sort of error you get when the file is corrupt. But at least it proves that the problem is number 3 in my list. I'll see what I can come up with.
thanks Steve

Which file is the diary file ?
Image
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by steve »

scotweather wrote:Which file is the diary file ?
It's the log.xml file. I'm wondering if there's some sequence that causes that file to appear to be corrupt to the web tag processing code. But if a restart doesn't clear it, that would seem to discount that possibility.
Steve
User avatar
scotweather
Posts: 36
Joined: Sun 04 Jan 2009 3:42 pm
Weather Station: La Crosse WS2300
Operating System: Windows XP Home SP3
Location: Falkirk, Scotland
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by scotweather »

steve wrote:
scotweather wrote:Which file is the diary file ?
It's the log.xml file. I'm wondering if there's some sequence that causes that file to appear to be corrupt to the web tag processing code. But if a restart doesn't clear it, that would seem to discount that possibility.
thanks steve.
Image
User avatar
steve
Cumulus Author
Posts: 26702
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by steve »

I have a theory about the problem. How do you start Cumulus? From the shortcut created by the installer? If not, does the shortcut you use set the working directory correctly (the 'Start in' folder)? I've unintentionally set the path for the log file for the web tag code with a relative path 'data\log.xml', but after that all the paths use the application folder in case the working directory hasn't been set up. So that one path could become invalid and the file will appear to not exist.

I'll fix the code in the next build; in the meantime could you check the above?
Steve
User avatar
scotweather
Posts: 36
Joined: Sun 04 Jan 2009 3:42 pm
Weather Station: La Crosse WS2300
Operating System: Windows XP Home SP3
Location: Falkirk, Scotland
Contact:

Re: Snow Depth in Cumulus 1.9.0

Post by scotweather »

cumulus is installed c:\Cumulus with all its default folders. and the Start in is set to C:\Cumulus

I also use the installer shortcut that was placed on the desktop to launch it and it also launches at startup.
Image
Post Reply