Closed
Bug 299262
Opened 19 years ago
Closed 19 years ago
uninitialized value when using chart.cgi
Categories
(Bugzilla :: Reporting/Charting, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: LpSolit, Assigned: gerv)
References
Details
chart.cgi: Use of uninitialized value in subroutine entry at
/usr/lib/perl5/vendor_perl/5.8.5/GD/Graph/area.pm line 104.
The corresponding line in area.pm is:
$self->{graph}->dashedLine($x, $y, $x, $bottom, $brci);
Maybe this could help:
Checking for GD (v1.20) ok: found v2.21
Checking for Chart::Base (v1.0) ok: found v2.3
Checking for XML::Parser (any) ok: found v2.34
Checking for GD::Graph (any) ok: found v1.35
Checking for GD::Text::Align (any) ok: found v1
Reporter | ||
Updated•19 years ago
|
Target Milestone: --- → Bugzilla 2.20
Reporter | ||
Comment 1•19 years ago
|
||
Maybe the culprit is template/en/default/reports/chart.png.tmpl, line 26:
[% USE graph = GD.Graph.area(width, height) %]
Assignee | ||
Comment 2•19 years ago
|
||
When you get this error, if you do a View Image on the image, does the URL have
a width and height on it?
Can you edit area.pm to reference those five variables one at a time, to see
which one is uninitialised?
Gerv
Assignee | ||
Comment 3•19 years ago
|
||
LpSolit: is this still happening?
Gerv
Reporter | ||
Comment 4•19 years ago
|
||
gerv, I tried a few minutes ago and I cannot reproduce the problem anymore. Note
that I upgraded my OS meanwhile. My Perl version is now 5.8.6 instead of 5.8.5.
The module versions mentioned in comment 0 are unchanged.
Could it be a bug in Perl 5.8.5? Or has something changed in Bugzilla (or maybe
a param)?
I tried on both 2.21.1 and 2.20.
Assignee | ||
Comment 5•19 years ago
|
||
Marking WORKSFORME, then.
Gerv
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
Comment 6•19 years ago
|
||
Tested this on current tip using perl 5.8.5 and couldn't reproduce. Although, my
GD::Graph is v1.43 and there's some entries in it's changelog related to area.
Reporter | ||
Updated•19 years ago
|
Target Milestone: Bugzilla 2.20 → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•