This question about Using an extension: Needs followup in Tasks

DownloadZipPlugin extension not working

The DownloadZip Plugin is not working. I get the following Dump in plugin diagnostics and plugin is disabled
Foswiki::Plugins::DownloadZipPlugin could not be loaded.  Errors were:
Global symbol "$pluginName" requires explicit package name at D:/Foswiki/Foswiki/lib/Foswiki/Plugins/DownloadZipPlugin.pm line 56.
Global symbol "$pluginName" requires explicit package name at D:/Foswiki/Foswiki/lib/Foswiki/Plugins/DownloadZipPlugin.pm line 61.
Global symbol "$pluginName" requires explicit package name at D:/Foswiki/Foswiki/lib/Foswiki/Plugins/DownloadZipPlugin.pm line 80.
BEGIN not safe after errors--compilation aborted at D:/Foswiki/Foswiki/lib/Foswiki/Plugins/DownloadZipPlugin.pm line 83.
 at D:/Foswiki/Foswiki/lib/Foswiki/Plugins/DownloadZipPlugin.pm line 83
   require Foswiki/Plugins/DownloadZipPlugin.pm called at (eval 65) line 2
   Foswiki::Plugin::BEGIN() called at D:/Foswiki/Foswiki/lib/Foswiki/Plugins/DownloadZipPlugin.pm line 83
   eval {...} called at D:/Foswiki/Foswiki/lib/Foswiki/Plugins/DownloadZipPlugin.pm line 83
   eval 'use Foswiki::Plugins::DownloadZipPlugin
;' called at D:/Foswiki/Foswiki/lib/Foswiki/Plugin.pm line 118
   Foswiki::Plugin::load('Foswiki::Plugin=HASH(0x15e6904)') called at D:/Foswiki/Foswiki/lib/Foswiki/Plugins.pm line 186
   Foswiki::Plugins::load('Foswiki::Plugins=HASH(0x11fc8ac)', undef) called at D:/Foswiki/Foswiki/lib/Foswiki/Users.pm line 262
   Foswiki::Users::initialiseUser('Foswiki::Users=HASH(0x11fc86c)', 'guest') called at D:/Foswiki/Foswiki/lib/Foswiki.pm line 1839
   Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0x1189394)', 'HASH(0x1173124)') called at D:/Foswiki/Foswiki/lib/Foswiki/UI.pm line 309
   Foswiki::UI::__ANON__() called at D:/Foswiki/Foswiki/lib/CPAN/lib/Error.pm line 379
   eval {...} called at D:/Foswiki/Foswiki/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x3e9b4c)', 'HASH(0x11c02ac)') called at D:/Foswiki/Foswiki/lib/Foswiki/UI.pm line 435
   Foswiki::UI::_execute('Foswiki::Request=HASH(0x1189394)', 'CODE(0x11890b4)', 'view', 1) called at D:/Foswiki/Foswiki/lib/Foswiki/UI.pm line 277
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1189394)') called at D:/Foswiki/Foswiki/lib/Foswiki/Engine/CGI.pm line 37
   Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x9c29d4)') called at D:/Foswiki/Foswiki/bin/view line 24
Compilation failed in require at (eval 65) line 2.
 at (eval 65) line 2
   Foswiki::Plugin::BEGIN() called at D:/Foswiki/Foswiki/lib/Foswiki/Plugins/DownloadZipPlugin.pm line 2
   eval {...} called at D:/Foswiki/Foswiki/lib/Foswiki/Plugins/DownloadZipPlugin.pm line 2
   eval 'use Foswiki::Plugins::DownloadZipPlugin
;' called at D:/Foswiki/Foswiki/lib/Foswiki/Plugin.pm line 118
   Foswiki::Plugin::load('Foswiki::Plugin=HASH(0x15e6904)') called at D:/Foswiki/Foswiki/lib/Foswiki/Plugins.pm line 186
   Foswiki::Plugins::load('Foswiki::Plugins=HASH(0x11fc8ac)', undef) called at D:/Foswiki/Foswiki/lib/Foswiki/Users.pm line 262
   Foswiki::Users::initialiseUser('Foswiki::Users=HASH(0x11fc86c)', 'guest') called at D:/Foswiki/Foswiki/lib/Foswiki.pm line 1839
   Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0x1189394)', 'HASH(0x1173124)') called at D:/Foswiki/Foswiki/lib/Foswiki/UI.pm line 309
   Foswiki::UI::__ANON__() called at D:/Foswiki/Foswiki/lib/CPAN/lib/Error.pm line 379
   eval {...} called at D:/Foswiki/Foswiki/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x3e9b4c)', 'HASH(0x11c02ac)') called at D:/Foswiki/Foswiki/lib/Foswiki/UI.pm line 435
   Foswiki::UI::_execute('Foswiki::Request=HASH(0x1189394)', 'CODE(0x11890b4)', 'view', 1) called at D:/Foswiki/Foswiki/lib/Foswiki/UI.pm line 277
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1189394)') called at D:/Foswiki/Foswiki/lib/Foswiki/Engine/CGI.pm line 37
   Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x9c29d4)') called at D:/Foswiki/Foswiki/bin/view line 24
BEGIN failed--compilation aborted at (eval 65) line 2.
 at (eval 65) line 2
   eval 'use Foswiki::Plugins::DownloadZipPlugin
;' called at D:/Foswiki/Foswiki/lib/Foswiki/Plugin.pm line 118
   Foswiki::Plugin::load('Foswiki::Plugin=HASH(0x15e6904)') called at D:/Foswiki/Foswiki/lib/Foswiki/Plugins.pm line 186
   Foswiki::Plugins::load('Foswiki::Plugins=HASH(0x11fc8ac)', undef) called at D:/Foswiki/Foswiki/lib/Foswiki/Users.pm line 262
   Foswiki::Users::initialiseUser('Foswiki::Users=HASH(0x11fc86c)', 'guest') called at D:/Foswiki/Foswiki/lib/Foswiki.pm line 1839
   Foswiki::new('Foswiki', undef, 'Foswiki::Request=HASH(0x1189394)', 'HASH(0x1173124)') called at D:/Foswiki/Foswiki/lib/Foswiki/UI.pm line 309
   Foswiki::UI::__ANON__() called at D:/Foswiki/Foswiki/lib/CPAN/lib/Error.pm line 379
   eval {...} called at D:/Foswiki/Foswiki/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x3e9b4c)', 'HASH(0x11c02ac)') called at D:/Foswiki/Foswiki/lib/Foswiki/UI.pm line 435
   Foswiki::UI::_execute('Foswiki::Request=HASH(0x1189394)', 'CODE(0x11890b4)', 'view', 1) called at D:/Foswiki/Foswiki/lib/Foswiki/UI.pm line 277
   Foswiki::UI::handleRequest('Foswiki::Request=HASH(0x1189394)') called at D:/Foswiki/Foswiki/lib/Foswiki/Engine/CGI.pm line 37
   Foswiki::Engine::CGI::run('Foswiki::Engine::CGI=HASH(0x9c29d4)') called at D:/Foswiki/Foswiki/bin/view line 24

----

-- HarshadDivekar - 12 Mar 2013

Try TopicInteractionPlugin which has got a "download selected files as zip" feature as well (see screenshots).

-- MichaelDaum - 12 Mar 2013
 

QuestionForm edit

Subject Using an extension
Extension DownloadZipPlugin
Version Foswiki 1.1.5
Status Needs followup in Tasks
Related Topics
Topic revision: r3 - 07 Apr 2013, GeorgeClark
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