ImportError: No module named _bsddb

Xavier Shay xavier-list at rhnh.net
Tue Oct 23 19:25:47 EST 2007


On Sat, 2007-10-20 at 09:05 -0500, Kevin Hamilton wrote:
> Do you have the latest version of venus?
> 
> http://lists.planetplanet.org/archives/devel/2007-September/001666.html

Right, yes, that would fix it. Sorry.

> 
> 
> 
> On 10/20/07, Xavier Shay <xavier-list at rhnh.net> wrote:
>         I'm trying to run venus and am getting the
>         following error when I run tests or the app:
>         
>         ImportError: No module named _bsddb
>         
>         I'm not really sure where to start looking to solve this
>         problem, any
>         guidance would be appreciated.
>         
>         Cheers,
>         Xavier
>         
>         Details follow:
>         
>         $ uname -prs
>         FreeBSD 6.2-STABLE amd64
>         $ python -V
>         Python 2.5.1
>         
>         
>         $ python runtests.py
>         Genshi is not available => can't test genshi filters 
>         xsltproc is not available => can't test XSLT templates
>         Django is not available => can't test django filters
>         libxslt is not available => can't test xslt filters
>         sed is not available => can't test stripAd_yahoo 
>         libxml2 is not available => can't test xpath_sifter
>         Redland RDF is not available => can't test FOAF reading lists
>         ...........................................................................EEE...................................................................................................................... 
>         ======================================================================
>         ERROR: test_index_spider (tests.test_idindex.idIndexTest)
>         ----------------------------------------------------------------------
>         Traceback (most recent call last): 
>           File "/home/xavier/venus/tests/test_idindex.py", line 30, in
>         test_index_spider
>             index = idindex.create()
>           File "/home/xavier/venus/planet/idindex.py", line 38, in
>         create
>             import dbhash 
>           File "/usr/local/lib/python2.5/dbhash.py", line 5, in
>         <module>
>             import bsddb
>           File "/usr/local/lib/python2.5/bsddb/__init__.py", line 51,
>         in
>         <module>
>             import _bsddb 
>         ImportError: No module named _bsddb
>         
>         ======================================================================
>         ERROR: test_index_splice (tests.test_idindex.idIndexTest)
>         ---------------------------------------------------------------------- 
>         Traceback (most recent call last):
>           File "/home/xavier/venus/tests/test_idindex.py", line 51, in
>         test_index_splice
>             index = idindex.create()
>           File "/home/xavier/venus/planet/idindex.py", line 38, in
>         create 
>             import dbhash
>           File "/usr/local/lib/python2.5/dbhash.py", line 5, in
>         <module>
>             import bsddb
>           File "/usr/local/lib/python2.5/bsddb/__init__.py", line 51,
>         in
>         <module> 
>             import _bsddb
>         ImportError: No module named _bsddb
>         
>         ======================================================================
>         ERROR: test_unicode (tests.test_idindex.idIndexTest)
>         ---------------------------------------------------------------------- 
>         Traceback (most recent call last):
>           File "/home/xavier/venus/tests/test_idindex.py", line 19, in
>         test_unicode
>             index = idindex.create()
>           File "/home/xavier/venus/planet/idindex.py", line 38, in
>         create 
>             import dbhash
>           File "/usr/local/lib/python2.5/dbhash.py", line 5, in
>         <module>
>             import bsddb
>           File "/usr/local/lib/python2.5/bsddb/__init__.py", line 51,
>         in
>         <module> 
>             import _bsddb
>         ImportError: No module named _bsddb
>         
>         ----------------------------------------------------------------------
>         Ran 196 tests in 2.864s
>         
>         FAILED (errors=3)
>         Exception exceptions.AttributeError : "'NoneType' object has
>         no attribute
>         'maxint'" in <bound method Popen.__del__ of <subprocess.Popen
>         object at
>         0xdff9d0>> ignored
>         $
>         --
>         devel mailing list
>         devel at lists.planetplanet.org
>         http://lists.planetplanet.org/mailman/listinfo/devel
> 


More information about the devel mailing list