Skip to content
New issue

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

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

Already on GitHub? # to your account

Error while trying to unzip a file compressed with jszip+Deflate #52

Closed
Valnavjo opened this issue Jun 12, 2013 · 5 comments
Closed

Error while trying to unzip a file compressed with jszip+Deflate #52

Valnavjo opened this issue Jun 12, 2013 · 5 comments

Comments

@Valnavjo
Copy link

First of all, great work! Everything is working fine is I don't select any compression (STORE), but if I create the zip file using DEFLATE, the following error is coming up when I try to unzip the file:

Unable to expand "filename.zip" into "folder". (Error 2 - No such file or directory)

I'm using:
Mac OS X 10.8.4
Chrome 27.0.1453.110
jszip 1.0.1 (Stuk-jszip-v1.0.1-8-gcfdfe57.zip)

Considerations:

  • I've tried several apps to unzip the file, with the same result.
  • The zip file doesn't contain folders.
  • The compressed files are: png, docx and pdf.
  • Same issue with Firefox and Safari.

I attach two files:

"filename_store.zip" (which is working)
https://www.dropbox.com/s/l1k66pm6y2x84zb/filename_store.zip

and

"filename_deflate.zip" (which is NOT working).
https://www.dropbox.com/s/u2w2b643auk5wox/filename_deflate.zip

I would appreciate if you can take a look at this issue.

Many thanks,

Valnavjo

@dduponchel
Copy link
Contributor

Thanks for the bug report !
The good news : I can reproduce the issue.
The bad news : the DEFLATE implementation seems to be buggy (#22, #29, #43). The easiest workaround is to use STORE instead of DEFLATE.

The next version should fix this issue.

@Valnavjo
Copy link
Author

Thanks for your reply :)

Any idea about when this version will be released? I'm not asking for a concrete date but just an estimation (in a month, in a year...).

Regards,

Valnavjo

@dduponchel
Copy link
Contributor

I think a month is a good estimation. I'm working on it but I need free time to finish and Stuk will then need to review my code.

@Valnavjo
Copy link
Author

Cool thanks dude!

@Stuk
Copy link
Owner

Stuk commented Oct 5, 2013

Fixed in #56

@Stuk Stuk closed this as completed Oct 5, 2013
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants