Fail to uncompress zip file created by 7zip
See original GitHub issueDeno 1.15.0
exit using ctrl+d or close()
> import * as fflate from './fflate.js';
undefined
> const rawdata = await Deno.readFile('county_border.zip');
undefined
> fflate.decompressSync(rawdata)
Uncaught Error: invalid length/literal
at inflt (file:///D:/git_work/loc2district/fflate.js:259:9)
at inflateSync (file:///D:/git_work/loc2district/fflate.js:920:10)
at Module.decompressSync (file:///D:/git_work/loc2district/fflate.js:1201:159)
at <anonymous>:2:8
> rawdata
Uint8Array(31903372) [
80, 75, 3, 4, 20, 0, 0, 0, 8, 0, 101, 91, 35, 83, 175,
100, 188, 138, 226, 205, 230, 1, 52, 251, 18, 7, 18, 0, 0, 0,
99, 111, 117, 110, 116, 121, 95, 98, 111, 114, 100, 101, 114, 46, 106,
115, 111, 110, 180, 157, 187, 202, 104, 61, 17, 134, 123, 175, 66, 172,
69, 114, 78, 150, 173, 96, 41, 246, 34, 226, 25, 193, 19, 30, 10,
17, 11, 65, 176, 17, 177, 241, 22, 44, 5, 11, 27, 5, 189, 26,
5, 239, 194, 247, 205, 154, 201, 188, 203, 195,
... 31903272 more items
]
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Is it true that 7-Zip can fail to extract an successfully created ...
If a 7-Zip archive cannot be extracted, it would most likely be due to file corruption after the archive was created.
Read more >How to Fix 7-Zip Cannot Open File as Archive Error - Guide
Several different reasons can cause 7Zip to fail to open an archived file. The most common one is corruption. To fix this, you...
Read more >4 methods to fix 7-zip data error - Wondershare Recoverit
Inappropriate tool: When the 7-zip file is compressed or the use of the substandard application to uncompressing them, may lead to 7-zip file...
Read more >Fix 7-Zip Cannot open file as archive ... - The Windows Club
Re-download or re-create the compressed archive file · Use a ZIP Repair freeware · Repair ZIP archive using WinRAR utility · Use Command...
Read more >Solved: 7-Zip Data Error - AnyRecover
Corrupted .7z files lead to 7-Zip data error which prevents extraction of the archive data. Fortunately, you can fix the error in most...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the feedback, I’ll close this issue after clarifying in the docs.
It works! Thank you. I’m also confused by