[Spambayes] Spambayes and Arch

Michael glako at sojasau.de
Mon Jul 18 22:07:47 CEST 2011


Hi there,
I've got problems with Spambayes and Arch Linux.
Everytime I mark an Mail as Spam or Ham, also try to rebuild the hammie.db I got
an 
error:
 
 
zitrone at zybox ~ % sb_server.py -d hammie.db | tee -a hammie.txt
Traceback (most recent call last):  
File "/usr/bin/sb_server.py", line 1088, in <module>SpamBayes POP3 Proxy Version
1.1a6 (April 1, 2010) 
 
Loading database...    
run()  
File "/usr/bin/sb_server.py", line 1076, in run    
prepare()  
File "/usr/bin/sb_server.py", line 1002, in prepare    
state.prepare(can_stop)  
File "/usr/bin/sb_server.py", line 805, in prepare    
self.createWorkers()  
File "/usr/bin/sb_server.py", line 867, in createWorkers    
self.bayes = storage.open_storage(self.DBName, self.useDB)  
File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 1000, in
open_storage    
return klass(data_source_name)  
File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 154, in
__init__    
self.load()  
File "/usr/lib/python2.7/site-packages/spambayes/storage.py", line 180, in
load    
self.dbm = dbmstorage.open(self.db_name, self.mode)  
File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 70, in
open    
return f(db_name, mode)  File
"/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 40, in
open_best    
return f(*args)  
File "/usr/lib/python2.7/site-packages/spambayes/dbmstorage.py", line 20, in
open_dbhash    
return bsddb.hashopen(*args)
AttributeError: 'NoneType' object has no attribute 'hashopen'
 
 
So what's wrong?
My Phyton Version(s):
root at zybox /home/zitrone # pacman -Q | grep python
dbus-python 0.84.0-1
python 3.2.1-1
python2 2.7.2-2
python2-cairo 1.10.0-1
python2-distribute 0.6.19-1
python2-pyopenssl 0.11-2
python-distutils-extra 2.28-1
python-feedparser 5.0.1-3
python-fuse 20090921-1
python-imaging 1.1.7-3
python-lockfile 0.9.1-1
python-pycurl 7.19.0-5
python-sgmllib 5.0.1-3
python-urwid 0.9.9.1-2
wxpython 2.8.12.0-1
root at zybox /home/zitrone # 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/spambayes/attachments/20110718/a75708cb/attachment.html>


More information about the SpamBayes mailing list