Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, CommentPlugin. SpreadSheetPlugin, CommentPlugin, ActionTrackerPlugin, EditTablePlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, XpTrackerPlugin
Server OS: Linux Fedora core 2
Web server: apache 2.0.51
Perl version: 5.8.3
Client OS: MS WindowsXP
Web Browser: FireFox 1.0.4
Categories: Plugins, Mail

-- 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

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2005-12-08 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.