[spambayes-bugs] [ spambayes-Bugs-841819 ] 500 Server error: DB_RUNRECOVERY: Fatal error

SourceForge.net noreply at sourceforge.net
Thu Nov 13 18:28:12 EST 2003


Bugs item #841819, was opened at 2003-11-13 18:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=841819&group_id=61702

Category: pop3proxy
Group: Source code 1.0a6
Status: Open
Resolution: None
Priority: 5
Submitted By: Marek Zielinski (marekz)
Assigned to: Nobody/Anonymous (nobody)
Summary: 500 Server error: DB_RUNRECOVERY: Fatal error

Initial Comment:
Actually version is 1.0a7
Windows 2000, with Pegasus e-mail software, using the 
pop3proxy. Updated from 1.0a7, and it worked for a few 
days.

Now any attempt to train using the web interface yields 
the same error (see below). Restarting the service did 
not help. Database corrupted? 

500 Server error

Traceback (most recent call last):

  File "C:\PROGRA~1\Python23\Lib\site-
packages\spambayes\Dibbler.py", line 453, in 
found_terminator
    getattr(plugin, name)(**params)

  File "C:\PROGRA~1\Python23\Lib\site-
packages\spambayes\ProxyUI.py", line 310, in onReview
    targetCorpus.takeMessage(id, sourceCorpus)

  File "C:\PROGRA~1\Python23\Lib\site-
packages\spambayes\Corpus.py", line 201, in 
takeMessage
    self.addMessage(msg)

  File "C:\PROGRA~1\Python23\Lib\site-
packages\spambayes\FileCorpus.py", line 143, in 
addMessage
    Corpus.Corpus.addMessage(self, message)

  File "C:\PROGRA~1\Python23\Lib\site-
packages\spambayes\Corpus.py", line 136, in 
addMessage
    obs.onAddMessage(message)

  File "C:\PROGRA~1\Python23\Lib\site-
packages\spambayes\storage.py", line 580, in 
onAddMessage
    self.train(message)

  File "C:\PROGRA~1\Python23\Lib\site-
packages\spambayes\storage.py", line 588, in train
    self.bayes.learn(message.tokenize(), self.is_spam)

  File "C:\PROGRA~1\Python23\Lib\site-
packages\spambayes\classifier.py", line 211, in learn
    self._add_msg(wordstream, is_spam)

  File "C:\PROGRA~1\Python23\Lib\site-
packages\spambayes\classifier.py", line 346, in _add_msg
    self._wordinfoset(word, record)

  File "C:\PROGRA~1\Python23\Lib\site-
packages\spambayes\storage.py", line 279, in 
_wordinfoset
    self.db[word] = record.__getstate__()

  File "C:\Program Files\Python23\lib\shelve.py", line 130, 
in __setitem__
    self.dict[key] = f.getvalue()

  File "C:\Program Files\Python23\lib\bsddb\__init__.py", 
line 120, in __setitem__
    self.db[key] = value

DBRunRecoveryError: (-30982, 'DB_RUNRECOVERY: Fatal 
error, run database recovery -- fatal region error 
detected; run recovery')
 

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

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



More information about the Spambayes-bugs mailing list