Question
I have had my TWiki server running for about 2 months now, it's being used mainly for the
ExtremeProgrammingTracker plugin. I was asked to install the
ActionTrackerPlugin to facilitate coordinating work even more. I installed all the needed modules and extracted the actionTrackerplugin zip to my twiki install dir. I ran the installation script and it said everything installed successful with no missing dependinces. I create an action in a topic and it shows up. I creat action searches and the actions are displayed, however i set up my crontab to execute the actionnotify script like it says in the install notes and when the script runs, it crashed and gives errors. This is the error I get...
Can't locate TWiki/Plugins/ActionTrackerPlugin/ActionNotify.pm in
@INC
(
@INC
contains: ../lib /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /var/www/twiki/bin/actionnotify line 20.
BEGIN failed--compilation aborted at /var/www/twiki/bin/actionnotify line 20.
in the dir twiki/lib/TWiki/plugins/ActionTrackerPlugin/ there is the
ActionNotify.pm
my crontab line is as follows: 0 * * * * /var/www/twiki/bin/actionnotify "state=\"late\""
I would like to know if anyone has any idea, or if i'm just doing something stupid.
Also Actionsearch displays all the actions fine when I added the code to a topic in the sandbox web, however, if i use Actionsearch code in a topic in any other web, no actions are displayed...any ideas?
Thanks for your help,
Alex Coates
Environment
--
AlexanderCoates - 26 May 2005
Answer
../lib indicates a relative path. Please set an absolute path in
twiki/bin/setlib.cfg.
--
PeterThoeny - 07 Jun 2005
setlib.cfg was not the problem. I found out that the
../lib is hardcoded in
bin/actionnotify. I added the following lines, inspired from other
bin/ scripts. Now it works.
BEGIN {
# Set library paths in @INC at compile time
unshift @INC, '.';
require 'setlib.cfg';
}
--
TWikiGuest - 08 Dec 2005
Thanks for sharing your fix.
--
PeterThoeny - 08 Dec 2005