Venus without BSDDB?

Phil Wilson planet at philwilson.org
Wed Sep 12 20:02:39 EST 2007


> Venus doesn't depend on BSDDB.  Everything is stored in flat files.

No, but dbhash does depend on it. This causes all the tests which use
the local cache to fail.

Perhaps it's best demonstrated by trying to run Venus:

$ python planet.py test/planet-schmanet.ini
INFO:planet.runner:Socket timeout set to 20 seconds
INFO:planet.runner:Building work queue
ERROR:planet.runner:Error 500 while updating feed
http://usefulinc.com/edd/blog/rss91
ERROR:planet.runner:Error processing http://usefulinc.com/edd/blog/rss91
ERROR:planet.runner:ImportError: No module named bsddb
ERROR:planet.runner:  File "/u/l/pgw22/venus/planet/spider.py", line
433, in spiderPlanet
    writeCache(uri, feed_info, data)
ERROR:planet.runner:  File "/u/l/pgw22/venus/planet/spider.py", line
154, in writeCache
    from planet import idindex
ERROR:planet.runner:  File "/u/l/pgw22/venus/planet/idindex.py", line 2, in ?
    import os, sys, dbhash
ERROR:planet.runner:  File "/usr/sfw/lib/python2.3/dbhash.py", line 5, in ?
    import bsddb


Phil


More information about the devel mailing list