msgpack unpackb error = 0

126 views
Skip to first unread message

Paul Targett

unread,
Mar 30, 2015, 3:48:40 AM3/30/15
to msg...@googlegroups.com
I am using msgpack python 0.4.6 with python 2.7.5 on Centos 7 within a VMWare environment. I have a problem that occasionally msgpack raises an error unpacking. The error is reading:  

Unpack failed: error = 0

The data is being serialised with the following:

pickle_values = msgpack.packb(values,use_bin_type=True)

This data is then being AES256 encrypted. The code that is failing is:

decrypted_data = msgpack.unpackb(pickled_decrypted_data,encoding='utf-8')

99% of the time all is well. I would expect data that has gone through packb without an error would read ok?

Any suggestions on what I should look at?

PT
Reply all
Reply to author
Forward
0 new messages