[Spambayes] [ spambayes-Bugs-706170 ] Execute test suite fails in Outlook

SourceForge.net noreply at sourceforge.net
Wed Mar 19 02:03:48 EST 2003


Bugs item #706170, was opened at 2003-03-19 11:03
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=706170&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Fredrik Rodland (fmmr)
Assigned to: Mark Hammond (mhammond)
Summary: Execute test suite fails in Outlook

Initial Comment:
The test suite fails in outlook.

I've retrained messages from a spam and a ham folder.

I think this may be related to moving the database-files 
from the spambayes to the default docs-folders in 
windows a couple of weeks ago.

the following traceback is shown in PythonWin:

Executing automated tests...
Traceback (most recent call last):
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\addin.py", line 308, in Tester
    tester.test(manager)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\tester.py", line 306, in test
    TestSpamFilter(driver)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\tester.py", line 173, in TestSpamFilter
    msg, words = driver.CreateTestMessageInFolder
(SPAM, driver.folder_watch)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\tester.py", line 132, in 
CreateTestMessageInFolder
    msg, words = self.CreateTestMessage(spam_status)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\tester.py", line 145, in CreateTestMessage
    words.update(FindTopWords(self.manager.bayes, 50, 
True))
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\tester.py", line 64, in FindTopWords
    for word, info in extractor(bayes):
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\tester.py", line 46, in DBExtractor
    key = bayes.dbm.next()[0]
  File "C:\PROGRA~1\_DEV\Python22\Lib\site-
packages\bsddb3\__init__.py", line 122, in next
    rv = self.dbc.next()
DBNotFoundError: (-30991, 'DB_NOTFOUND: No 
matching key/data pair found')
Tests FAILED.  Sorry about that.  If I were you, I would 
do a full re-train ASAP
Please delete any test messages from your Spam, 
Unsure or Inbox folders first.

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

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



More information about the Spambayes mailing list