[spambayes-bugs] [ spambayes-Support Requests-809291 ] Database corruption

SourceForge.net noreply at sourceforge.net
Mon Sep 22 11:15:04 EDT 2003


Support Requests item #809291, was opened at 2003-09-19 10:39
Message generated for change (Comment added) made by kgiordano
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498104&aid=809291&group_id=61702

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Khouri Giordano (kgiordano)
Assigned to: Nobody/Anonymous (nobody)
Summary: Database corruption

Initial Comment:
I was getting this message:



X-Spambayes-Exception:

bsddb._db.DBRunRecoveryError((-30982,

	'DB_RUNRECOVERY: Fatal error, run database recovery --

fatal

	region error detected;

	run recovery')) in __getitem__() at

E:\Python23\lib\bsddb\__init__.py

	line 86: return self.db[key]





Now I'm getting this:



X-Spambayes-Exception: Traceback (most recent call last):

 .  File "C:\Program

Files\spambayes-1.0a5\pop3proxy.py", line 456, in onRetr

 .    msg.setId(state.getNewMessageName())

 .  File "C:\Program

Files\spambayes-1.0a5\spambayes\message.py", line 193,

 in setId .    msginfoDB._getState(self)

 .  File "C:\Program

Files\spambayes-1.0a5\spambayes\message.py", line 129,

 in _getState .    if self.db:

 .  File "E:\Python23\lib\shelve.py", line 101, in __len__

 .    return len(self.dict)

 .ValueError: __len__() should return >= 0





I looked around but I couldn't find anything about how

to do a database recovery.

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

>Comment By: Khouri Giordano (kgiordano)
Date: 2003-09-22 11:15

Message:
Logged In: YES 
user_id=855266

Deleting spambayes.messageinfo.db and the contents of the

pop3proxy-*-cache folders seems to have cleared this up.

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

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



More information about the Spambayes-bugs mailing list