Ticket #2171 (new bug)
Archive.Zip Errors
Reported by: | Eclesia | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | library | Version: | master |
Severity: | medium | Keywords: | |
Cc: | Eclesia, fperrad, whiteknight | Language: | |
Patch status: | Platform: | all |
Description
The current Zip class fails to create a simple archive , bug can be reproduce with the following winxed code :
var archive = new ["Archive","Zip"]; archive.addFile("README.txt"); archive.writeToFileNamed("output.zip");
error message is :
current instr.: 'parrot;Archive;Zip;Base;pack_V' pc 145 (runtime/parrot/library/Archive/Zip.pir:104) called from Sub 'parrot;Archive;Zip;Member;_writeLocalFileHeader' pc 807 (runtime/parrot/library/Archive/Zip.pir:305) called from Sub 'parrot;Archive;Zip;Member;_writeToFileHandle' pc 1802 (runtime/parrot/library/Archive/Zip.pir:528) called from Sub 'parrot;Archive;Zip;writeToFileHandle' pc 2509 (runtime/parrot/library/Archive/Zip.pir:796) called from Sub 'parrot;Archive;Zip;writeToFileNamed' pc 2416 (runtime/parrot/library/Archive/Zip.pir:762) called from Sub 'parrot;model_parser;FileUtilities;readZip' pc 76 (target-pir/model_parser/FileUtilities.pir:0) (lib-0/model_parser/FileUtilities.wx:27) called from Sub 'main' pc 132 (target-pir/Executor.pir:78) (lib-0/Executor.wx:79)
Change History
Note: See
TracTickets for help on using
tickets.