Charts - empty image files
Ben
benwei at veriwave.com
Mon Jun 7 23:37:11 UTC 2004
Hmm, well I'm not sure what subversion of Chart I have, but it does appear to work for non date-based charts, and for the new type of charts if I don't specify a date range, so it seems that this is not the problem. I'm sure the data for the charts is there, I just ran collectstats with the --regenerate option and manually checked the files. They have data going back almost 2 years. When doing the new charts I tried viewing just the image and adding the debug parameter onto ther URL, and here is what I got:
Bugzilla::Chart object:
$VAR1 = bless( {
'_data' => [
[],
[]
],
'lines' => [
[
bless( {
'frequency' => '1',
'subcategory' => '-All-',
'creator' => '0',
'query' => 'bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED',
'public' => '1',
'name' => 'All Open',
'category' => '-All-',
'series_id' => '320'
}, 'Bugzilla::Series' )
]
],
'datefrom' => '1041408000',
'cumulate' => 0,
'gt' => 0,
'labelgt' => undef,
'dateto' => '1072944000',
'labels' => [
'All Open'
]
}, 'Bugzilla::Chart' );
Content-Type: image/png
I notice that the data part is empty, and I'm assuming this is the source of my trouble
Ben
On Tue, 8 Jun 2004 06:57:56 -0700 (PDT)
"Bruce Armstrong \[TeamSybase\]" <bruce.armstrong at teamsybase.com> wrote:
> It actually matters what subversion of 0.99. Support for GIF was dropped and support for JPEG and PNG added with 0.99c:
>
> http://cpan.uwinnipeg.ca/htdocs/Chart/README.html
>
> Meanwhile, GD dropped support for GIF around 1.19:
>
> http://cpan.uwinnipeg.ca/htdocs/GD/README.html
>
> I'd suggest trying it with a later version of Chart.
>
> However, are you able to do non-date based charts? Perhaps the issue is you don't have the collectstats script running daily and that no data is being collected on a time basis.
More information about the developers
mailing list