Priority: Urgent
Current State: Closed
Released In: 1.0.1
Target Release: patch
Applies To: Installer
Component: Windows installer
Branches:
This happens when you install any, no specific, plugin under windows through bin/configure . It does not change if you use Foswiki or TWIki namepsace plugins.
Plugins work installing them the *.zip way
No data could be read from file at C:\Programme\Foswiki\Foswiki\tools\extender.pl line 600
at C:/Programme/Foswiki/Foswiki/bin/configure line 91
main::__ANON__('No data could be read from file at C:\Programme\Foswiki\Foswi...') called at C:/strawberry/perl/lib/Carp.pm line 46
Carp::carp('No data could be read from file') called at C:/strawberry/perl/lib/Archive/Tar.pm line 1422
Archive::Tar::_error('Archive::Tar=HASH(0x1dda604)', 'No data could be read from file') called at C:/strawberry/perl/lib/Archive/Tar.pm line 123
Archive::Tar::new('Archive::Tar', 'C:/Programme/Foswiki/Foswiki/FormPlugin.tgz', 'z') called at C:\Programme\Foswiki\Foswiki\tools\extender.pl line 600
Foswiki::Extender::untar('C:/Programme/Foswiki/Foswiki/FormPlugin.tgz') called at C:\Programme\Foswiki\Foswiki\tools\extender.pl line 543
Foswiki::Extender::unpackArchive('C:/Programme/Foswiki/Foswiki/FormPlugin.tgz') called at C:\Programme\Foswiki\Foswiki\tools\extender.pl line 888
Foswiki::Extender::_install('ARRAY(0x1d954ac)', 'FormPlugin') called at C:\Programme\Foswiki\Foswiki\tools\extender.pl line 1048
Foswiki::Extender::install('MANIFEST', 'data/System/FormPlugin.txt,0644,Documentation\x{a}data/Sandbox/Fo...', 'DEPENDENCIES', '') called at C:\Programme\Foswiki\Foswiki\FormPlugin_installer line 141
require C:\Programme\Foswiki\Foswiki\FormPlugin_installer called at C:/Programme/Foswiki/Foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 158
eval {...} called at C:/Programme/Foswiki/Foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 156
Foswiki::Configure::UIs::EXTEND::ui('Foswiki::Configure::UIs::EXTEND=HASH(0xccd69c)') called at C:/Programme/Foswiki/Foswiki/bin/configure line 561
Foswiki::_actionInstallExtension() called at C:/Programme/Foswiki/Foswiki/bin/configure line 454
at C:/strawberry/perl/lib/CGI/Carp.pm line 356
CGI::Carp::realdie('No data could be read from file at C:\Programme\Foswiki\Foswi...') called at C:/strawberry/perl/lib/CGI/Carp.pm line 437
CGI::Carp::die('No data could be read from file at C:\Programme\Foswiki\Foswi...') called at C:/Programme/Foswiki/Foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 160
eval {...} called at C:/Programme/Foswiki/Foswiki/lib/Foswiki/Configure/UIs/EXTEND.pm line 156
Foswiki::Configure::UIs::EXTEND::ui('Foswiki::Configure::UIs::EXTEND=HASH(0xccd69c)') called at C:/Programme/Foswiki/Foswiki/bin/configure line 561
Foswiki::_actionInstallExtension() called at C:/Programme/Foswiki/Foswiki/bin/configure line 454
This may be specific to the windows installer environment? I've installed Foswiki 1.0.0 on Windows XP Home manually. Apache,
ActiveState perl and have had no problems with installation of plugins using bin/configure. Also removed
ActiveState and installed Strawberry perl, Installing from bin/configure worked fine with this setup as well. Tested
FamilyTreePlugin,
DirectedGraphPlugin,
TinyMCEPlugin.
Only issue I've found - Strawberry perl crashes when installer follows dependencies. Windows detects crash in perl on dependency download. But downloading dependency individually works fine.
looks like Archive::Tar isn't that robust when called the way it is in Extend.pl - I've just found a possible fix (its a shame that Archive::Zip has a taint error on windows
place
new extender.pl file into your foswiki/tools dir (c:\Program Files\Foswiki\Foswiki\tools by default)
uploaded installer 1.0.0-2 that fixes this issue and others.
--
SvenDowideit - 26 Jan 2009
unintentionally rolled back a fix made for
Item860 - reverting that.
and yes, this is a fix for 1.0.1 that would show up without the use of the installer.
Sven