If you use Cumulus, please donate Image

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Toolbox Webtags error

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

Toolbox Webtags error

Postby Darksome » Thu Nov 05, 2015 2:03 am

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 Jul 29, 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Toolbox Webtags error

Postby daj » Mon Nov 16, 2015 10:58 pm

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: 1398
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Toolbox Webtags error

Postby water01 » Mon Nov 16, 2015 11:13 pm

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.

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

Re: Toolbox Webtags error

Postby Darksome » Sat Feb 20, 2016 6:54 am

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 Jul 29, 2008 8:00 pm
Weather Station: WH1081
Operating System: Pi & MX
Location: SW Scotland
Contact:

Re: Toolbox Webtags error

Postby daj » Sat Feb 20, 2016 8:48 am

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

User avatar
hills
Posts: 662
Joined: Sat Dec 26, 2009 8:52 am
Weather Station: Fine Offset WH1091
Operating System: Windows XP
Location: Crafers, South Australia
Contact:

Re: Toolbox Webtags error

Postby hills » Mon Mar 28, 2016 4:47 am

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

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

Re: Toolbox Webtags error

Postby larsborg » Fri Apr 15, 2016 9:55 pm

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: 248
Joined: Wed Dec 31, 2008 1:56 pm
Weather Station: W-8681 Solar Weather Station
Operating System: Windows 10 Pro 64bit Build 10586
Location: Poole, Dorset UK
Contact:

Re: Toolbox Webtags error

Postby M1DUL » Fri Dec 30, 2016 4:55 pm

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

CWOP: DW2423
My Weather website http://branksomeweather.co.uk

Image


Return to “3rd Party Tools”

Who is online

Users browsing this forum: No registered users and 1 guest