Problems with the statistic page installation

Hello!

I got big problems to install the statistic page. After installing, the
statistic
menue point appeared immediatly, but I don’t get any graphics if I choose
one of the
statistic pages. For example if I try
TimeToResolve I got the following errors for the “Chart”-Url.
When I define the data array manually in Chart" it seems to work.

Bye!

System Suse8.2/Apache1.3.28/modperl1/RT3.06

System error
error: Can’t call method “png” on an undefined value at
/opt/rt3/local/html/Statistics/TimeToResolve/Elements/Chart line 2.
context:
1: <%perl>
2: print $graph->plot(@data)->$format();
3: $m->abort();
4: print “”;
5: print $#data+1 . " Plot Elements:

";
6: for (0…$#data) {

code stack:
/opt/rt3/local/html/Statistics/TimeToResolve/Elements/Chart:2
g /opt/rt3/share/html/autohandler:182
g

raw:
Can’t call method “png” on an undefined value at
/opt/rt3/local/html/Statistics/TimeToResolve/Elements/Chart line 2.

Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line
131
HTML::Mason::Exceptions::rethrow_exception('Can’t call method “png” on an
undefined value at

/opt/rt3/local/html/Statistics/TimeToResolve/Elements/Chart line 2.^J’)
called at /opt/rt3/local/html/Statistics/TimeToResolve/Elements/Chart

line 2
HTML::Mason::Commands::ANON at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x965320
0)’) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm

line 1074
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x9653200)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 760
HTML::Mason::Request::call_next(‘HTML::Mason::Request::ApacheHandler=HASH(0x
96517c0)’) called at /opt/rt3/share/html/autohandler line 182
HTML::Mason::Commands::ANON at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x95250a
4)’) called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm

line 1069
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x95250a4)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1068
HTML::Mason::Request::comp(undef, undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {…}(undef, undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 338
eval {…}(undef, undef, undef) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 297
HTML::Mason::Request::exec(‘HTML::Mason::Request::ApacheHandler=HASH(0x96517
c0)’) called at

/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x96517c0)’) called at
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec(‘HTML::Mason::Request::ApacheHandl
er=HASH(0x96517c0)’) called at

/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 792
HTML::Mason::ApacheHandler::handle_request(‘HTML::Mason::ApacheHandler=HASH(
0x93393a8)’, ‘Apache=SCALAR(0x933bd8c)’) called at

/opt/rt3/bin/webmux.pl line 135
eval {…}(‘HTML::Mason::ApacheHandler=HASH(0x93393a8)’,
‘Apache=SCALAR(0x933bd8c)’) called at /opt/rt3/bin/webmux.pl line 135
RT::Mason::handler(‘Apache=SCALAR(0x933bd8c)’) called at /dev/null line 0
eval {…}(‘Apache=SCALAR(0x933bd8c)’) calle

Hello!

I got big problems to install the statistic page. After installing, the
statistic
menue point appeared immediatly, but I don’t get any graphics if I
choose
one of the
statistic pages. For example if I try
TimeToResolve I got the following errors for the “Chart”-Url.
When I define the data array manually in Chart" it seems to work.

Bye!

System Suse8.2/Apache1.3.28/modperl1/RT3.06

What are Your versions of perl, gdlib, GD::Graph? Can You send me a
copy of the URL string that is falsely generated.

What are the names of Your queues?

System error
error: Can’t call method “png” on an undefined value at
/opt/rt3/local/html/Statistics/TimeToResolve/Elements/Chart line 2.
context:
1: <%perl>
2: print $graph->plot(@data)->$format();
3: $m->abort();
4: print “”;
5: print $#data+1 . " Plot Elements:

";
6: for (0…$#data) {

mental note: remove debug statements before releasing…


code stack:
/opt/rt3/local/html/Statistics/TimeToResolve/Elements/Chart:2
g /opt/rt3/share/html/autohandler:182
g

raw:
Can’t call method “png” on an undefined value at
/opt/rt3/local/html/Statistics/TimeToResolve/Elements/Chart line 2.

Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm
line
131
HTML::Mason::Exceptions::rethrow_exception('Can't call method “png”
on an
undefined value at

/opt/rt3/local/html/Statistics/TimeToResolve/Elements/Chart line 2.^J’)

^^^^^

Where does this control character come from?

[snip]

Regards,
Harald