Open tuiharley opened 7 years ago
I am trying to install Spreadsheet:parseXLSX , on windows. And it s not working
I am encountering the same issue on a ubuntu system:
Distributor ID: Ubuntu Description: Ubuntu 14.04.5 LTS Release: 14.04 Codename: trusty
perl version v5.18.2
Using the force option has no effect.
Interestingly, I was able to install the module on other ubuntu systems of the same version. What is amiss or missing?
Maybe a solution/resolution.. I just upgraded the module Archive::Zip (see the error above) and then repeated the Spreadsheet::ParseXLSX installation, and voilà! success!! ... this resolved my installation problem on two different hosts... YMMV
cpan> install Spreadsheet:ParseXLSX Running install for module 'Spreadsheet::ParseXLSX' Running make for D/DO/DOY/Spreadsheet-ParseXLSX-0.27.tar.gz Checksum for C:\Dwimperl\cpan\sources\authors\id\D\DO\DOY\Spreadsheet-ParseXLSX- 0.27.tar.gz ok Scanning cache C:\Dwimperl\cpan\build for sizes ............................................................................DONE
CPAN.pm: Building D/DO/DOY/Spreadsheet-ParseXLSX-0.27.tar.gz
Checking if your kit is complete... Looks good Writing Makefile for Spreadsheet::ParseXLSX Writing MYMETA.yml and MYMETA.json cp lib/Spreadsheet/ParseXLSX.pm blib\lib\Spreadsheet\ParseXLSX.pm cp lib/Spreadsheet/ParseXLSX/Decryptor.pm blib\lib\Spreadsheet\ParseXLSX\Decrypt or.pm cp lib/Spreadsheet/ParseXLSX/Decryptor/Agile.pm blib\lib\Spreadsheet\ParseXLSX\D ecryptor\Agile.pm cp lib/Spreadsheet/ParseXLSX/Decryptor/Standard.pm blib\lib\Spreadsheet\ParseXLS X\Decryptor\Standard.pm DOY/Spreadsheet-ParseXLSX-0.27.tar.gz C:\Dwimperl\c\bin\dmake.EXE -- OK Running make test C:\Dwimperl\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'b lib\lib', 'blib\arch')" t/*.t t/00-compile.t ............. ok t/basic.t .................. 1/? error: file not seekable at C:/Dwimperl/perl/vendor/lib/Archive/Zip/Archive.pm line 576 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x 302bfbc)', 'GLOB(0x2fc0f0c)') called at C:\Dwimperl\cpan\build\Spreadsheet-Parse XLSX-0.27-1T24r8\blib\lib/Spreadsheet/ParseXLSX.pm line 58 Spreadsheet::ParseXLSX::parse('Spreadsheet::ParseXLSX=HASH(0x2fc0d9c)', 'SCALAR(0x1ebf60c)') called at t/basic.t line 17 Can't open scalar ref as a zip file at C:\Dwimperl\cpan\build\Spreadsheet-ParseX LSX-0.27-1T24r8\blib\lib/Spreadsheet/ParseXLSX.pm line 58.
Tests were run but no plan was declared and done_testing() was not seen.
t/basic.t .................. Dubious, test returned 2 (wstat 512, 0x200) All 456 subtests passed t/bug-10.t ................. ok t/bug-11.t ................. ok t/bug-12.t ................. ok t/bug-13.t ................. ok t/bug-14.t ................. ok t/bug-15.t ................. ok t/bug-16.t ................. ok t/bug-17.t ................. ok t/bug-2.t .................. ok t/bug-29.t ................. ok t/bug-3.t .................. ok t/bug-32.t ................. ok t/bug-38.t ................. ok t/bug-4.t .................. ok t/bug-41.t ................. ok t/bug-5.t .................. ok t/bug-57.t ................. ok t/bug-6-2.t ................ ok t/bug-6.t .................. ok t/bug-61.t ................. ok t/bug-7.t .................. ok t/bug-8.t .................. ok t/cell-to-row-col.t ........ ok t/column-formats.t ......... ok t/encryption.t ............. ok t/hidden-row-and-column.t .. ok t/hidden-sheet.t ........... ok t/page-Setup.t ............. ok t/rich.t ................... ok t/tab-color.t .............. ok t/target-abspath.t ......... ok
Test Summary Report
t/basic.t (Wstat: 512 Tests: 456 Failed: 0) Non-zero exit status: 2 Parse errors: No plan found in TAP output Files=33, Tests=983, 112 wallclock secs ( 0.27 usr + 0.11 sys = 0.38 CPU) Result: FAIL Failed 1/33 test programs. 0/983 subtests failed. dmake.EXE: Error code 255, while making 'test_dynamic' DOY/Spreadsheet-ParseXLSX-0.27.tar.gz C:\Dwimperl\c\bin\dmake.EXE test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DOY/Spreadsheet-ParseXLSX-0.27.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: DOY/Spreadsheet-ParseXLSX-0.27.tar.gz : make_test NO
cpan>