[Spambayes] [ spambayes-Bugs-725307 ] Outlook plugin won't load (anymore)

SourceForge.net noreply at sourceforge.net
Thu Apr 24 00:18:41 EDT 2003


Bugs item #725307, was opened at 2003-04-22 09:50
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=725307&group_id=61702

Category: Outlook
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Fredrik Rodland (fmmr)
Assigned to: Tony Meyer (anadelonbrin)
Summary: Outlook plugin won't load (anymore)

Initial Comment:
I just updated to the latest cvs version.  I've run python 
addin.py --unregister and python addin.py, but when I 
start outlook the following traceback is caught.  The 
plugin is not loaded.


SpamAddin - Connecting to Outlook
Traceback (most recent call last):
  File "C:\PROGRA~1\_DEV\Python22\lib\site-
packages\win32com\universal.py", line 170, in dispatch
    retVal = ob._InvokeEx_(meth.dispid, 0, meth.invkind, 
args, None, None)
  File "C:\PROGRA~1\_DEV\Python22\lib\site-
packages\win32com\server\policy.py", line 322, in 
_InvokeEx_
    return self._invokeex_(dispid, lcid, wFlags, args, 
kwargs, serviceProvider)
  File "C:\PROGRA~1\_DEV\Python22\lib\site-
packages\win32com\server\policy.py", line 601, in 
_invokeex_
    return DesignatedWrapPolicy._invokeex_( self, 
dispid, lcid, wFlags, args, kwArgs, serviceProvider)
  File "C:\PROGRA~1\_DEV\Python22\lib\site-
packages\win32com\server\policy.py", line 541, in 
_invokeex_
    return apply(func, args)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\addin.py", line 662, in OnConnection
    self.manager = manager.GetManager(application)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\manager.py", line 475, in GetManager
    _mgr = BayesManager(outlook=outlook, 
verbose=verbose)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\manager.py", line 156, in __init__
    import_core_spambayes_stuff(self.ini_filename)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\
Outlook2000\manager.py", line 70, in 
import_core_spambayes_stuff
    from spambayes import classifier
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\s
pambayes\classifier.py", line 40, in ?
    from spambayes.Options import options
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\s
pambayes\Options.py", line 1411, in ?
    options.mergefiles(filenames)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\s
pambayes\Options.py", line 1288, in mergefiles
    self._update()
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\s
pambayes\Options.py", line 1326, in _update
    self.set(section, option, value)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\s
pambayes\Options.py", line 1276, in set
    self.convert(sect, opt, val)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\s
pambayes\Options.py", line 1261, in convert
    return converter(value)
  
File "c:\Programfiler\_UTIL\spambayes_cvs\spambayes\s
pambayes\Options.py", line 952, in <lambda>
    'address_headers': ('get', lambda s: Set(s.split())),
exceptions.AttributeError: 'Set' object has no 
attribute 'split'



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

>Comment By: Tony Meyer (anadelonbrin)
Date: 2003-04-24 18:18

Message:
Logged In: YES 
user_id=552329

This should now be complete.  I've verified that the latest 
checkin works with pop3proxy, imap and Outlook, so all 
should be ok.  Reopen if it is not.

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

Comment By: Tony Meyer (anadelonbrin)
Date: 2003-04-22 10:34

Message:
Logged In: YES 
user_id=552329

This is my fault so I'm assigning to me.

On investigation I need to work on the options that turn into 
sets.  This would have come up any time someone tried to 
set the value of one of those options (Outlook found the 
problem because one of the headers options is in the default 
ini file).

I've checked in a 'fix' which just bypasses the validity check 
for sets for the moment.  Previously there wasn't any 
checking, so no functionality is lost.  As soon as I get time I'll 
look into fixing this properly.  Leaving this open until that's 
done.

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

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



More information about the Spambayes mailing list