cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
This question about Using an extension: Asked

ApprovalPlugin installation failed

I selected to install the workflow plugin from bin/configure but the installation failed with this message:
************************************************************
Could not load /home/gbdk/domains/golfbravo.net/rxb/tools/extender.pl
There was a compile error: Useless use of hash element in void context at /home/gbdk/domains/golfbravo.net/rxb/lib/Foswiki/Plugins/ApprovalPlugin/Approval.pm line 54.
Compilation failed in require at /home/gbdk/domains/golfbravo.net/rxb/lib/Foswiki/Plugins/ApprovalPlugin.pm line 661.
BEGIN failed--compilation aborted at /home/gbdk/domains/golfbravo.net/rxb/tools/extender.pl line 147.

Error when trying to eval the file content: This installer must be run from the root directory of a Foswiki installation at /usr/share/perl/5.8/CGI/Carp.pm line 314.
BEGIN failed--compilation aborted at (eval 148) line 147.

As a workaround, I can probably install the plugin the old manual way, but in any case, this problem makes me wonder:

Is this a general problem with installing this plugin, or does it only affect me?

Background: This is a hosted install on Dreamhost.com, on a Foswiki instance that was only installed a few days ago. Several other plugins have been installed perfectly using this automatic installer.
Erm, the message relates to ApprovalPlugin, not WorkflowPlugin.

I believe ApprovalPlugin re-used some of the code from WorkflowPlugin. Possibly there is an incompatibility there.

-- CrawfordCurrie - 06 May 2010

True, thank you for the correction. Sadly, no solution yet.

-- TorbenGB - 11 Jul 2010

QuestionForm edit

Subject Using an extension
Extension ApprovalPlugin
Version Foswiki 1.0.9
Status Asked
Topic revision: r5 - 11 Jul 2010, TorbenGB - This page was cached on 22 Jun 2018 - 12:14.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy