Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"CRC or size mismatch while skipping data descriptor" when opening spreadsheet #102

Open
realflash opened this issue Jun 12, 2023 · 0 comments

Comments

@realflash
Copy link

I wrote some code that parses a monthly list of transactions provided by my card provider. The code works for April's transaction spreadsheet. When I feed it May's spreadsheet (downloaded from the same page on the same website), I get the error

format error: CRC or size mismatch while skipping data descriptor

when calling

$workbook = $parser->parse($file->tempname);

(a line in my code). Archive::Zip is at the current release version of 1.68. This module is at 0.27. If I use Archive::Zip to open the same file directly, no error occurs.

The failing file opens in LibreOffice OK, and unzip -t reports that there are no problems with the "zip" file. If I open the failing file in LibreOffice and save without making changes, the resulting file is parsed correctly.

I can provide both the working April file and the failing May file to someone, but am not going to attach it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant