On 06/20/2012 02:06 PM, jinjianmin wrote:
i have a diction object which contains a field consists of binary data, i
have tried to encode it to string using base64 with no luck, it throws error
like
----raise CodecException("Cannot encode %d as uint16" % n) CodecException:
Cannot encode 244761 as uint16 )uint16

I think this means that your data is 244761 bytes long, but you're trying to store it in a place where the upper limit is 65535 bytes.


--
Florian Weimer / Red Hat Product Security Team

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to