[Spambayes] Fresh download
FrançoisGranger
francois.granger at free.fr
Sat Jan 18 16:21:27 EST 2003
At 09:02 -0600 18/01/2003, in message Re: [Spambayes] Fresh download,
Skip Montanaro wrote:
> François> config file has unknown option 'spam_cutoff' in
>section 'TestDriver'
> François> config file has unknown option 'ham_cutoff' in section
>'TestDriver'
>
>These two now go in the new [Categorization] section.
Thanks, but if I remove them from my ini files, they should get a
default value. This is done in Option.py.
But it did not worked for me as stated in the second part of my
previous message:
>So I remove these two option.....
>Next try gave this:
>
>=================================================
>[fbg:/volumes/OS99/spambayes-2003-01-17] fgranger% python OptionConfig.py
>Serving HTTP on 0.0.0.0 port 8000 ...
>localhost - - [18/Jan/2003 15:15:33] "GET / HTTP/1.1" 200 -
>----------------------------------------
>Exception happened during processing of request from ('127.0.0.1', 49809)
>Traceback (most recent call last):
> File
>"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/SocketServer.py",
>line 221, in handle_request
> self.process_request(request, client_address)
> File
>"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/SocketServer.py",
>line 240, in process_request
> self.finish_request(request, client_address)
> File
>"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/SocketServer.py",
>line 253, in finish_request
> self.RequestHandlerClass(request, client_address, self)
> File
>"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/SocketServer.py",
>line 514, in __init__
> self.handle()
> File
>"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/BaseHTTPServer.py",
>line 266, in handle
> method()
> File
>"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/SimpleHTTPServer.py",
>line 41, in do_GET
> f = self.send_head()
> File "SmarterHTTPServer.py", line 100, in send_head
> retstr = getattr(self, methname)(pdict)
> File "OptionConfig.py", line 84, in homepage
> parm_ini_map[httpparm][PIMapOpt]))
> File
>"/BinaryCache/python/python-3.root~193/usr/lib/python2.2/ConfigParser.py",
>line 279, in get
> raise NoOptionError(option, section)
>NoOptionError: No option `spam_cutoff' in section: TestDriver
>
>
--
Recently using MacOSX.......
More information about the Spambayes
mailing list