[rt-users] Standard RT Reporting and Statistics

matthew zeier mrz at intelenet.net
Fri Sep 19 00:20:21 EDT 2003


What's  your apache config look like?  I've not been able to get the graphs
to work at all and don't really care if I have to use Apache::GD:Graph or
not.

----- Original Message ----- 
From: "THAUVIN Blaise (Dir. Informatique)" <bthauvin at clearchannel.fr>
To: "Harald Wagener" <hwagener at hamburg.fcb.com>; <rt-users at lists.fsck.com>
Sent: Wednesday, September 17, 2003 1:42 PM
Subject: RE: [rt-users] Standard RT Reporting and Statistics


Hi,

This last mail from Harald helped me a lot, I now managed to get a graph,
but only by manually editing the URL called :

Here are my findings :

1) As the mail says, Apache::GD::Graph is needed. The Readme file says it is
not, that was the main reason why my install did not work. The README file
should add the info about the Apache config file.

2) The Statistics tabs still does not appear. If I drop the "Tabs" file into
my local/html directory, RT crashes with the folowing message : 32 levels
deep in component stack (infinite recursive call?) (full error message
pasted at the end) (RT 3.0.5 with RTFM installed. I used to see the
Statistics tabs before, it may be before I installed RTFM)

3) The URL for the graph does not work :
http://hotline.dauphin-affichage.com/Statistics/CallsQueueDay/Elements/Chart?x_labels=Thu%2011,Fri%2012,Mon%2015,Tue%2016,Wed%2017&data1=9,6,10,7,3&data2=18,8,12,9,4&data3=0,0,0,1,0

I can get a correct graph if :
   a) I change the path to shorten it and replace "Chart" with "chart".
   b) I change the variables to arrays, adding [] pairs.

The URL bellow works OK
http://hotline.dauphin-affichage.com/chart?x_labels=[Thu%2011,Fri%2012,Mon%2015,Tue%2016,Wed%2017]&data1=[9,6,10,7,3]&data2=[18,8,12,9,4]&data3=[0,0,0,1,0]


I hope this can help

Blaise


-----Message d'origine-----
De : Harald Wagener [mailto:hwagener at hamburg.fcb.com]
Envoyé : mercredi 17 septembre 2003 11:11
À : rt-users at lists.fsck.com
Objet : Re: [rt-users] Standard RT Reporting and Statistics



On Dienstag, 16. September 2003, at 22:33Uhr, Joseph Spenner wrote:

> I'm using RT2, therefore limited to the RT2 stats from
> the URL below.  Simple enough to install, but the
> graphs don't work.  I get a broken link which attempts
> to go to:
>
> http://my.rtbox//chart?
> type=bars&x_labels=[Sun,Mon,Tue,Wed,Thu,Fri,Sat]&data1=[,66,50,50,21,50
> 0,]&data2=[16,169,211,229,170,144,18]&data3=[,16,36,31,15,42,]
>
> What is the stats package trying to find?
>
>

You are probably missing a script alias from /chart to
Apache::GD::Graph. Do You have the following for Your rt vhost?

   <Location /chart>
         <IfModule mod_perl.c>
             SetHandler perl-script
             PerlHandler +Apache::GD::Graph
         </IfModule>
     </Location>

You also need, Apache::GD::Graph, hence GD::Graph, hence libgd
installed and working for RT2. The statistics package for RT2 only
works if You use mod_perl.

Regards,
     Harald
----------------------------------------------------------------------------
-----------------

Error message when starting RT

System error

error:  32 levels deep in component stack (infinite recursive call?)

context:  ...
160:  die "Cannot make alias without caller"
161:  unless defined $Exception::Class::Caller;
162:
163:  no strict 'refs';
164:  *{"$Exception::Class::Caller\::$alias"} = sub {
$subclass->throw(@_) };
165:  }
166:
167:  eval $code;
168:
...

code stack:  /usr/local/lib/perl5/site_perl/5.8.0/Exception/Class.pm:164
/usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:975
/usr/local/rt3/share/html/Elements/Callback:58
/usr/local/rt3/local/html/Elements/Tabs:52
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
/usr/local/rt3/local/html/Elements/Tabs:24
...

---------------------------------------------------------------------
_______________________________________________
rt-users mailing list
rt-users at lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm




More information about the rt-users mailing list