[Spambayes] Fwd: DB error SpamBayes POP3 Proxy Version 1.1a1 (April 2005) [Linux}
Piotr Budny
piotr.budny at gazeta.pl
Fri Sep 29 20:48:04 CEST 2006
Hello all,
After over a year of using SpamBayes, I encountered very strange, and to
my regret, not reparable, behaviour. What is odd - I did not change anything
in my system, what could cause such strange things happening.
When I launch the sb_server.py it starts OK. Getting new emails is also OK,
they are sorted.
But, when I try to train using web interface (localhost:8880) I am getting
first page, I click TRAIN and I get the below
shown error.
I tried stopping sb_server, removing spambayes.messageinfo.db and restarting
it, but same thing happened - three times. So I decided to write here :|
Maybe someone will have idea, what to do.
Greetings,
Vys0
ERROR MESSAGE:
Training...
500 Server error
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/spambayes/Dibbler.py", line 470, in
found_terminator
getattr(plugin, name)(**params)
File "/usr/lib/python2.3/site-packages/spambayes/ProxyUI.py", line 419, in
onReview
fromCache=True)
File "/usr/lib/python2.3/site-packages/spambayes/Corpus.py", line 188, in
takeMessage
self.addMessage(msg)
File "/usr/lib/python2.3/site-packages/spambayes/FileCorpus.py", line 102,
in addMessage
Corpus.Corpus.addMessage(self, message)
File "/usr/lib/python2.3/site-packages/spambayes/Corpus.py", line 134, in
addMessage
obs.onAddMessage(message, observer_flags)
File "/usr/lib/python2.3/site-packages/spambayes/storage.py", line 817, in
onAddMessage
self.train(message)
File "/usr/lib/python2.3/site-packages/spambayes/storage.py", line 825, in
train
self.bayes.learn(message.tokenize(), self.is_spam)
File "/usr/lib/python2.3/site-packages/spambayes/classifier.py", line 279,
in learn
self._add_msg(wordstream, is_spam)
File "/usr/lib/python2.3/site-packages/spambayes/classifier.py", line 390,
in _add_msg
self._wordinfoset(word, record)
File "/usr/lib/python2.3/site-packages/spambayes/storage.py", line 305, in
_wordinfoset
self.db[word] = record.__getstate__()
File "/usr/src/build/475206-i386/install/usr/lib/python2.3/shelve.py", line
130, in __setitem__
self.dict[key] = f.getvalue()
File
"/usr/src/build/475206-i386/install/usr/lib/python2.3/bsddb/__init__.py",
line 120, in __setitem__
DBRunRecoveryError: (-30978, 'DB_RUNRECOVERY: Fatal error, run database
recovery -- PANIC: Invalid argument')
More information about the SpamBayes
mailing list