Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Cant find EOCD signature error?

by trickyq (Acolyte)
on Jun 06, 2012 at 12:54 UTC ( #974712=perlquestion: print w/ replies, xml ) Need Help??
trickyq has asked for the wisdom of the Perl Monks concerning the following question:

I am learning the rules of the place, if I screw up and someone tells me, I fix it. Not a spammmer, just a beginner.

I am getting an error when I run any of these scripts that ive been working on It says:

format error: can't find EOCD signature at C:/Perl64/lib/Archive/Zip/Archive.pm line 695 Archive::Zip::Archive::_findEndOfCentralDirectory('Archive::Zi +p::Archive =HASH(0x2621d0)', 'IO::File=GLOB(0x2e6bf28)') called at C:/Perl64/lib/ +Archive/Zi p/Archive.pm line 581 Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archi +ve=HASH(0x 2621d0)', 'IO::File=GLOB(0x2e6bf28)', 'build.xlsx') called at C:/Perl6 +4/lib/Arch ive/Zip/Archive.pm line 548 Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x2621 +d0)', 'bui ld.xlsx') called at C:/Perl64/site/lib/Spreadsheet/XLSX.pm line 33 Spreadsheet::XLSX::new('Spreadsheet::XLSX', 'build.xlsx') call +ed at C:\j dproj\build.pl line 5 Cannot open build.xlsx as Zip archive at C:/Perl64/site/lib/Spreadshee +t/XLSX.pm line 33.

Any idea what's causing that?

thank you

Comment on Cant find EOCD signature error?
Download Code
Re: Cant find EOCD signature error?
by poj (Curate) on Jun 06, 2012 at 13:41 UTC
    build.pl line 5 Cannot open build.xlsx
    I would guess there is something wrong with your build.xlsx spreadsheet, either it is corrupted or is not the correct format.
    poj
Re: Cant find EOCD signature error?
by sauoq (Abbot) on Jun 06, 2012 at 14:03 UTC
    Cannot open build.xlsx as Zip archive

    Emphasis added.

    -sauoq
    "My two cents aren't worth a dime.";

      I believe that .xlsx files are basically zipped XML files, so that makes some sense.

        I believe that .xlsx files are basically zipped XML files

        Hrm... well... apparently not this one! :-)

        -sauoq
        "My two cents aren't worth a dime.";
Re: Cant find EOCD signature error?
by ww (Bishop) on Jun 06, 2012 at 15:43 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://974712]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-07-25 08:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (170 votes), past polls