shelve seg error

Fredrik Lundh fredrik at pythonware.com
Tue Dec 6 09:41:08 EST 2005


Philippe C. Martin wrote:

> Can I ask anydb which db it's using ?

the page says

    If the database file already exists, the whichdb module is used to determine its
    type and the appropriate module is used; if it does not exist, the first module
    listed above that can be imported is used

where "above" refers to the list

    dbhash (requires bsddb), gdbm, or dbm. If none of these modules is installed,
    the slow-but-simple implementation in module dumbdbm will be used.

so the culprit in your case is either whichdb itself, or dbhash/bsddb...

</F> 






More information about the Python-list mailing list