Comments (2)
I've seen the same error in my environment, where a png file is deflated and ends up with a bad CRC, corrupting the zip file. This is on 64bit Fedora Linux with node v0.11.3.
The error message I get when unzipping the file containing this image is:
inflating: components/canvas/background.png
error: invalid compressed data to inflate
bad CRC 00000000 (should be 63759466)
adm-zip version is 0.4.3 (installed via npm).
I also tried upgrading to 0b0b8fe and saw the same error.
Note that the resulting zip file is readable by adm-zip and other tools (you can see the file list), but the packed files can't be extracted properly (my archive tool did unpack the file but it was black).
Below is the image which causes this issue:
from adm-zip.
I have the same issue with a PNG file. It is always this file:
from adm-zip.
Related Issues (20)
- Extracting zip causes Node to exit in 0.5.11+ HOT 6
- More compression standards? HOT 1
- writeZipPromise creates a broken archive when file names have non-ASCII characters HOT 2
- extractAllToAsync error HOT 10
- If "Created Time", "Modified Time", or "Accessed Time" are the start of the 1979 epoch, an out of range exception is thrown. HOT 1
- Issue with canonical function handling filenames containing Windows style double slash HOT 2
- The value of "offset" is out of range. It must be >= 0 and <= 30. Received 31 HOT 2
- RangeError [ERR_OUT_OF_RANGE] if expectedLength is 0 in methods/inflater.js HOT 1
- Broken chrome builtin unpackaging compatibility HOT 4
- Zip build on windows are not POSIX compliant HOT 4
- addLocalFile does not add the ".env" file to the archive HOT 1
- `getEntries`/`getEntry` no longer read files in folder on archives created with version >= `0.5.13` HOT 5
- Compress file protected with password
- deleteFile erase more files than expected HOT 3
- ReferenceError: totalEntries is not defined HOT 2
- bug: addLocalFolderPromise is not work
- Process version undefined
- extractAllTo() no longer preserves linux file permissions HOT 2
- addLocalFolderPromise is broken when providing absolute path on mac
- extractAllTo is broken with 0.5.15 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adm-zip.