Forget the error message…I was scrolling to the bottom when I should have just looked at the 3rd line down…I installed YAML and searches run clean now.
The Activity report formatting is pretty rough so I’m going to give RTx-Statistics a shot as Alan suggests. How do I remove RTx-Activity, though?
Thanks all
SteveFrom: Hersker, Steve
Sent: Thursday, April 05, 2007 11:40 AM
To: alan@hardwareandtools.com
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] Unable to add the RT Activity Reports Extensions
Thanks, Alan - I’ll check out RTx-Statistics.
Unfortunately, this morning I found that when I run a search, I get the errors below. At this point, can someone point me in the right direction as to how to best remove the RTx-Activity report extension altogether?
Thanks!!
Steve
error: Error during compilation of /opt/rt3/share/html/Callbacks/ActivityReports/Search/Results.html/SearchActions:
Can’t locate YAML.pm in @INC (@INC contains: /opt/rt3/local/lib /opt/rt3/lib /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi /usr/lib/perl5/5.8.6 . /etc/httpd) at /opt/rt3/share/html/Callbacks/ActivityReports/Search/Results.html/SearchActions line 3.
Stack:
[/opt/rt3/share/html/Callbacks/ActivityReports/Search/Results.html/SearchActions:3]
[YAML.pm:3]
[/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm:792]
[/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm:422]
[/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1092]
[/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1023]
[/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1202]
[/opt/rt3/share/html/Elements/Callback:83]
[/opt/rt3/local/html/Search/Results.html:93]
[/opt/rt3/share/html/Search/Build.html:777]
[/opt/rt3/share/html/autohandler:292]
BEGIN failed–compilation aborted at /opt/rt3/share/html/Callbacks/ActivityReports/Search/Results.html/SearchActions line 3.
Stack:
[/opt/rt3/share/html/Callbacks/ActivityReports/Search/Results.html/SearchActions:3]
[/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm:792]
[/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm:422]
[/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1092]
[/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1023]
[/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1202]
[/opt/rt3/share/html/Elements/Callback:83]
[/opt/rt3/local/html/Search/Results.html:93]
[/opt/rt3/share/html/Search/Build.html:777]
[/opt/rt3/share/html/autohandler:292]
context: 1: Generate reports
2: <%init>
3: use YAML;
4: my %args = $m->caller_args(2);
5:
6: my $QueryString = $m->comp(‘/Elements/QueryString’, query => $args{Query});
7: </%init>
…
code stack: /usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Interp.pm:426
/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1092
/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1023
/usr/lib/perl5/site_perl/5.8.6/HTML/Mason/Request.pm:1202
/opt/rt3/share/html/Elements/Callback:83
/opt/rt3/local/html/Search/Results.html:93
/opt/rt3/share/html/Search/Build.html:777
/opt/rt3/share/html/autohandler:292
raw error
From: Alan Brault [mailto:alan@hardwareandtools.com]
Sent: Thursday, April 05, 2007 8:19 AM
To: Hersker, Steve
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Unable to add the RT Activity Reports Extensions
Steve:
I had the same problem with RT 3.6.3 and that particular extension. I would recommend you use RTx-Statistics instead as that is a far better extension and works like a charm with 3.6.3.
You can download it at:
http://wiki.bestpractical.com/index.cgi?RT3StatisticsPackage
Regards,
Alan Brault
UNIX & Web Applications Developer
Hardware and Tools Corp