[pybsddb] DBEnv open fails with DBNoSuchFileError

Yongqian Li codecoder at 10gic.net
Sun Oct 12 10:59:03 CEST 2008


The following code fails for me:

>>> bsddb.db.DBEnv().open('C:\\tmp\\test')

Traceback (most recent call last):
  File "<pyshell#3>", line 1, in <module>
    bsddb.db.DBEnv().open('C:\\tmp\\test')
DBNoSuchFileError: (2, 'No such file or directory')

I have confirmed that the directory 'C:\\tmp\\test' does exist.

This occurs on Vista x64 as well as Ubuntu x64 with python-2.5.2

I cannot figure out what is the problem. Please help!



More information about the pybsddb mailing list