Tags:
create new tag
view all tags

SID-00966: BatchUpload Plugin error

Status: Answered Answered TWiki version: 4.2.4 Perl version: 5.8.8
Category: BatchUploadPlugin Server OS: Windows SErver 2003 Last update: 15 years ago

When I try to upload a Zip file with the "Batch upload for zip file" option checked, I get the following error.

Error saving topic During save of BatchUploadPlugin an error was found by the version control system. Please notify your TWiki administrator.
Insecure dependency in chmod while running with -T switch at C:/Perl/site/lib/Archive/Zip/Member.pm line 490. at C:/Perl/site/lib/Archive/Zip/Member.pm line 490 Archive::Zip::Member::extractToFileNamed('Archive::Zip::ZipFileMember=HASH(0x7dabbac)', 'd:/TWiki/twiki/working/work_areas/BatchUploadPlugin/681915283...', 'Archive::Zip::ZipFileMember=HASH(0x7dabbac)', 'd:/TWiki/twiki/working/work_areas/BatchUploadPlugin/681915283...') called at C:/Perl/site/lib/Archive/Zip/Archive.pm line 223 Archive::Zip::Archive::extractMemberWithoutPaths('Archive::Zip::Archive=HASH(0x7e7d358)', 'Archive::Zip::ZipFileMember=HASH(0x7dabbac)', 'd:/TWiki/twiki/working/work_areas/BatchUploadPlugin/681915283...') called at d:/TWiki/twiki/lib/TWiki/Plugins/BatchUploadPlugin.pm line 338 TWiki::Plugins::BatchUploadPlugin::doUnzip('d:/TWiki/twiki/working/work_areas/BatchUploadPlugin/681915283', 'Archive::Zip::Archive=HASH(0x7e7d358)') called at d:/TWiki/twiki/lib/TWiki/Plugins/BatchUploadPlugin.pm line 197 TWiki::Plugins::BatchUploadPlugin::updateAttachment('TWiki', 'BatchUploadPlugin', '1TL.zip', 'C:\temp\5ahM6rk2BR', '', '', '') called at d:/TWiki/twiki/lib/TWiki/Plugins/BatchUploadPlugin.pm line 120 TWiki::Plugins::BatchUploadPlugin::beforeAttachmentSaveHandler('HASH(0x7e414f8)', 'BatchUploadPlugin', 'TWiki') called at d:/TWiki/twiki/lib/TWiki/Plugin.pm line 266 TWiki::Plugin::invoke('TWiki::Plugin=HASH(0x7927c74)', 'beforeAttachmentSaveHandler', 'HASH(0x7e414f8)', 'BatchUploadPlugin', 'TWiki') called at d:/TWiki/twiki/lib/TWiki/Plugins.pm line 344 TWiki::Plugins::_dispatch('TWiki::Plugins=HASH(0x792e018)', 'beforeAttachmentSaveHandler', 'HASH(0x7e414f8)', 'BatchUploadPlugin', 'TWiki') called at d:/TWiki/twiki/lib/TWiki/Plugins.pm line 742 TWiki::Plugins::beforeAttachmentSaveHandler('TWiki::Plugins=HASH(0x792e018)', 'HASH(0x7e414f8)', 'BatchUploadPlugin', 'TWiki') called at d:/TWiki/twiki/lib/TWiki/Store.pm line 991 TWiki::Store::__ANON__() called at C:/Perl/site/lib/Error.pm line 415 eval {...} called at C:/Perl/site/lib/Error.pm line 407 Error::subs::try('CODE(0x7ddfaec)', 'HASH(0x7da78c4)') called at d:/TWiki/twiki/lib/TWiki/Store.pm line 1040 TWiki::Store::saveAttachment('TWiki::Store=HASH(0x6f44c68)', 'TWiki', 'BatchUploadPlugin', '1TL.zip', 'RajeshN', 'HASH(0x7af27a0)') called at d:/TWiki/twiki/lib/TWiki/UI/Upload.pm line 239 TWiki::UI::Upload::__ANON__() called at C:/Perl/site/lib/Error.pm line 415 eval {...} called at C:/Perl/site/lib/Error.pm line 407 Error::subs::try('CODE(0x7925b88)', 'HASH(0x79517b0)') called at d:/TWiki/twiki/lib/TWiki/UI/Upload.pm line 258 TWiki::UI::Upload::upload('TWiki=HASH(0x7951474)') called at d:/TWiki/twiki/lib/TWiki/UI.pm line 159 TWiki::UI::__ANON__() called at C:/Perl/site/lib/Error.pm line 415 eval {...} called at C:/Perl/site/lib/Error.pm line 407 Error::subs::try('CODE(0x94fc54)', 'HASH(0x79a17fc)') called at d:/TWiki/twiki/lib/TWiki/UI.pm line 197 TWiki::UI::run('CODE(0x68674c0)', 'upload', 1) called at D:/TWiki/twiki/bin/upload line 32 ModPerl::ROOT::ModPerl::Registry::D_3a_TWiki_twiki_bin_upload::handler('Apache2::RequestRec=SCALAR(0x6dde370)') called at C:/Perl/site/lib/ModPerl/RegistryCooker.pm line 204 eval {...} called at C:/Perl/site/lib/ModPerl/RegistryCooker.pm line 204 ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7e0f24c)') called at C:/Perl/site/lib/ModPerl/RegistryCooker.pm line 170 ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7e0f24c)') called at C:/Perl/site/lib/ModPerl/Registry.pm line 31 ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x6dde370)') called at -e line 0 eval {...} called

-- RajeshN - 2010-09-13

Discussion and Answer

Ok, I've sorted it out myself. My server was a Windows Server 2003 and Archive:Zip perl package is completely dependent on Unix OS. So I had to remove the Archive:Zip package and Install the Compress:Zlib package to get this worked on Windows OS

-- RajeshN - 2010-09-13

      Change status to:
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.
SupportForm
Status Answered
Title BatchUpload Plugin error
SupportCategory BatchUploadPlugin
TWiki version 4.2.4
Server OS Windows SErver 2003
Web server Apache 2.0.2
Perl version 5.8.8
Topic revision: r1 - 2010-09-13 - RajeshN
 
  • 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.