Page 1 of 1

Toolbox Webtags error

Posted: Thu 05 Nov 2015 2:03 am
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?

Re: Toolbox Webtags error

Posted: Mon 16 Nov 2015 10:58 pm
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!

Re: Toolbox Webtags error

Posted: Mon 16 Nov 2015 11:13 pm
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.

Re: Toolbox Webtags error

Posted: Sat 20 Feb 2016 6:54 am
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!

Re: Toolbox Webtags error

Posted: Sat 20 Feb 2016 8:48 am
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)

Re: Toolbox Webtags error

Posted: Mon 28 Mar 2016 4:47 am
by hills
I've also just encountered this, can you advise where you posted the details on the fix please?

Re: Toolbox Webtags error

Posted: Fri 15 Apr 2016 9:55 pm
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?

Re: Toolbox Webtags error

Posted: Fri 30 Dec 2016 4:55 pm
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