[spambayes-bugs] [ spambayes-Bugs-810344 ] On Mac OS X, should use 'dbm' instead of gdbm or bsddb

SourceForge.net noreply at sourceforge.net
Sun Nov 13 04:10:16 CET 2005


Bugs item #810344, was opened at 2003-09-22 01:56
Message generated for change (Comment added) made by ashtong
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=810344&group_id=61702

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.0.1
Status: Closed
Resolution: Out of Date
Priority: 5
Submitted By: Timothy O'Malley (thisistimo)
Assigned to: Skip Montanaro (montanaro)
Summary: On Mac OS X, should use 'dbm' instead of gdbm or bsddb

Initial Comment:
The Mac OS X download for Python 2.3 does not have the 
gdbm, bsddb, or bsddb3 modules.

It does, however, have a 'dbm' module.  The dbmstorage.py 
file should be updated to fallback to the dbm module if there 
are no gdbm, bsddb, or bsddb3 modules as a way to support 
Mac OS X.

There is  patch attached to fix this.


----------------------------------------------------------------------

Comment By: Graham Ashton (ashtong)
Date: 2005-11-13 03:10

Message:
Logged In: YES 
user_id=263764

Hi Skip. This isn't out of date, it still occurs. This is on Tiger (10.4.3):

% python
Python 2.3.5 (#1, Mar 20 2005, 20:38:20) 
[GCC 3.3 20030304 (Apple Computer, Inc. build 1809)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gdbm
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named gdbm
>>> import bsddb
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
python2.3/bsddb/__init__.py", line 40, in ?
    import _bsddb
ImportError: No module named _bsddb
>>> import bsddb3
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named bsddb3

----------------------------------------------------------------------

Comment By: Skip Montanaro (montanaro)
Date: 2005-05-31 01:03

Message:
Logged In: YES 
user_id=44345

Closing - I think this is now out-of-date.  If not, let me know and
I'll look into it.


----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-01-21 03:38

Message:
Logged In: YES 
user_id=552329

Skip: assigning to you since you're the only developer that
I know has a mac :)

Is this correct?  Would this hurt?  If not, I don't see why
we couldn't add this (although people can always install
bsddb or use a pickle).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=810344&group_id=61702


More information about the Spambayes-bugs mailing list