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 I couldn't be of much assistance on this matter. -Wes -- http://mail.python.org/mailman/listinfo/python-list