Re: ImportError: No module named _bsddb 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  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
>         
>             import bsddb
>           File "/usr/local/lib/python2.5/bsddb/__init__.py", line 51,
>         in
>         
>             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
>         
>             import bsddb
>           File "/usr/local/lib/python2.5/bsddb/__init__.py", line 51,
>         in
>          
>             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
>         
>             import bsddb
>           File "/usr/local/lib/python2.5/bsddb/__init__.py", line 51,
>         in
>          
>             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          object at
>         0xdff9d0>> ignored
>         $
>         --
>         devel mailing list
>         kpdpo@lists.planetplanet.org
>         http://lists.planetplanet.org/mailman/listinfo/devel
> 
-- 
devel mailing list
kpdpo@lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel


