klauspost / pgzip

Go parallel gzip (de)compression
MIT License
1.12k stars 77 forks source link

OSError: Not a gzipped file (b'i\xdb' or b'\xae\x82') or 'Ran out of input' with decompress #55

Closed tle4336 closed 12 months ago

tle4336 commented 12 months ago

@klauspost Dear Mr. Post , I'm currently encountering a very weird issue running on UNIX system in a Docker container using pgzip. More specifically, I kept bumping into either the Ran out of input or OSError: Not a gzipped file (b'i\xdb' or b'\xae\x82', etc) with the following two lines of codes: with open([path to .gz file], "rb", thread=8, blocksize=2*10**8) as fr: pickle.loads(blosc.decompress(fr.read()))

Could you please help look into this issue? I did not encounter this error on Windows 10, but I would love to use this package on UNIX system.

klauspost commented 12 months ago

I think you may be on the wrong repo. This is a Go package.