ImportError: No module named _bsddb
Kevin Hamilton
kevin.hamilton at gmail.com
Sun Oct 21 00:05:48 EST 2007
Do you have the latest version of venus?
http://lists.planetplanet.org/archives/devel/2007-September/001666.html
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 =3D> can't test genshi filters
> xsltproc is not available =3D> can't test XSLT templates
> Django is not available =3D> can't test django filters
> libxslt is not available =3D> can't test xslt filters
> sed is not available =3D> can't test stripAd_yahoo
> libxml2 is not available =3D> can't test xpath_sifter
> Redland RDF is not available =3D> can't test FOAF reading lists
>
> .........................................................................=
..EEE......................................................................=
................................................
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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 =3D 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
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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 =3D 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
>
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> 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 =3D 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=3D3)
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /archives/devel/attachments/20071020/57b100e1/attachment.htm
More information about the devel
mailing list