Subject: | [cpan-questions #32253] |
Date: | Fri, 12 Aug 2016 10:48:02 +0530 |
To: | bug-Archive-Zip [...] rt.cpan.org |
From: | "Chidambaranathan, Vijay (TNQ Software)" <vijay.chidambaranathan [...] tnqsoftware.co.in> |
Hi Team
I have problem with Archive::Zip module when extract the zip file.
it has through two error. First one is *format error: CRC or size
mismatch after reading data descriptor *form line *zip->read($zipfiles)*
function and another one *$zip->extractTree(undef, $self->{'localpath'})
*form ****Archive::Zip::Member module.**I can't validate the file using
*ziptest.pl. *When i used this. i got error it has mentioned below.
already i have attached the error file in the cpan ticket number
*[cpan-questions #32253] *with this. please do the need full on.
perl ziptest.pl eee_BK2002816.zip
*format error: CRC or size mismatch after reading data descriptor*
at /usr/share/perl5/Archive/Zip/ZipFileMember.pm line 255.
Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x1e34c50)')
called at /usr/share/perl5/Archive/Zip/ZipFileMember.pm line 107
Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x1e34c50)',
'Archive::Zip::DirectoryMember') called at
/usr/share/perl5/Archive/Zip/Member.pm line 127
Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x1e34c50)')
called at /usr/share/perl5/Archive/Zip/Archive.pm line 610
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x1802cc0)',
'IO::File=GLOB(0x1802bb8)', 'eee_BK2002816.zip') called at
/usr/share/perl5/Archive/Zip/Archive.pm line 548
Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x1802cc0)',
'eee_BK2002816.zip') called at ziptest.pl line 37
format error: CRC or size mismatch after reading data descriptor
at /usr/share/perl5/Archive/Zip/ZipFileMember.pm line 255.
Archive::Zip::ZipFileMember::_readLocalFileHeader('Archive::Zip::ZipFileMember=HASH(0x1e3bd48)')
called at /usr/share/perl5/Archive/Zip/ZipFileMember.pm line 107
Archive::Zip::ZipFileMember::_become('Archive::Zip::ZipFileMember=HASH(0x1e3bd48)',
'Archive::Zip::DirectoryMember') called at
/usr/share/perl5/Archive/Zip/Member.pm line 127
Archive::Zip::Member::_becomeDirectoryIfNecessary('Archive::Zip::ZipFileMember=HASH(0x1e3bd48)')
called at /usr/share/perl5/Archive/Zip/Archive.pm line 610
Archive::Zip::Archive::readFromFileHandle('Archive::Zip::Archive=HASH(0x1802cc0)',
'IO::File=GLOB(0x1802bb8)', 'eee_BK2002816.zip') called at
/usr/share/perl5/Archive/Zip/Archive.pm line 548
Archive::Zip::Archive::read('Archive::Zip::Archive=HASH(0x1802cc0)',
'eee_BK2002816.zip') called at ziptest.pl line 37
Thanks
Vijay C
Message body not shown because it is not plain text.