Skip to content

error: bad char in struct format #36

Open

Description

@tirsen

We're occasionally seeing this error in production.

error: bad char in struct format
...snip...
File "bmemcached/client.py", line 104, in get
value, cas = self.get_server(key).get(key)
File "bmemcached/protocol.py", line 379, in get
flags, value = struct.unpack('!L%ds' % (bodylen - 4, ), extra_content)

Activity

  1. jaysonsantos commented on Jan 28, 2015

    @jaysonsantos
    Owner

    It might be some missing data in buffer that we did not read. Or it could be a race condition.
    Can you save the payload or do something to reproduce this?
    Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions