Closed Bug 344169 Opened 19 years ago Closed 19 years ago

No graphs being generated from reports.cgi

Categories

(Bugzilla :: Reporting/Charting, defect)

2.22
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: PowerMatt, Assigned: gerv)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4 I'm attempting to setup bugzilla for a web community where I am their lead server admin. I satisfied all of the dependencies as far as I can tell with ./checksetup.pl. When I try to generate a graph report, I encouter this error when I attempt to view the image with "&debug=1" appended to the end. "The width or height specified is not a positive integer." This is the URL of a pie chart meant to show the distribution of priorities: http://bugzilla.dsmeet.com/report.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bugidtype=include&chfieldfrom=&chfieldto=Now&chfieldvalue=&email1=&email2=&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field0-0-0=noop&long_desc=&long_desc_type=substring&query_format=report-graph&short_desc=&short_desc_type=allwordssubstr&type0-0-0=noop&value0-0-0=&votes=&x_axis_field=priority&z_axis_field=&format=pie&ctype=png&action=plot&width=600&height=350?debug I'm at a loss. The ./testserver.pl script seems to think GD is working just fine. I've waited the two days as described in the documentation, but still nothing. Reproducible: Always Steps to Reproduce: 1. Go to http://bugzilla.dsmeet.com/report.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bugidtype=include&chfieldfrom=&chfieldto=Now&chfieldvalue=&email1=&email2=&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field0-0-0=noop&long_desc=&long_desc_type=substring&query_format=report-graph&short_desc=&short_desc_type=allwordssubstr&type0-0-0=noop&value0-0-0=&votes=&x_axis_field=priority&z_axis_field=&format=pie&ctype=png&action=plot&width=600&height=350?debug 2. Repeat as much as you like. Actual Results: I encouter the big red box with the mentioned error in it. Expected Results: I should be sing a pie chart showing the different priorities used.
Version: unspecified → 2.22
Both URLs that you gave have a ? before "debug", when there should probably be a "&". You should also be using "debug=1" instead of just "debug". If I make those 2 corrections, I see a hash & an array of data, along with the error "plugin error - GD.Graph.pie: plugin not found". Given that, I'd say GD::graph is incompletely installed/configured, or is somewhere where the web server can't get to it. Either way, most likely not a Bugzilla bug. Good luck!
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Ah whoops, that was a typo. I was actually getting that error before (thought I was making some progress, oh well). I've gone over this as much as I can, the GD::Graph library is there, it's lised in my installed modules, and the files are all where they should be.
My one question before I resign this to a configuration error would be this: Is bugzilla looking for a file literally named GD.Graph.pie or is it looking for it in /usr/lib/perl5/site_perl/5.8.5/GD/Graph/pie.pm?
You need to log in before you can comment on or make changes to this bug.