[pybsddb] Problems with types and exceptions

Jesus Cea jcea at jcea.es
Tue Jun 6 21:35:57 CEST 2017


On 06/06/17 15:06, Curtis Maloney wrote:
> I've tried using the latest bsddb3 on Python3.5, but so far have run
> into two significant problems:
> 
> First, when saving values they must be bytes, which is good.  However,
> retrieved values appear to be str, which is breaking things when I try
> to unpickle my data.
> 
> Secondly, in most attempts to put(), I get the exception:
> 
> bsddb3.db.DBError: (128, 'Key has been revoked')

Curtis:

1. Please, subscribe to the mailing list in order to be able to read the
replies.

2. Please, send two tiny programs to reproduce the issue, as short and
simple as possible.

Thanks!.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
jabber / xmpp:jcea at jabber.org  _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://mailman.jcea.es/pipermail/pybsddb/attachments/20170606/dada1d56/attachment.asc>


More information about the pybsddb mailing list