anydbm - a simple question

Michael Ströder michael.stroeder at inka.de
Mon Jan 24 18:38:55 EST 2000


Randall Hopper wrote:
> 
> It created the database.dir and database.dat files in the write phase,
> but the read phase fails on the open.
> 
> Thinking it might be extension related I tried changing the file-to-open
> from "database" to "database.dat".  But no dice:
> 
>    anydbm.error: db type could not be determined

Same thing on my system (SuSE 6.3 Linux). The database is created
(default is dbhash in my case). I can re-open it with module dbhash
but not with anydbm (same error as mentioned above). The whichdb
module fails on determining the DB type.

Ciao, Michael.



More information about the Python-list mailing list