Error: corrupted input
See original GitHub issueI have transferred xz file into JS using XMLHttpRequest
. The content type of response is application/x-xz
, and I checked response
content which seems complete. Then I use LZMA.decomporess(request.response, ...)
and got corrupted input
error. What is wrong in my case? Thanks in advance.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
Lzma library error: Corrupted input data · Issue #268 - GitHub
Version: 1.6.2 (Ubuntu SNAP) I received this error while trying to write the Ubuntu Server 64bit image from the Choose OS menu to...
Read more >199350 – Lzma library error: Corrupted input data
After recent import of LZMA I'm getting: Lzma library error: Corrupted input data when running "tar xvjf filename.txz" On ARM: Tested on ...
Read more >Large file transfer gives error: Corrupted MAC on input
When you transfer a large file by HTTP it will disconnect and give you this error: Disconnecting: Corrupted MAC on input. This can...
Read more >Corrupted File in Dynamic Input - Designer - Alteryx Community
Solved: Good morning, I am having issues pulling in an .xlsx file into my workflow. Every time I run my flow it errors...
Read more >Python LZMA Corrupt data error when trying to decompress
The error I am getting is: _lzma.LZMAError: Corrupt input data. I don't think the data is corrupt because I can download it from...
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
@xseman For my needs, I switched to https://github.com/cscott/lzma-purejs. It generates proper raw lzma. Only it adds some padding (additional information) to the end of file, but I just trimmed that and can extract with comnand line xz.
Also forked lzma-purejs, but basically I made it es6 module and reorganised some components, so it can be tree shaken.| https://github.com/mauron85/lzma-purejs
Same problem. Testing with xz raw:
Try to decode with LZMA-JS
Fails with exception:
Same problem occurs, when I try to decompress file created with LZMA-JS with xz: