Tags:
create new tag
view all tags

Question

After a successful installation of the lates TWiki beta and several PlugIns everything was fine until I tried to install the ActionTrackerPlugIn (including Time-modules-2003-1126 from CPAN).
And now I get the following error message for all pages:


TWiki Installation Error
Template file view.tmpl not found or template directory /srv/twiki/templates not found.
Check the $templateDir variable in TWiki.cfg.

First I checked the templates - ok.
Second I checked the settings with testenv - ok.
Third I checked the warning.txt and found:


30 Apr 2004 - 23:30 Plugin "TWiki::Plugins::TreePlugin" could not be loaded by Perl. Errors were:
Can't locate TWiki/Plugins/TreePlugin/TWikiNode.pm in @INC (@INC contains: ../lib . /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at ../lib/TWiki/Plugins/TreePlugin.pm line 26. BEGIN failed--compilation aborted at ../lib/TWiki/Plugins/TreePlugin.pm line 26. Compilation failed in require at (eval 27) line 1. BEGIN failed--compilation aborted at (eval 27) line 1.

Does anybody know this problem and how can I fix it?

Environment

TWiki version: TWikiBetaRelease
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Suse Linux 8.1
Web server: Apache 1.3.26
Perl version: 5.8.0
Client OS:  
Web Browser:  

-- StephanPulver - 30 Apr 2004

Answer

You have a relative path for libraries. Loading of libs can fail if the current directory gets changed by a Plugin that gets initialized beforehand. Set an absolute path in your twiki/bin/setlib.cfg for the TWiki libs and you should be fine.

-- PeterThoeny - 01 May 2004

I tried this but still have the same effect? 01 May 2004 - 09:33 Plugin "TWiki::Plugins::TreePlugin" could not be loaded by Perl. Errors were:


Can't locate TWiki/Plugins/TreePlugin/TWikiNode.pm in @INC (@INC contains: /srv/twiki/lib . /usr/lib/perl5/5.8.0/i586-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at /srv/twiki/lib/TWiki/Plugins/TreePlugin.pm line 26. BEGIN failed--compilation aborted at /srv/twiki/lib/TWiki/Plugins/TreePlugin.pm line 26. Compilation failed in require at (eval 27) line 1. BEGIN failed--compilation aborted at (eval 27) line 1.

Any thing else I could try?

-- StephanPulver - 30 Apr 2004

What does InstalledPlugins say?

-- MartinCleaver - 01 May 2004

I do not come that far. The only page I can call is bin/testenv

-- StephanPulver - 01 May 2004

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2004-05-04 - StephanPulver
 
  • 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-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.