jszip
jszip copied to clipboard
Can't find end of central directory : is this a zip file ?
Got this error using SZip v3.2.1 when using jszip.min.js
Can't find end of central directory : is this a zip file ? If it is, see
https://stuk.github.io/jszip/documentation/howto/read_zip.html
If I use jszip.js (not minified version) it works!
I then minified jszip.js using Dean Edwards packer: http://dean.edwards.name/packer/ and the resulting file still works, slightly larger at 110KB than jzip.min.js - 94KB
Not a major issue now I've found a solution but it needs fixing judging by the Google results for this error.
What's the solution then?
What's the solution then?
It's happening in 3.6.0 too, I'm trying to unzip a file zipped by python pandas. filename.csz.zip
It's throwing this error. Uncaught (in promise) Error: Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html at ZipEntries.readEndOfCentral (zipEntries.js:168) at ZipEntries.load (zipEntries.js:256) at load.js:49
Is there a solution for this?
Is there a solution? please, thank you.
I'm also encountering this error in the latest version:
Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html
I'm not sure under what conditions this error occurs. Could someone explain the possible causes for this? Also, are there any reliable solutions or workarounds?
Encountering the same, though I feel it's because my zip doesn't contain files, but a single stream of compressed text.. Can't find if this is supported or not.