[Spambayes] [ spambayes-Bugs-736677 ] Outlook add-in fails to load in Outlook 2002 (XP)

SourceForge.net noreply at sourceforge.net
Mon May 12 16:45:26 EDT 2003


Bugs item #736677, was opened at 2003-05-13 07:14
Message generated for change (Comment added) made by mhammond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=736677&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Oliver Carr (ollieuk)
Assigned to: Mark Hammond (mhammond)
Summary: Outlook add-in fails to load in Outlook 2002 (XP)

Initial Comment:
When trying to load the Outlook Add-in in Outlook 2002, 
this fails, pulling down all other installed COM Add-ins 
at the same time. The toolbar extensions (drop-down 
menu etc.( are not displayed.
Outlook reports the following error for the Binary add-
in: "Not loaded. A runtime error occured during the 
loading of the COM add-in."
This behaviour is reproducible for both the Binary, as for 
the Source Code versions.
This behaviour is independent of the user logged on.
Platform: WinXP Pro SP1, Office XP SP2, spambayes 
1.02a / Binary 002.
Here is the trace, the log file from the binary is 
attatched:
Outlook Spam Addin module loading
SpamAddin - Connecting to Outlook
Created new configuration 
file 'E:\Downloads\Web\spambayes-1.0a2\spambayes-
1.0a2\Outlook2000\default_configuration.pck'
Traceback (most recent call last):
  File "C:\PROGRA~1\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\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\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\Python22\lib\site-
packages\win32com\server\policy.py", line 541, in 
_invokeex_
    return apply(func, args)
  File "E:\Downloads\Web\spambayes-1.0a2
\spambayes-1.0a2\Outlook2000\addin.py", line 611, in 
OnConnection
    self.manager = manager.GetManager(application)
  File "E:\Downloads\Web\spambayes-1.0a2
\spambayes-1.0a2\Outlook2000\manager.py", line 335, 
in GetManager
    _mgr = BayesManager(outlook=outlook, 
verbose=verbose)
  File "E:\Downloads\Web\spambayes-1.0a2
\spambayes-1.0a2\Outlook2000\manager.py", line 79, 
in __init__
    import_core_spambayes_stuff(self.ini_filename)
  File "E:\Downloads\Web\spambayes-1.0a2
\spambayes-1.0a2\Outlook2000\manager.py", line 46, 
in import_core_spambayes_stuff
    from spambayes import classifier
  File "C:\Program Files\Python22\Lib\site-
packages\spambayes\classifier.py", line 40, in ?
    from spambayes.Options import options
  File "C:\Program Files\Python22\Lib\site-
packages\spambayes\Options.py", line 557, in ?
    options.mergefilelike(d)
  File "C:\Program Files\Python22\Lib\site-
packages\spambayes\Options.py", line 517, in 
mergefilelike
    self._update()
  File "C:\Program Files\Python22\Lib\site-
packages\spambayes\Options.py", line 535, in _update
    value = getattr(c, fetcher)(section, option)
  File "C:\Program Files\Python22\lib\ConfigParser.py", 
line 306, in getfloat
    return self.__get(section, float, option)
  File "C:\Program Files\Python22\lib\ConfigParser.py", 
line 300, in __get
    return conv(self.get(section, option))
exceptions.ValueError: invalid literal for float(): 0.20


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

>Comment By: Mark Hammond (mhammond)
Date: 2003-05-13 08:45

Message:
Logged In: YES 
user_id=14198

Can you please try the latest version from CVS - this bug
has been fixed (but is not yet in any of the binaries).  The
bigger issue we are dealing with can be tracked at
https://sourceforge.net/tracker/index.php?func=detail&aid=725466&group_id=61702&atid=498103




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

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



More information about the Spambayes mailing list