Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: bad char in struct format #36

Open
tirsen opened this issue Jan 26, 2015 · 1 comment
Open

error: bad char in struct format #36

tirsen opened this issue Jan 26, 2015 · 1 comment

Comments

@tirsen
Copy link

tirsen commented Jan 26, 2015

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)

@jaysonsantos
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants