Item8308: Installation fails and leaves the plugin disabled

pencil
Priority: Normal
Current State: Closed
Released In:
Target Release:
Applies To: Extension
Component: ChecklistPlugin
Branches:
Reported By: Foswiki:Main.IngoKappler
Waiting For: Main.IngoKappler
Last Change By: IngoKappler
After installing the plugin on my test system the following state is encountered although the Plugin is enabled in configure:

ChecklistPlugin Disabled.png
Plugin is disabled although enabled in configure

The following errors are listed in InstalledPlugins:

Foswiki::Plugins::ChecklistPlugin could not be loaded.  Errors were:
Attempt to reload Foswiki/Plugins/ChecklistPlugin.pm aborted.
Compilation failed in require at (eval 636) line 2.
 at (eval 636) line 2
   Foswiki::Plugin::BEGIN() called at (eval 636) line 2
   eval {...} called at (eval 636) line 2
   eval 'use Foswiki::Plugins::ChecklistPlugin
;' called at /srv/www/foswiki/lib/Foswiki/Plugin.pm line 133
   Foswiki::Plugin::load('Foswiki::Plugin=HASH(0xbae9f10)') called at /srv/www/foswiki/lib/Foswiki/Plugins.pm line 174
   Foswiki::Plugins::load('Foswiki::Plugins=HASH(0xb683918)', undef) called at /srv/www/foswiki/lib/Foswiki/Users.pm line 247
   Foswiki::Users::initialiseUser('Foswiki::Users=HASH(0xb681070)', 'ingo') called at /srv/www/foswiki/lib/Foswiki.pm line 1571
   Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0xb69ddc0)', 'HASH(0xa03dea8)') called at /srv/www/foswiki/lib/Foswiki/UI.pm line 293
   Foswiki::UI::_execute('Foswiki::Request=HASH(0xb69ddc0)', 'CODE(0xa40f498)', 'view', 1) called at /srv/www/foswiki/lib/Foswiki/UI.pm line 275
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0xb69ddc0)') called at /srv/www/foswiki/lib/Foswiki/Engine/Apache.pm line 87
   Foswiki::Engine::Apache::run('Apache2::RequestRec=SCALAR(0x9e3b378)') called at (eval 636) line 2
   eval {...} called at (eval 636) line 2
BEGIN failed--compilation aborted at (eval 636) line 2.
 at (eval 636) line 2
   eval 'use Foswiki::Plugins::ChecklistPlugin
;' called at /srv/www/foswiki/lib/Foswiki/Plugin.pm line 133
   Foswiki::Plugin::load('Foswiki::Plugin=HASH(0xbae9f10)') called at /srv/www/foswiki/lib/Foswiki/Plugins.pm line 174
   Foswiki::Plugins::load('Foswiki::Plugins=HASH(0xb683918)', undef) called at /srv/www/foswiki/lib/Foswiki/Users.pm line 247
   Foswiki::Users::initialiseUser('Foswiki::Users=HASH(0xb681070)', 'ingo') called at /srv/www/foswiki/lib/Foswiki.pm line 1571
   Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0xb69ddc0)', 'HASH(0xa03dea8)') called at /srv/www/foswiki/lib/Foswiki/UI.pm line 293
   Foswiki::UI::_execute('Foswiki::Request=HASH(0xb69ddc0)', 'CODE(0xa40f498)', 'view', 1) called at /srv/www/foswiki/lib/Foswiki/UI.pm line 275
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0xb69ddc0)') called at /srv/www/foswiki/lib/Foswiki/Engine/Apache.pm line 87
   Foswiki::Engine::Apache::run('Apache2::RequestRec=SCALAR(0x9e3b378)') called at (eval 636) line 2
   eval {...} called at (eval 636) line 2

----

or after an apache2 restart and full page reload of InstalledPlugins:

Foswiki::Plugins::ChecklistPlugin could not be loaded.  Errors were:
Bareword "SystemWebName" not allowed while "strict subs" in use at /srv/www/foswiki/lib/Foswiki/Plugins/ChecklistPlugin.pm line 1032.
Compilation failed in require at (eval 72) line 2.
 at (eval 72) line 2
   Foswiki::Plugin::BEGIN() called at /srv/www/foswiki/lib/Foswiki/Plugins/ChecklistPlugin.pm line 2
   eval {...} called at /srv/www/foswiki/lib/Foswiki/Plugins/ChecklistPlugin.pm line 2
   eval 'use Foswiki::Plugins::ChecklistPlugin
;' called at /srv/www/foswiki/lib/Foswiki/Plugin.pm line 133
   Foswiki::Plugin::load('Foswiki::Plugin=HASH(0xab2b870)') called at /srv/www/foswiki/lib/Foswiki/Plugins.pm line 174
   Foswiki::Plugins::load('Foswiki::Plugins=HASH(0xa1f90a0)', undef) called at /srv/www/foswiki/lib/Foswiki/Users.pm line 247
   Foswiki::Users::initialiseUser('Foswiki::Users=HASH(0xa2af398)', 'ingo') called at /srv/www/foswiki/lib/Foswiki.pm line 1571
   Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0xa1add20)', 'HASH(0x9df1fc0)') called at /srv/www/foswiki/lib/Foswiki/UI.pm line 293
   Foswiki::UI::_execute('Foswiki::Request=HASH(0xa1add20)', 'CODE(0xa1ad8f0)', 'view', 1) called at /srv/www/foswiki/lib/Foswiki/UI.pm line 275
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0xa1add20)') called at /srv/www/foswiki/lib/Foswiki/Engine/Apache.pm line 87
   Foswiki::Engine::Apache::run('Apache2::RequestRec=SCALAR(0xa1ad720)') called at /srv/www/foswiki/lib/Foswiki/Plugins/ChecklistPlugin.pm line 2
   eval {...} called at /srv/www/foswiki/lib/Foswiki/Plugins/ChecklistPlugin.pm line 2
BEGIN failed--compilation aborted at (eval 72) line 2.
 at (eval 72) line 2
   eval 'use Foswiki::Plugins::ChecklistPlugin
;' called at /srv/www/foswiki/lib/Foswiki/Plugin.pm line 133
   Foswiki::Plugin::load('Foswiki::Plugin=HASH(0xab2b870)') called at /srv/www/foswiki/lib/Foswiki/Plugins.pm line 174
   Foswiki::Plugins::load('Foswiki::Plugins=HASH(0xa1f90a0)', undef) called at /srv/www/foswiki/lib/Foswiki/Users.pm line 247
   Foswiki::Users::initialiseUser('Foswiki::Users=HASH(0xa2af398)', 'ingo') called at /srv/www/foswiki/lib/Foswiki.pm line 1571
   Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0xa1add20)', 'HASH(0x9df1fc0)') called at /srv/www/foswiki/lib/Foswiki/UI.pm line 293
   Foswiki::UI::_execute('Foswiki::Request=HASH(0xa1add20)', 'CODE(0xa1ad8f0)', 'view', 1) called at /srv/www/foswiki/lib/Foswiki/UI.pm line 275
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0xa1add20)') called at /srv/www/foswiki/lib/Foswiki/Engine/Apache.pm line 87
   Foswiki::Engine::Apache::run('Apache2::RequestRec=SCALAR(0xa1ad720)') called at (eval 72) line 2
   eval {...} called at (eval 72) line 2

----

I am using ModPerlEngineContrib in case the issue may somehow be related, though it wasn't an issue until the current version v1.025 (15 Oct 2009).

-- IngoKappler - 16 Oct 2009

This installation issue is solved now, closed the bug.

-- IngoKappler - 21 Oct 2009
 

ItemTemplate edit

Summary Installation fails and leaves the plugin disabled
ReportedBy Foswiki:Main.IngoKappler
Codebase 1.0.7
SVN Range Foswiki-1.0.7, Sun, 20 Sep 2009, build 5061
AppliesTo Extension
Component ChecklistPlugin
Priority Normal
CurrentState Closed
WaitingFor IngoKappler
Checkins ChecklistPlugin:f0963077b674
ReleasedIn
I Attachment Action Size Date Who Comment
ChecklistPlugin_Disabled.pngpng ChecklistPlugin_Disabled.png manage 3 K 16 Oct 2009 - 12:39 IngoKappler ChecklistPlugin_Disabled.png
Topic revision: r5 - 21 Oct 2009, IngoKappler
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