Tags:
create new tag
view all tags

Question

Hello,

I'm trying to set up a blog with the BlogPlugin. I thought I had installed all of the dependencies, used the configure script to make sure all were enabled, and then attempted to use the BlogFactory to set up a test blog. However, instead of creating the blog, I get the following error message:

Unknown Action BlogPlugin/createblog

So, I took a look at the logs and also the InstalledPlugins topic, and found that BlogPlugin was generating the following error:

TWiki::Plugins::BlogPlugin could not be loaded. Errors were: Can't locate TWiki/Contrib/DBCacheContrib.pm in @INC (@INC contains: /software/www/cgi-bin/wikiblog/lib/CPAN/lib//arch/ /software/www/cgi-bin/wikiblog/lib/CPAN/lib//5.8.8/i686-linux/ /software/www/cgi-bin/wikiblog/lib/CPAN/lib//5.8.8/ /software/www/cgi-bin/wikiblog/lib/CPAN/lib// /software/www/cgi-bin/wikiblog/lib . /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl) at /software/www/cgi-bin/wikiblog/lib/TWiki/Plugins/DBCachePlugin/WebDB.pm line 21. BEGIN failed--compilation aborted at /software/www/cgi-bin/wikiblog/lib/TWiki/Plugins/DBCachePlugin/WebDB.pm line 21. Compilation failed in require at /software/www/cgi-bin/wikiblog/lib/TWiki/Plugins/BlogPlugin/WebDB.pm line 21. BEGIN failed--compilation aborted at /software/www/cgi-bin/wikiblog/lib/TWiki/Plugins/BlogPlugin/WebDB.pm line 21. Compilation failed in require at /software/www/cgi-bin/wikiblog/lib/TWiki/Plugins/BlogPlugin.pm line 24. BEGIN failed--compilation aborted at /software/www/cgi-bin/wikiblog/lib/TWiki/Plugins/BlogPlugin.pm line 24. Compilation failed in require at (eval 34) line 1. BEGIN failed--compilation aborted at (eval 34) line 1.

Knowing that DBCacheContrib was not installed, I tried to download and unzip the zipped file and after that didn't work, also untar the tarred file, but only kept getting errors such as the following:

Cannot open file: it does not appear to be a valid archive

As well as the following error message:

tar -xvf DBCacheContrib.tar tar: This does not look like a tar archive tar: Skipping to next header tar: Read 3904 bytes from DBCacheContrib.tar tar: Error exit delayed from previous errors

Please help! Thanks!

Environment

TWiki version: TWikiRelease04x00x01
TWiki plugins: SpreadSheetPlugin, AliasPlugin, CommentPlugin, DBCachePlugin, EditTablePlugin, EmptyPlugin, ExtendedSelectPlugin, FilterPlugin, GluePlugin, HeadlinesPlugin, IfDefinedPlugin, InterwikiPlugin, PreferencesPlugin, RedDotPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, TagCloudPlugin, TimeSincePlugin, TwistyPlugin, WysiwygPlugin
Server OS: CentOS
Web server: Apache/2.0.52
Perl version: perl, v5.8.8 built for i686-linux
Client OS: MS Windows
Web Browser: Firefox/IE
Categories: Plugins

-- TWikiGuest - 05 Jul 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Hm, I just checked the tar archive that is uploaded to twiki.org. It seems to be just fine.

Where do you have the DBCacheContrib.tar file from? Note, that the original file is a tgz, a compressed tar file, not a tar file. Yours is either having the wrong extension (tar) or you uncompressed first and thereby creating an illegal tar file. Use tar xzf DBCacheContrib.tgz to uncompress and unpack tgz files in one step.

-- MichaelDaum - 05 Jul 2006

Thanks for responding so quickly Michael! I really appreciate it. I tried your suggestion, and got the following errors:

tar xzf DBCacheContrib.tgz tar: This does not look like a tar archive tar: Skipping to next header tar: Read 3904 bytes from DBCacheContrib.tgz tar: Error exit delayed from previous errors tar -xzf DBCacheContrib.tgz tar: This does not look like a tar archive tar: Skipping to next header tar: Read 3904 bytes from DBCacheContrib.tgz tar: Error exit delayed from previous errors

I did try downloading another tar archive (for the WYSIWYG plugin) and did not have any problems extracting the files with gunzip and tar. Are you sure there is nothing wrong with the tar file?

-- TWikiGuest - 05 Jul 2006

This is strange indeed. I downloaded the tgz file and found it to be compressed twice. This is either a bug of the BuildContrib used to package and upload things or a miss-configuration of twiki.org. For now, use the zip instead of the tgz file.

-- MichaelDaum - 05 Jul 2006

It may well be just a coincidence, but this also happened with VotePlugin. See the IRC log.

-- MeredithLesly - 06 Jul 2006

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2006-07-06 - MeredithLesly
 
  • 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.