parser does not support ZIP64 archives #2766
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#2766
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I try to read a programmatically generated xlsx file (which can be open in MS Excel) but it throws a Nodejs memory overflow error despite the file being very small (5KB).
The file can pass the parsing when resaving it in MS Excel though.
code:
error: (file path is partially hidden)
Further tracing reveals that the code fails when getting [Content_Types].xml string. I compared the generated excel's and the "resaved in MS Excel application"'s [Content_Types].xml. The differences are as below:
The file that causes the issue:
test_20220812111206.xlsx
Thanks for sharing! This is a ZIP issue. The writer used the ZIP64 extension, which is not currently supported in the
cfb
libraryThank you for the quick reply. Is there any workaround for this issue currently?
@silvialeung which version of NPOI is used to generate this xlsx file?
To wrap up this issue on the SheetJS side:
bits/18_cfb.js
:bits/35_custprops.js
:(we'll accept a PR, as well as a similar PR for https://github.com/SheetJS/js-cfb )
@tonyqus Sorry but the version is unknown. The excel was downloaded from a third party private software.
@SheetJSDev
Is it worked??
This commit was part of 0.18.11 and it should work with the current release (0.18.12). See https://docs.sheetjs.com/docs/getting-started/#installation for installation instructions for your deployment
@SheetJSDev
Thanks for the quick reply, I installed version 0.18.12 but it still returns me
the same error.
On Fri, Sep 30, 2022 at 7:31 PM SheetJSDev @.***> wrote: