Welcome to the Cumulus Support forum.

Latest Cumulus MX release v3.2.3 build 3059 - 04 December 2019.
    Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014

    See the Wiki for downloading either version.

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

    Re: Toolbox Webtags error

    Post by daj » Mon 16 Nov 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: 1558
    Joined: Sat 13 Aug 2011 9:33 am
    Weather Station: WH1081
    Operating System: Windows 7 64bit HP SP1
    Location: Somewhere in the USA
    Contact:

    Re: Toolbox Webtags error

    Post by water01 » Mon 16 Nov 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 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 » Sat 20 Feb 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 29 Jul 2008 8:00 pm
    Weather Station: WH1081
    Operating System: Pi & MX
    Location: SW Scotland
    Contact:

    Re: Toolbox Webtags error

    Post by daj » Sat 20 Feb 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 26 Dec 2009 8:52 am
    Weather Station: Fine Offset WH1091
    Operating System: Windows XP
    Location: Crafers, South Australia
    Contact:

    Re: Toolbox Webtags error

    Post by hills » Mon 28 Mar 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 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 » Fri 15 Apr 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: 269
    Joined: Wed 31 Dec 2008 1:56 pm
    Weather Station: Vantage Pro2 Plus Daytime FARS
    Operating System: Windows 10 Pro 64bit Build 10586
    Location: Poole, Dorset UK
    Contact:

    Re: Toolbox Webtags error

    Post by M1DUL » Fri 30 Dec 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

    OS : Windows 10 Professionnal
    Weather Station : Davis Vantage PRO2 Plus Daytime Fars
    Cumulus MX version 3.00 b 3050
    http://branksomeweather.co.uk

    Post Reply