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 r
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:
% p
I'm working on a script that will interface with sendmail on my FreeBSD
box. I'm trying to read my access.db file (yes, it's for a quick and dirty
SMTP-after-POP application). I'm trying:
import bsddb
bsddb.hashopen("access.db")
but I get:
bsddb._db.DBInvalidArgError: (22, 'Invalid argument -- ac