[spambayes-bugs] [ spambayes-Bugs-795749 ] "Score after training" doesn't in CVS

SourceForge.net noreply at sourceforge.net
Tue Aug 26 19:38:37 EDT 2003


Bugs item #795749, was opened at 2003-08-26 21:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=795749&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Peters (tim_one)
Assigned to: Mark Hammond (mhammond)
Summary: "Score after training" doesn't in CVS

Initial Comment:
If "Score messages after training" is selected in current 
CVS, it dies with

Traceback (most recent call last):
  File "C:\PYTHON23\lib\threading.py", line 436, in 
__bootstrap
    self.run()
  File "C:\PYTHON23\lib\threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File "C:\Code\spambayes\Outlook2000
\dialogs\async_processor.py", line 224, in thread_target
    self.func( self.window.manager, self.window.config, 
progress)
  File "C:\Code\spambayes\Outlook2000\train.py", line 
183, in trainer
    filter.filterer(mgr, progress)
TypeError: filterer() takes exactly 3 arguments (2 given)

Attempting to repair this via changing the call to

    filter.filterer(mgr, config, progress)

dies in a different way:

  File "C:\PYTHON23\lib\threading.py", line 436, in 
__bootstrap
    self.run()
  File "C:\PYTHON23\lib\threading.py", line 416, in run
    self.__target(*self.__args, **self.__kwargs)
  File "C:\Code\spambayes\Outlook2000
\dialogs\async_processor.py", line 224, in thread_target
    self.func( self.window.manager, self.window.config, 
progress)
  File "C:\Code\spambayes\Outlook2000\train.py", line 
183, in trainer
    filter.filterer(mgr, config, progress)
  File "C:\Code\spambayes\Outlook2000\filter.py", line 
120, in filterer
    config = config.filter_now
  File "C:\Code\spambayes\Outlook2000\config.py", line 
278, in __getattr__
    return self._options.get(self._section, attr)
  File "C:\Code\spambayes\spambayes\OptionsClass.py", 
line 594, in get
    return self.get_option(sect, opt).get()
  File "C:\Code\spambayes\spambayes\OptionsClass.py", 
line 588, in get_option
    return self._options[sect, opt]
KeyError: ('Filter_Now', 'filter_now')


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

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



More information about the Spambayes-bugs mailing list