Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.6.12 (build 3088) - 10 July 2020 (please see important announcement regarding releases since 3.5.0)
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 the NOAA report and Snow Index drop-down menus to 2030)

Use this link to Download the Software (Cumulus MX / Cumulus 1 and other related items). Software

Toolbox Webtags error

Discussion and support for 3rd-party (non-Sandaysoft) tools for Cumulus
Post Reply
Darksome
Posts: 4
Joined: Fri 14 Dec 2012 9:41 am
Weather Station: Davis Vantage Vue
Operating System: Windows 7 x64
Location: Adelaide, Australia

Toolbox Webtags error

Post by Darksome »

Hi all,

I've been trying to setup Cumulus Toolbox so I can generate alerts for certain variables and have an email sent but I'm getting errors from Cumulus Toolbox when it starts trying to process the Cumuluswebtags.txttmp file.

It reports "Could not open PHP Webtags file. Argument 'Length' must be greater or equal to zero."

The file seems to contain correct values so I guess it's being processed by Cumulus correctly?

Code: Select all

// ------------------------------------------------------------------------------------------------
# List of all Cumulus web tags assigned as PHP variables
$AllocatedMemory='108.03 MB';
$altimeterpressure=1007.83;
$altitude='3 m';
$apptemp=17.4;
$apptempH=27.6;
$apptempL=16.3;
$apptempTH=18.0;
$apptempTL=17.1;
$apptempYH=20.0;
$apptempYL=16.7;
If I choose the UTF-8 option in Cumulus where the file Cumuluswebtags.txt is processed the resultant Cumuluswebtags.txttmp file is completely empty. Any ideas what I've missed or what I'm doing wrong?

User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Toolbox Webtags error

Post by daj »

Hi, someone else has pointed this error out to me. I've spent some time looking at the problem and it would appear the version of Cumuluswebtags.txt on the wiki has many errors in it. It has been edited incorrectly.

I will need to fix this and upload a new, working version!
David
kippfordweather.uk
Cumulus MX & Raspberry Pi

water01
Posts: 1918
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Toolbox Webtags error

Post by water01 »

Remember there are differing formats for webtags between Cumulus 1 and Cumuls MX, is he using the right version as my altered version for Cumuls MX is working fine with Toolbox.
David
Image

Darksome
Posts: 4
Joined: Fri 14 Dec 2012 9:41 am
Weather Station: Davis Vantage Vue
Operating System: Windows 7 x64
Location: Adelaide, Australia

Re: Toolbox Webtags error

Post by Darksome »

Hi all,

Just thought I'd return to this and have another look today but I've no idea what the issue is. I'd love to be able to solve this and get it working!

I removed all but a couple of webtags from the file to process so the Cumuluswebtags.php file is just now:

Code: Select all

<?php
$hum=<#hum>;
$humH=<#humH>;
?>
The output Cumuluswebtags.phptmp being:

Code: Select all

<?php
$hum=12;
$humH=13;
?>
Yet I still get the same error when starting the toolbox "Could not open PHP Webtags file. Argument 'Length' must be greater or equal to zero." I'm running Cumulus v1.9.4 build 1099.

Any help to solve this would be MUCH appreciated!

User avatar
daj
Posts: 2041
Joined: Tue 29 Jul 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Toolbox Webtags error

Post by daj »

Hi

I solved this a while ago but forgot to post the solution :oops: . Once I'm on my desktop computer later I will give more detail (on a tablet at the moment)
David
kippfordweather.uk
Cumulus MX & Raspberry Pi

hills
Posts: 685
Joined: Sat 26 Dec 2009 8:52 am
Weather Station: Fine Offset WH1091
Operating System: Raspbian Buster
Location: Crafers, South Australia
Contact:

Re: Toolbox Webtags error

Post by hills »

I've also just encountered this, can you advise where you posted the details on the fix please?

larsborg
Posts: 1
Joined: Thu 14 Jun 2012 3:53 am
Weather Station: WS1080 Fine Offset
Operating System: Windows 7
Location: New Zealand

Re: Toolbox Webtags error

Post by larsborg »

I have the exact same problem as the OP. I'm working on it but to be honest I think this issue is beyond me.

Anybody else had the same experience?

M1DUL
Posts: 271
Joined: Wed 31 Dec 2008 1:56 pm
Weather Station: Vantage Pro2 Plus Daytime FARS
Operating System: Windows 10 Pro Version 2004
Location: Poole, Dorset UK
Contact:

Re: Toolbox Webtags error

Post by M1DUL »

Hi all,
I have managed to find a working cumuluswebtags.txt on the Cumulus Forum, it is quite a few years old, but works OK with Cumulus Toolbox and all the data is being processed correctly.

The date is 05 Feb 2013
Here is the file if anyone needs it.
cumuluswebtags.txt
Happy New Year to you all.
Good luck
Regards Mike
You do not have the required permissions to view the files attached to this post.
Mike

OS : Windows 10 Professionnal
Weather Station : Davis Vantage PRO2 Plus Daytime Fars
Cumulus MX version 3.6.11 - b3088
http://branksomeweather.co.uk

Post Reply