[rt-users] Can't locate Statistics.pm in @INC

phillip phillip at reportstar.net
Thu May 13 04:37:19 EDT 2004


I running a box with the following:-

Redhat 9.0,
Perl 5.8.0
gd-2.0.15-1
gd-devel-2.0.15-1
RT 3.0.10

I have just installed the statistics package and I have made a tab for it but 
when I click on the Statistics tabs I get the following error:-

Sorry it's long:-

System error


error: 
Error during compilation of 
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:
Can't locate Statistics.pm in @INC (@INC contains: /opt/rt3/local/lib 
/opt/rt3/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . 
/usr/local/apache/ /usr/local/apache/lib/perl) at 
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html line 85.

Stack:
 [/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]
 [Statistics.pm:85]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:534]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]
 [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]
 [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]
 [/opt/rt3/bin/webmux.pl:138]
 [Statistics.pm:85]
BEGIN failed--compilation aborted at 
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html line 85.

Stack:
 [/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:534]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]
 [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]
 [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]
 [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]
 [/opt/rt3/bin/webmux.pl:138]
 [/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]



context: 
 

... 


81: 
$weekends => $Statistics::PerDayWeekends


82: 
$dateformat => $Statistics::PerDayDateFormat


83: 
</%ARGS>


84: 


85: 
<%INIT>


86: 
use Statistics;


87: 


88: 
my $n = 0;


89: 
my @data = ([]);


... 



code stack: 
 /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:317
 /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198
 /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
 /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60
 /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265
 /usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343
 /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213
 /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863
 /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789
 /opt/rt3/bin/webmux.pl:138
 /dev/null:0
 

raw error
    
Error during compilation of 
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:
Can't locate Statistics.pm in @INC (@INC contains: /opt/rt3/local/lib 
/opt/rt3/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . 
/usr/local/apache/ /usr/local/apache/lib/perl) at 
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html line 85.

Stack:
  [/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]
  [Statistics.pm:85]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:534]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]
  [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]
  [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]
  [/opt/rt3/bin/webmux.pl:138]
  [Statistics.pm:85]
BEGIN failed--compilation aborted at 
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html line 85.

Stack:
  [/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:534]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]
  [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]
  [/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]
  [/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]
  [/opt/rt3/bin/webmux.pl:138]
  [/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]



Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 580
HTML::Mason::Interp::_compilation_error('HTML::Mason::Interp=HASH(0x939dc68)', 
'/opt/rt3/share/html/Statistics/CallsQueueDay/index.html', 'Error during 
compilation of :^JCan\'t locate Statistics.pm in @INC (@INC contains: 
/opt/rt3/local/lib /opt/rt3/lib /usr/lib/perl5/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl . 
/usr/local/apache/ /usr/local/apache/lib/perl) at 
/opt/rt3/share/html/Statistics/CallsQueueDay/index.html line 85.^J^JStack:^J  
[/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]^J  
[Statistics.pm:85]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:534]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]^J  
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]^J  
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]^J  
[/opt/rt3/bin/webmux.pl:138]^J  [Statistics.pm:85]^JBEGIN failed--compilation 
aborted at /opt/rt3/share/html/Statistics/CallsQueueDay/index.html line 
85.^J^JStack:^J  
[/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:534]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]^J  
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]^J  
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]^J  
[/opt/rt3/bin/webmux.pl:138]^J  
[/opt/rt3/share/html/Statistics/CallsQueueDay/index.html:85]^J^J^JStack:^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:311]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:60]^J  
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:265]^J  
[/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:343]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:213]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:863]^J  
[/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:789]^J  
[/opt/rt3/bin/webmux.pl:138]^J  [/dev/null:0]^J') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 317
HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x939dc68)', 
'/Statistics/CallsQueueDay/index.html') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 198
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186
HTML::Mason::Request::_initialize('HTML::Mason::Request::ApacheHandler=HASH(0x93508bc)') 
called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 166
HTML::Mason::Request::new('HTML::Mason::Request::ApacheHandler', 'error_mode', 
'output', 'error_format', 'html', 'autoflush', 1, 'interp', 
'HTML::Mason::Interp=HASH(0x939dc68)', 'comp', 
'/Statistics/CallsQueueDay/index.html', 'args', 'ARRAY(0x9355328)', 'ah', 
'HTML::Mason::ApacheHandler=HASH(0x915d31c)', 'apache_req', 
'Apache=SCALAR(0x915d2ec)', 'container', 'HASH(0x92a2c24)') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 60
HTML::Mason::Request::ApacheHandler::new('HTML::Mason::Request::ApacheHandler', 
'error_mode', 'output', 'error_format', 'html', 'autoflush', 1, 'interp', 
'HTML::Mason::Interp=HASH(0x939dc68)', 'comp', 
'/Statistics/CallsQueueDay/index.html', 'args', 'ARRAY(0x9355328)', 'ah', 
'HTML::Mason::ApacheHandler=HASH(0x915d31c)', 'apache_req', 
'Apache=SCALAR(0x915d2ec)', 'container', 'HASH(0x92a2c24)') called at 
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
Class::Container::call_method('HTML::Mason::Interp=HASH(0x939dc68)', 
'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x939dc68)', 'comp', 
'/Statistics/CallsQueueDay/index.html', 'args', 'ARRAY(0x9355328)', 'ah', 
'HTML::Mason::ApacheHandler=HASH(0x915d31c)', 'apache_req', 
'Apache=SCALAR(0x915d2ec)', 'container', 'HASH(0x92a2c24)') called at 
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343
Class::Container::create_delayed_object('interp', 
'HTML::Mason::Interp=HASH(0x939dc68)', 'comp', 
'/Statistics/CallsQueueDay/index.html', 'args', 'ARRAY(0x9355328)', 'ah', 
'HTML::Mason::ApacheHandler=HASH(0x915d31c)', 'apache_req', 
'Apache=SCALAR(0x915d2ec)', 'container', 'HASH(0x92a2c24)') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 213
HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x939dc68)', 
'comp', '/Statistics/CallsQueueDay/index.html', 'args', 'ARRAY(0x9355328)', 
'ah', 'HTML::Mason::ApacheHandler=HASH(0x915d31c)', 'apache_req', 
'Apache=SCALAR(0x915d2ec)') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 863
eval {...} at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 
862
HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH(0x915d31c)', 
'Apache=SCALAR(0x915d2ec)') called at 
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 789
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x915d31c)', 
'Apache=SCALAR(0x915d2ec)') called at /opt/rt3/bin/webmux.pl line 138
eval {...} at /opt/rt3/bin/webmux.pl line 138
RT::Mason::handler('Apache=SCALAR(0x915d2ec)') called at /dev/null line 0
eval {...} at /dev/null line 0

 




More information about the rt-users mailing list