[rt-users] timeworked.pl requires every extension lib to be added?

Jo Rhett jrhett at netconsonance.com
Fri Sep 25 21:02:22 EDT 2009


So I'm testing out your time worked report, and I'm finding that each  
and every extension I've added needs to be put in your "use lib"  
line.   Couldn't you simplify this and use the same lib path  
adjustment as the main RT instance?  Or better yet, not include the  
extensions?  Do you really need them?

[rtweb at kininvie ~]$ ./timeworked.pl --startdate 2009-09-20 --enddate  
2009-09-27 --queues Support --debug
DEBUG: Time zone offset is -25200.
DEBUG: Using starting date string 2009-09-20 07:00:00
DEBUG: Using ending date string 2009-09-27 07:00:00
Can't locate RT/FM.pm in @INC (@INC contains: /d/u/rtweb/../local/lib / 
d/u/rtweb/../lib /u/rtweb/rt38/lib /usr/local/lib/perl5/5.8.8/BSDPAN / 
usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/ 
site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/ 
perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /u/rtweb/rt38/lib/ 
RT.pm line 628.

* edits use lib line...

$ ./timeworked.pl --startdate 2009-09-20 --enddate 2009-09-27 --queues  
Support --debug
DEBUG: Time zone offset is -25200.
DEBUG: Using starting date string 2009-09-20 07:00:00
DEBUG: Using ending date string 2009-09-27 07:00:00
Can't locate RT/Extension/ForkTicket.pm in @INC (@INC contains: /d/u/ 
rtweb/../local/lib /d/u/rtweb/../lib /u/rtweb/rt38/lib /u/rtweb/rt38/ 
local/plugins/RT-FM/lib /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/ 
lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 / 
usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/ 
local/lib/perl5/5.8.8 .) at /u/rtweb/rt38/lib/RT.pm line 628.

* edits use lib line...

(next error)

* smacks head against table

;-)

-- 
Jo Rhett
Net Consonance : consonant endings by net philanthropy, open source  
and other randomness

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20090925/fcdcabba/attachment.htm>


More information about the rt-users mailing list