[Stackless] Problems with Berkeley DB
Ray Gallagher
omyar_hunt at yahoo.co.uk
Mon Aug 6 12:50:07 CEST 2007
Hi Folks. Was wondering if you could help me... I
tried the shelve package for the first time, trying to
simplify loading and saving objects so I don't need to
hook up databases and the like. Anyways, I get the
following :
Traceback (most recent call last):
File "container.py", line 67, in <module>
startServer(Container(), 8000)
File "container.py", line 11, in __init__
self.serializer.load()
File "/home/ray/projects/gamma/serialize.py", line
11, in load
self.db = shelve.open("data.db", writeback=True)
File
"/home/ray/tools/stackless-install//lib/python2.5/shelve.py",
line 225, in open
return DbfilenameShelf(filename, flag, protocol,
writeback)
File
"/home/ray/tools/stackless-install//lib/python2.5/shelve.py",
line 209, in __init__
Shelf.__init__(self, anydbm.open(filename, flag),
protocol, writeback)
File
"/home/ray/tools/stackless-install//lib/python2.5/anydbm.py",
line 82, in open
mod = __import__(result)
File
"/home/ray/tools/stackless-install//lib/python2.5/dbhash.py",
line 5, in <module>
import bsddb
File
"/home/ray/tools/stackless-install//lib/python2.5/bsddb/__init__.py",
line 51, in <module>
import _bsddb
ImportError: No module named _bsddb
There's little enough useful information on the web
about this, besides something about it having cropped
up in Python 2.3. I'm using the 2.5.1 build at the
moment.
any help appreciated
Ray
___________________________________________________________
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://stackless.com/cgi-bin/mailman/listinfo/stackless
More information about the Stackless
mailing list