Graphical Reports does not show any graphs "GD::Graph installed"

RESOLVED INVALID

Status

()

Bugzilla
Reporting/Charting
RESOLVED INVALID
13 years ago
12 years ago

People

(Reporter: jaldhi, Assigned: gerv)

Tracking

Details

Attachments

(2 attachments)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.7) Gecko/20050414 Firefox/1.0.3

I have installed the modules for graphs, but I cannot see any graphs. Tabular
reports shows me data in HTML, but when I choose graphical report, I do not find
graphs generated. Thanks for your help in advance. The DIR
$BUGZILLA_HOME/data/mining is accessible my apache.

-----------------------------------------
here is the output from checksetup.pl

Checking perl modules ...
Checking for       AppConfig (v1.52)   ok: found v1.56
Checking for             CGI (v2.93)   ok: found v3.07
Checking for    Data::Dumper (any)     ok: found v2.12
Checking for    Date::Format (v2.21)   ok: found v2.22
Checking for             DBI (v1.36)   ok: found v1.48
Checking for      DBD::mysql (v2.1010) ok: found v2.9006
Checking for      File::Spec (v0.82)   ok: found v3.05
Checking for      File::Temp (any)     ok: found v0.16
Checking for        Template (v2.08)   ok: found v2.14
Checking for      Text::Wrap (v2001.0131) ok: found v2001.0929

The following Perl modules are optional:
Checking for              GD (v1.20)   ok: found v2.19
Checking for     Chart::Base (v1.0)    ok: found v2.3
Checking for     XML::Parser (any)     ok: found v2.31
Checking for       GD::Graph (any)     ok: found v1.43
Checking for GD::Text::Align (any)     ok: found v1.18
Checking for     PatchReader (v0.9.4)  ok: found v0.9.5

Checking user setup ...
Removing existing compiled templates ...
Precompiling templates ...
Checking for    MySQL Server (v3.23.41) ok: found v4.1.10-Max

Populating duplicates table...

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

Reproducible: Always

Steps to Reproduce:
1.http://bubzillahome/bugzilla/report.cgi
2.Click Graphical reports
3.Choose items in Vertical fields, Horizontal Field, Multiple Images
4.Click Bar Chart
5.Generate Report
6.New page has an empty box with Graphical Report Results

Actual Results:  
New page comes up with an empty box with Graphical Report Results

Expected Results:  
IT should should show graphs based on the polulated data

Comment 1

13 years ago
sorry but r u sure that the link that u gave is correct? i want to try it too
but link is not true i think...
(Reporter)

Comment 2

13 years ago
The link is internal to our network and is not accessible over the internet. I'm
sorry, but is there a way you can suggest me what all do I need to check so that
all the graph modules and configs are intact. 
(Assignee)

Comment 3

13 years ago
Please right-click on the broken image and do "View Image". Then, add "&debug=1"
to the URL and reload. Save the resulting page to disk, and attach it to this
bug (after checking it contains no sensitive info).

Gervb
(Reporter)

Comment 4

13 years ago
Created attachment 184980 [details]
This file is the debug of image as per request

I have attacehed the file debug2.txt as per the reuqest. Also attaching
debug1.txt which contains debug of the entire page with all the links
(Reporter)

Comment 5

13 years ago
Created attachment 184981 [details]
debug1.txt is the debug of the entire page with other links

Comment 6

12 years ago
I had the same Problem, and finally I found out I had compiled libgd and the GD library without Png support.
to do this, cd to the libgd source directory and run 
./configure --enableFEATURE=PNG
and run make afterwards; likwise run
perl Makefile.PL -options PNG
in the GD directory
After this, everything worked fine for me

Comment 7

12 years ago
I have this problem and was told by another user to install the Template::GD perl module which was previously incuded in the Template Toolkit until version 2.15 released in February 2006. At this time they were extracted into a separate distribution.

I'm using Fedora Core 4.

I have just done that (installed the module) and it works.  This should be added tot he optional modules list in the documentation around the discussion of GD.

Comment 8

12 years ago
I had the same problem on Fedora Core 5.

Fixed by doing this: 
/usr/bin/perl -MCPAN -e 'install "Template::Plugin::GD"'

IMO checksetup.pl should be complaining about this.

[root@linux bugzilla]# ./checksetup.pl --check-modules

Checking perl modules ...
Checking for       AppConfig (v1.52)   ok: found v1.56
Checking for             CGI (v2.93)   ok: found v3.20
Checking for    Data::Dumper (any)     ok: found v2.121_08
Checking for    Date::Format (v2.21)   ok: found v2.22
Checking for             DBI (v1.38)   ok: found v1.51
Checking for      File::Spec (v0.84)   ok: found v3.12
Checking for      File::Temp (any)     ok: found v0.16
Checking for        Template (v2.08)   ok: found v2.15
Checking for      Text::Wrap (v2001.0131) ok: found v2005.082401
Checking for    Mail::Mailer (v1.67)   ok: found v1.74
Checking for    MIME::Base64 (v3.01)   ok: found v3.07
Checking for    MIME::Parser (v5.406)  ok: found v5.420
Checking for        Storable (any)     ok: found v2.15

The following Perl modules are optional:
Checking for              GD (v1.20)   ok: found v2.34
Checking for     Chart::Base (v1.0)    ok: found v2.3
Checking for       XML::Twig (any)     ok: found v3.23
Checking for       GD::Graph (any)     ok: found v1.4308
Checking for GD::Text::Align (any)     ok: found v1.18
Checking for     PatchReader (v0.9.4)  ok: found v0.9.5
Checking for   Image::Magick (any)      not found

If you want to convert BMP image attachments to PNG to conserve
disk space, you will need to install the ImageMagick application
Available from http://www.imagemagick.org, and the Image::Magick
Perl module by running (as root):

   /usr/bin/perl -MCPAN -e 'install "Image::Magick"'

[root@linux bugzilla]# uname -a
Linux linux.mammes 2.6.17-1.2145_FC5 #1 Sat Jul 1 13:03:45 EDT 2006 i686 i686 i386 GNU/Linux

Comment 9

12 years ago
(In reply to comment #8)
> Fixed by doing this: 
> /usr/bin/perl -MCPAN -e 'install "Template::Plugin::GD"'
> 
> IMO checksetup.pl should be complaining about this.

This is bug 345389
OS: Windows XP → All
Hardware: PC → All

Comment 10

12 years ago
This seems like a general report of all the various problems that people have with GD and Bugzilla, making it (a) more than one bug and (b) really a support issue.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.