error: Error -3 while decompressing: incorrect header check
See original GitHub issueI was trying to read a compressed file from s3 on ec2 and it did not print any line
for myKey,content in smart_open.s3_iter_bucket(email_bucket):
with smart_open.smart_open(myKey) as data:
for line in data:
print line
Then I ran:
file = smart_open.smart_open(myKey)
for line in data:
print line
and got the error:
I think this is caused by zlib. Any insight on how to troubleshoot this?
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
zlib.error: Error -3 while decompressing: incorrect header check
You have this error: zlib.error: Error -3 while decompressing: incorrect header check. Which is most likely because you are trying to check headers...
Read more >3 while decompressing: incorrect header check - zlib.error
PYTHON : zlib. error : Error - 3 while decompressing : incorrect header check [ Gift : Animated Search Engine ...
Read more >Error -3 while decompressing data: incorrect header check ...
"zlib.error: Error -3 while decompressing data: incorrect header check" when trying to run the exe which is encrypted with pyinstaller.
Read more >zlib.error - 3 while decompressing: incorrect header check
I have a gzip file and I am trying to read it via Python as below: import zlib do = zlib.decompressobj(16+zlib.MAX_WBITS) fh =...
Read more >3 while decompressing data: incorrect header check : r/chia
I'm getting "error -3 while decompressing data: incorrect header check" after updating from 1.1.3 to 1.1.5... Any suggestions? I got this with 1.1.4...
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
I think I solved the issue by modifying the
s3_iter_bucket
function and usinglist(smart_open.S3OpenRead(key))
.yes, let’s close it @mpenkov