Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: error: Error -5 while decompressing data from struct.unpack

Thread Tools

Re: error: Error -5 while decompressing data from struct.unpack

Fredrik Lundh
Posts: n/a
Gary Robinson wrote:

> One of our users received an exception, "error: Error -5 while
> decompressing data from struct.unpack," in the course of a
> struct.unpack operation. I haven't been able to discern what Error -5
> is in this context. In experiments here I wasn't able to elicit that
> exception.
> There's a system exception EINTR which is 5 -- but that's 5, not -5.
> Any help on this would be most appreciated.

from what I can tell, the word "decompressing" is only used in the zlib
sources in Python. are you sure the user didn't mean "zlib.decompress"
instead of "struct.unpack" ?


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Decompressing a file retrieved by URL seems too complex John Nagle Python 0 08-12-2010 08:17 PM
Zlib: correct checksum but error decompressing Andre Python 3 08-26-2009 11:53 PM
Decompressing gzip over FTP SeanMon Python 2 08-22-2009 02:59 PM
Cisco Router 7200 Self decompressing the image Probleem!! londo4 Cisco 0 04-23-2008 01:17 PM
Router stop after decompressing IOS Cisco 837 emaud Cisco 0 11-24-2004 09:33 PM