[pybsddb] Problems with types and exceptions

Curtis Maloney curtis at tinbrain.net
Tue Jun 6 15:06:13 CEST 2017


Greetings,

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')


And all the googling I've done has yet to explain this exception to me.

Any help would be muchly appreciated.

--
Curtis


More information about the pybsddb mailing list