Skip Menu |
 

This queue is for tickets about the Archive-Zip CPAN distribution.

Report information
The Basics
Id: 99525
Status: new
Priority: 0/
Queue: Archive-Zip

People
Owner: Nobody in particular
Requestors: meir [...] guttman.co.il
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: "Central and local directory mismatch" error when unzipping with WinZip
Date: Thu, 16 Oct 2014 11:41:31 +0300
To: bug-Archive-Zip [...] rt.cpan.org
From: Meir Guttman <meir [...] guttman.co.il>
I recently discovered that I cannot unzip archived zipped with Archive::Zip using WinZip. I get the following error message for each file in the zip: Extracting file: D:\Meir\Dropbox\2014-09-14.zip Extracting to "D:\Meir\Temp\" Use Path: yes Overlay Files: no Central and local directory mismatch for file "Working_20140914/00281401.tas" (general purpose flags - local: 0 hex central: 2 hex). Severe Error: Local and central GPFlags values don't match. I attached a sample file that was produced using the latest distribution. The code I use to zip is: my $zip = Archive::Zip->new(); $zip->addTree( { root => '.', zipName => "Working_$proc_stamp", compressionLevel => 9} ); my $zip_filename = "$ArchiveDIR$node_name/$proc_date.zip"; if ($zip->writeToFileNamed($zip_filename) == AZ_OK) { $logger->info("Zipped OK!"); } 7-Zip and windows built-in zip-expanding in the Windows-Explorer unzip it OK! Versions: Archive::Zip 1.38 Windows 7-Pro 64-bit on Intel WinZip 16.5 pro (10095) 64 bit Strawberry perl 5, version 18, subversion 2 (v5.18.2) built for MSWin32-x64-multi-thread Regards, Meir Guttman


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.