Python 2.3.4, Berkeley db 1.85, db file format not recognized

Dan M dan at wolf.com
Wed Oct 26 15:38:33 EDT 2005


On Wed, 26 Oct 2005 14:23:49 -0500, skip wrote:

> 
>     Dan> import bsddb
>     Dan> bsddb.hashopen("access.db")
> 
>     Dan> but I get:
>     Dan> bsddb._db.DBInvalidArgError: (22, 'Invalid argument -- access.db: unexpected file type or format')
> 
>     Dan> .... Any suggestions on how to read this file?
>  
> See if the bsddb185 module  is available:

It is, and it works. Thanks so much!




More information about the Python-list mailing list