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

SCRIPT5022: Corrupted zip : can't find end of central directory #26

Closed
showlovel opened this issue Dec 30, 2012 · 14 comments
Closed

SCRIPT5022: Corrupted zip : can't find end of central directory #26

showlovel opened this issue Dec 30, 2012 · 14 comments

Comments

@showlovel
Copy link

waht cause this problem ? path? ol

@Stuk
Copy link
Owner

Stuk commented Dec 30, 2012

Could you give more details such as the zip file you are using, whether you created this zip with JSZip, and if other programs can open it successfully.

@mpduffey
Copy link

I am having this problem as well. I have a docx that I am attempting to unzip using docx.js, which invokes JSZip. I receive an error that says "throw new Erroe("Corrupted zip : can't find end of central directory");" This occurs for multiple docx files that I have attempted. There does not seem to be any information elsewhere on the web to resolve this issue. Can you provide any insight on the cause of this error? Thanks so much.

mike

@Stuk
Copy link
Owner

Stuk commented Jan 22, 2013

Could you upload a file that breaks so that we can try and reproduce the error?

@mpduffey
Copy link

Stuk -

I have attached a test docx that I am using here. This file invokes the
error I described in my posting. Any insight you can provide would be
greatly appreciated.

Thanks,
Mike


Mike Duffey

On Tue, Jan 22, 2013 at 1:53 AM, Stuart Knightley
notifications@github.comwrote:

Could you upload a file that breaks so that we can try and reproduce the
error?


Reply to this email directly or view it on GitHubhttps://github.com//issues/26#issuecomment-12532700.

@dduponchel
Copy link
Collaborator

Github didn't store the attached docx (I can't get it) but you should try this page with firefox or chrome.
If you don't see the content of the file, then it's a bug of JSZip :)
If the page has no issue reading the docx file, the issue may come from the way you load the file.

@dduponchel
Copy link
Collaborator

@showlovel or @mpduffey : do you still have the issue ?

@redchair123
Copy link

You can reproduce this with a large XLSX file: https://www.dropbox.com/s/ngwhyr25z6gr8j1/largedates.xlsx

@Stuk
Copy link
Owner

Stuk commented Oct 5, 2013

Fixed in #56

@Stuk Stuk closed this as completed Oct 5, 2013
@redchair123
Copy link

@Stuk are you going to update the gh-pages branch?

@Stuk
Copy link
Owner

Stuk commented Oct 6, 2013

Thanks for the reminder. Now done.

@ghost
Copy link

ghost commented Mar 9, 2019

I'm still having this issue.

@dk511
Copy link

dk511 commented Mar 11, 2020

I got this issue today

@nismojkee
Copy link

Any time I meet same issue but with zip archive (~3mb)

@chermoso
Copy link

Same here with zip files, and it's difficult to prevent because it happens sometimes

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

8 participants