[Spambayes] Success Source Install from CVS on Outlook 2003 Beta 2

Adam Walker adam.walker at rbwconsulting.com
Mon Jun 23 00:17:05 EDT 2003

Yes, Toolbars work. However, The folder watching part seems broken. The
following is from the python trace collector....

Executing automated tests...
Bayes database is not dirty - not writing
Traceback (most recent call last):
  File "C:\spambayes\spambayes\Outlook2000\addin.py", line 326, in Tester
  File "C:\spambayes\spambayes\Outlook2000\tester.py", line 316, in test
  File "C:\spambayes\spambayes\Outlook2000\tester.py", line 187, in
    TestFailed("The test message appeared to not be filtered")
  File "C:\spambayes\spambayes\Outlook2000\tester.py", line 27, in
    raise TestFailure(msg)
TestFailure: The test message appeared to not be filtered
Tests FAILED.  Sorry about that.  If I were you, I would do a full re-train
Please delete any test messages from your Spam, Unsure or Inbox folders

Clicking "filter now" moves the messages to the correct place. The Delete
and Recover buttons seem to work fine. The "Show Spam Clues" menu item works
(and it very nifty).

I've been poking around a little so this is not a clean as it should.


C:\spambayes\spambayes\Outlook2000>cvs diff -u addin.py
Index: addin.py
RCS file: /cvsroot/spambayes/spambayes/Outlook2000/addin.py,v
retrieving revision 1.65
diff -u -r1.65 addin.py
--- addin.py    19 Jun 2003 23:47:40 -0000      1.65
+++ addin.py    23 Jun 2003 03:09:46 -0000
@@ -209,6 +209,7 @@
         #     PR_RECEIVED_BY_NAME
+        print "New message"
         msgstore_message = self.manager.message_store.GetMessage(item)
         if msgstore_message is not None:
             ProcessMessage(msgstore_message, self.manager)
@@ -220,6 +221,7 @@
         # now, we assume that if the calculated spam prob
         # was *not* certain-spam, or it is in the ham corpa,
         # then it should be trained as such.
+        print "Spam folder new message"
         if not self.manager.config.training.train_manual_spam:
         msgstore_message = self.manager.message_store.GetMessage(item)
@@ -483,6 +485,7 @@
         self.have_setup_ui = False
         self.explorers_collection = explorers_collection
         self.toolbar = None
+        self.OnViewSwitch()

     def SetupUI(self):
         manager = self.manager

More information about the Spambayes mailing list