Bugs item #1182743, was opened at 2005-04-14 06:27 Message generated for change (Comment added) made by bippo312 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1182743&group_id=61702
Category: imapfilter Group: 1.1.x Status: Open Resolution: None Priority: 5 Submitted By: Bip (bippo312) Assigned to: Tony Meyer (anadelonbrin) Summary: 1.1a1: imapfilter can't find saved message Initial Comment: C:\Program Files\Python\Scripts>sb_imapfilter.py -c -P SpamBayes IMAP Filter Version 1.1a1 (April 2005). Enter password for <me>: Traceback (most recent call last): File "C:\Program Files\Python\Scripts\sb_imapfilter.py", line 1203, in ? run() File "C:\Program Files\Python\Scripts\sb_imapfilter.py", line 1185, in run imap_filter.Filter() File "C:\Program Files\Python\Scripts\sb_imapfilter.py", line 1007, in Filter self.unsure_folder, self.ham_folder) File "C:\Program Files\Python\Scripts\sb_imapfilter.py", line 910, in Filter msg.Save() File "C:\Program Files\Python\Scripts\sb_imapfilter.py", line 663, in Save raise BadIMAPResponseError("Cannot find saved message", "") __main__.BadIMAPResponseError: The command 'Cannot find saved message' failed to give an OK response. It managed to get through classifying 9 spam before giving this error. Running a 'classify' again gave the same error. It eventually classified all of my in-box correctly (after running it like 10 times). ---------------------------------------------------------------------- >Comment By: Bip (bippo312) Date: 2005-05-17 07:40 Message: Logged In: YES user_id=895052 On two consecutive 'classify's (within about a minute of each other), I got the above error, and then I got this second error (the same as in the closed bug report 1190119) Since a few days ago I have been using a backed up version of my database from before 1.1a1. SpamBayes IMAP Filter Version 1.1a1 (April 2005). Enter password for <me>: Traceback (most recent call last): File "C:\Program Files\Python\Scripts\sb_imapfilter.py", line 1203, in ? run() File "C:\Program Files\Python\Scripts\sb_imapfilter.py", line 1185, in run imap_filter.Filter() File "C:\Program Files\Python\Scripts\sb_imapfilter.py", line 1007, in Filter self.unsure_folder, self.ham_folder) File "C:\Program Files\Python\Scripts\sb_imapfilter.py", line 895, in Filter msg.addSBHeaders(prob, clues) File "c:\program files\python\Lib\site-packages\spambayes\message.py", line 45 2, in addSBHeaders self.RememberClassification(disposition) File "c:\program files\python\Lib\site-packages\spambayes\message.py", line 40 1, in RememberClassification self.modified() File "c:\program files\python\Lib\site-packages\spambayes\message.py", line 37 7, in modified self.message_info_db.store_msg(self) File "c:\program files\python\Lib\site-packages\spambayes\message.py", line 18 1, in store_msg self.db[msg.getDBKey()] = attributes File "C:\Program Files\Python\lib\shelve.py", line 130, in __setitem__ self.dict[key] = f.getvalue() File "C:\Program Files\Python\lib\bsddb\__init__.py", line 218, in __setitem__ self.db[key] = value bsddb._db.DBRunRecoveryError: (-30978, 'DB_RUNRECOVERY: Fatal error, run databas e recovery -- PANIC: Invalid argument') It seems like the 'classify' operation corrupted the database... (the messageinfo one?) Or my database was already corrupt but it wasn't detected during the first 'classify' operation? I can import/export my hammie.db file without errors. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1182743&group_id=61702 _______________________________________________ Spambayes-bugs mailing list Spambayes-bugs@python.org http://mail.python.org/mailman/listinfo/spambayes-bugs