Closed Bug 161767 Opened 24 years ago Closed 23 years ago

Graphic reports generation problem

Categories

(Bugzilla :: Reporting/Charting, defect, P4)

2.16
x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mib44862, Assigned: gerv)

Details

The GD and Chart::Base modules have been installed and find out by checksetup.pl. Nevertheless, Graphic reports/diagrams are not available from reports.cgi. Only table-type reports like Summary, Bug Count by Engineer and Individual Bugs by Engineed are available
For those options to be available, the following has to be true: - GD has to be installed - The data/mining directory has to exist - The graphs directory has to exist - the file data/mining/-All- has to exist and be accessible by the webserver Gerv
Below is the output of checksetup.pl [root@bugzilla bugzilla-2.16]# ./checksetup.pl Checking perl modules ... Checking for AppConfig (v1.52) ok: found v1.52 Checking for CGI::Carp (any) ok: found v1.13 Checking for Data::Dumper (any) ok: found v2.101 Checking for Date::Parse (any) ok: found v2.23 Checking for DBI (v1.13) ok: found v1.30 Checking for DBD::mysql (v1.2209) ok: found v2.0419 Checking for File::Spec (v0.82) ok: found v0.82 Checking for Template (v2.07) ok: found v2.07 Checking for Text::Wrap (v2001.0131) ok: found v2001.0929 Checking for CGI::Carp (any) ok: found v1.13 The following Perl modules are optional: Checking for GD (v1.19) ok: found v1.19 Checking for Chart::Base (v0.99) ok: found v1 Checking for XML::Parser (any) ok: found v2.31 Checking user setup ... Precompiling templates ... Checking for MySQL Server (v3.22.5) ok: found v3.23.51 Reminder: Bugzilla now requires version 8.7 or later of sendmail. "data/mining" and "graphs" directories exist and accessible (allow from all) by the Apache (both directories are empty) I still can't use Graphic diagrams. What could be a problem? Which log/error file could be useful to troubleshoot the problem. Should the graphic report be available from "Bug Reports" screen or from any other?
Er... you are running the collectstats.pl data collection script (like it says in the manual), aren't you? :-) If data/mining is empty, I suspect you might not be... Gerv
Trying to generate "Bug Chart" reports following error appeared: Content-type: text/html Software error: Can't locate object method "png" via package "GD::Image" at /usr/lib/perl5/site_perl/5.005/Chart/Base.pm line 174.
Hmm. You may have a dodgy version of Chart::Base. Did you install it specially, or was it on the original machine? Also, do you have libpng? I believe that's required to generate PNGs. Gerv
mib44862: ping? Gerv
Priority: -- → P4
Target Milestone: --- → Future
No response from reporter; marking WORKSFORME. Gerv
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
clearing target on DUPLICATE/WONTFIX/INVALID/WORKSFORME so they'll show up as untriaged if they get reopened.
Target Milestone: Future → ---
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.