[Mattricks] Mac issues
ragnar at lysator.liu.se
Mon Jan 12 16:11:44 CET 2004
On Mon, 12 Jan 2004, Kent Karlsson wrote:
> I checked out the latest cvs and tried it out with the confusing error
> that bsddb wasnt there. It took me a while to figure out that it was
> the lib that was missing.
> If anyone want bsddb to work on MacOS X 10.3, do this (preceding every
> cmd with a # due to the linebreaks):
> # curl
> Power_Macintosh.tar.gz > bsddb.tgz
> # tar xzvf bsddb.tgz
> # mv
> packages/_bsddb.so .
> # install_name_tool -change
> # mv _bsddb.so
> Found the idea here:
Seems like Apple forgot the _bsddb.so in their python-2.3 dist.
> Is the fetching of the fixtures supposed to work? I get this:
> Traceback (most recent call last):
> line 72, in get_all
> data[key] = db.get(key)
> AttributeError: _DBWithCursor instance has no attribute 'get'
This should work, but since it is unnecessary to get the value again you
should change that row (72) in Database.py to read "data[key] = value".
More information about the Mattricks