Re: zlib decode fails with -5

2005-09-29 Thread Paul Watson
"ncf" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I don't mean this harshly, but have you tried recompressing the data to > see if you may have had a bad data set? > > If it still fails, then I'm really not sure why/how zlib decides that > there isn't enough room in the output buf

Re: zlib decode fails with -5

2005-09-27 Thread ncf
I don't mean this harshly, but have you tried recompressing the data to see if you may have had a bad data set? If it still fails, then I'm really not sure why/how zlib decides that there isn't enough room in the output buffer. "Z_BUF_ERROR if there was not enough room in the output buffer" Sorry

zlib decode fails with -5

2005-09-27 Thread Paul Watson
Traceback (most recent call last): File "", line 20, in ? File "c:\Python24\lib\encodings\zlib_codec.py", line 43, in zlib_decode output = zlib.decompress(input) zlib.error: Error -5 while decompressing data The -5 error appears to be a Z_BUF_ERROR from looking at the manual at http://www.zlib.ne