[cricket-users] ugrading to cricket ver 0.71

From: Phil Pierotti (phil.pierotti@QUOKKA.com)
Date: Mon Jan 10 2000 - 08:38:56 PST


From: Phil Pierotti <phil.pierotti@QUOKKA.com>

Ok, so I upgraded RRDTool from 1.09 to 1.10 - and everything is fine.
Then I installed cricket 0.71 (previously 0.70 with "crashing grapher" fix).
Not fine.
Everything works except I get empty graphs.
Error messages in httpd/error_log saying things like....

        Operator or semicolon missing before %numDSs at
/home/cricket/public_html/./grapher.cgi line 1412.
        Ambiguous use of % resolved as operator % at
/home/cricket/public_html/./grapher.cgi line 1412.
        [10-Jan-2000 08:29:46*] Failed to get dslist from view name.
        Use of uninitialized value at
/home/cricket/public_html/./grapher.cgi line 795.
        Operator or semicolon missing before %numDSs at
/home/cricket/public_html/./grapher.cgi line 1412.
        Ambiguous use of % resolved as operator % at
/home/cricket/public_html/./grapher.cgi line 1412.
        Operator or semicolon missing before %numDSs at
/home/cricket/public_html/./grapher.cgi line 1412.
        Ambiguous use of % resolved as operator % at
/home/cricket/public_html/./grapher.cgi line 1412.
        Use of uninitialized value at
/home/cricket/public_html/./grapher.cgi line 1194.
        Use of uninitialized value at
/home/cricket/public_html/./grapher.cgi line 1194.
        Use of uninitialized value at
/home/cricket/public_html/./grapher.cgi line 1278.
        Use of uninitialized value at
/home/cricket/public_html/./grapher.cgi line 1278.
        [10-Jan-2000 08:29:48*] No graph to make?
        [10-Jan-2000 08:29:48*] No graph to make?

And then , the usual
        [10-Jan-2000 08:29:48*] Actual graph width (595) differs from
width-hint (596).
        [10-Jan-2000 08:29:48*] Actual graph height (255) differs from
height-hint (267).
        [10-Jan-2000 08:29:48*] Actual graph width (595) differs from
width-hint (596).
        [10-Jan-2000 08:29:48*] Actual graph height (255) differs from
height-hint (267).

The code where line 1412 is says:

                while ($i < ($ct-1)) {
                        $i++;
                        my($nameme);
# 1412 follows
                        if ($scaled{$dslist[$i %numDSs]}) {
                                $nameme = "sds";
                        } else {
                                $nameme = "ds";
                        }
                        push @{$dsnames[$i % $numDSs]}, "$nameme$i";
                        push @{$mxnames[$i % $numDSs]}, "mx$i";
                }

Looks like a missing $ after the % on line 1412 - however I tried that and
it didn't fix the problem.

Ideas, anyone?

Thanks,
Phil P
----------------------------------------------------------------------------

----
      Speak, friend, and enter. If you don`t press enter, nothing happens.
----------------------------------------------------------------------------
----
Quokka Sports, Inc.                      Phil Pierotti
Ground Floor,                            Senior Network Engineer 
525 Brannan St,                          phil.pierotti@quokka.com
San Francisco CA 94107                   Ph: +1 415 977 2390
                                         Fx: +1 415 908 1841

o_o http://www.quokka.com/ / )o (_/

--------------------------- ONElist Sponsor ----------------------------

Hey Freelancers: Find your next project through JobSwarm! You can even make money in your sleep by referring friends. <a href=" http://clickme.onelist.com/ad/jobswarm1 ">Click Here</a>

------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:01:09 PST