SpamBayes - MacOS - AttributeError: 'NoneType' object has no attribute 'hashopen'

Philippe BAQUÉ <[email protected]>
Newsgroups gmane.mail.spam.spambayes.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Am trying to install "Spambayes" on my Macos 10.6 (puthon 2.6)… And I had this messaghe in return…

Is somebody have the same prob than me and can heklp me to fix this prob?

Than You

Regards

- ------

$ sb_imapfilter.py -b
SpamBayes IMAP Filter Version 1.1b1 (February, 25, 2011).

Traceback (most recent call last):
  File "/usr/local/bin/sb_imapfilter.py", line 5, in <module>
    pkg_resources.run_script('spambayes==1.1b1', 'sb_imapfilter.py')
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 442, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/pkg_resources.py", line 1160, in run_script
    execfile(script_filename, namespace, namespace)
  File "/Library/Python/2.6/site-packages/spambayes-1.1b1-py2.6.egg/EGG-INFO/scripts/sb_imapfilter.py", line 1324, in <module>
    run()
  File "/Library/Python/2.6/site-packages/spambayes-1.1b1-py2.6.egg/EGG-INFO/scripts/sb_imapfilter.py", line 1190, in run
    classifier = storage.open_storage(bdbname, useDBM)
  File "/Library/Python/2.6/site-packages/spambayes-1.1b1-py2.6.egg/spambayes/storage.py", line 1000, in open_storage
    return klass(data_source_name)
  File "/Library/Python/2.6/site-packages/spambayes-1.1b1-py2.6.egg/spambayes/storage.py", line 154, in __init__
    self.load()
  File "/Library/Python/2.6/site-packages/spambayes-1.1b1-py2.6.egg/spambayes/storage.py", line 180, in load
    self.dbm = dbmstorage.open(self.db_name, self.mode)
  File "/Library/Python/2.6/site-packages/spambayes-1.1b1-py2.6.egg/spambayes/dbmstorage.py", line 70, in open
    return f(db_name, mode)
  File "/Library/Python/2.6/site-packages/spambayes-1.1b1-py2.6.egg/spambayes/dbmstorage.py", line 40, in open_best
    return f(*args)
  File "/Library/Python/2.6/site-packages/spambayes-1.1b1-py2.6.egg/spambayes/dbmstorage.py", line 20, in open_dbhash
    return bsddb.hashopen(*args)
AttributeError: 'NoneType' object has no attribute 'hashopen'

- --
<--
Philippe BAQUÉ
Département TICE
Université Paul Sabatier
Bât IR1
118, route de Nabonne
31061 Toulouse cédex 9
- --
05 61 36 60 17
[email protected]
- -->



-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAk2clWIACgkQiOuogphYZjLsDgCgmLI8EQg2E0sPDC2kvjL13P1X
K1AAn3RyEQJWQ82dz5Z+p6b/3rb1fjud
=bYLt
-----END PGP SIGNATURE-----
_______________________________________________
[email protected]
http://mail.python.org/mailman/listinfo/spambayes
Info/Unsubscribe: http://mail.python.org/mailman/listinfo/spambayes
Check the FAQ before asking: http://spambayes.sf.net/faq.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.