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

Discussion in 'Python' started by Fredrik Lundh, Dec 14, 2006.

  1. 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" ?

    </F>
     
    Fredrik Lundh, Dec 14, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SeanMon

    Decompressing gzip over FTP

    SeanMon, Aug 22, 2009, in forum: Python
    Replies:
    2
    Views:
    330
    Albert Hopkins
    Aug 22, 2009
  2. Andre
    Replies:
    3
    Views:
    1,229
    John Machin
    Aug 27, 2009
  3. John Nagle
    Replies:
    0
    Views:
    215
    John Nagle
    Aug 12, 2010
  4. John Nagle
    Replies:
    2
    Views:
    313
  5. Ahmad Azizan
    Replies:
    2
    Views:
    251
    Brian Candler
    Mar 22, 2010
Loading...

Share This Page