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?

[rt...@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

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to