[spambayes-dev] Any updated information for the planstomakebetter statistics?

Kenny Pitt kennypitt at hotmail.com
Fri Oct 15 17:01:31 CEST 2004

Tony Meyer wrote:
> [me, earlier today]
>> I'm planning on adding persistence (like sb_server/sb_imapfilter
>> already have) in the near future (it would certainly make it into
>> 1.1a1); I've done some of the coding already.
> The message prompted me to finish this off (there wasn't much left). 
> The CVS version of the plug-in now has persistent stats (they are
> saved in a wee pickle in the data directory).  

Don't know if it's related, but I don't think anything else has changed.  I
updated from CVS to get the stats changes and now I'm getting an exception
from the addin.  Here's the exception message:

pythoncom error: Python error invoking COM method.
Traceback (most recent call last):
  File "C:\Dev\Lang\Python23\Lib\site-packages\win32com\server\policy.py",
line 283, in _Invoke_
    return self._invoke_(dispid, lcid, wFlags, args)
  File "C:\Dev\Lang\Python23\Lib\site-packages\win32com\server\policy.py",
line 288, in _invoke_
    return S_OK, -1, self._invokeex_(dispid, lcid, wFlags, args, None, None)
  File "C:\Dev\Lang\Python23\Lib\site-packages\win32com\server\policy.py",
line 616, in _invokeex_
    return DesignatedWrapPolicy._invokeex_( self, dispid, lcid, wFlags,
args, kwArgs, serviceProvider)
  File "C:\Dev\Lang\Python23\Lib\site-packages\win32com\server\policy.py",
line 550, in _invokeex_
    return func(*args)
  File "C:\src\python\spambayes\Outlook2000\addin.py", line 382, in
    self.manager.LogDebug(2, "OnItemAdd event for folder", self.name,
  File "C:\Dev\Lang\Python23\Lib\site-packages\win32com\client\__init__.py",
line 454, in __getattr__
    raise AttributeError, "'%s' object has no attribute '%s'" % (repr(self),
exceptions.AttributeError: '<win32com.client.COMEventClass instance at
0x122933000>' object has no attribute 'name'

I'll look into it further if I get the chance, but wanted to make you aware
of it.

Kenny Pitt

More information about the spambayes-dev mailing list