[spambayes-dev] 1.0 Build Testing (please!)

Richie Hindle richie at entrian.com
Mon Sep 20 10:45:52 CEST 2004


[Tony]
> Well, I don't know what was wrong, but I think I've fixed it

Yup - I can download it now.  The following refers to spambayes-1.0.exe:

I tried installing it on my virgin VMWare Win98 machine, and it exited
with the following traceback in the log:

Traceback (most recent call last):
  File "pop3proxy_tray.py", line 100, in ?
  File "sb_server.pyc", line 104, in ?
  File "spambayes\message.pyc", line 103, in ?
  File "spambayes\dbmstorage.pyc", line 3, in ?
  File "spambayes\Options.pyc", line 1214, in ?
  File "spambayes\Options.pyc", line 1183, in load_options
pywintypes.com_error: (-2147467263, 'Not implemented', None, None)

This is because SHGetFolderPath isn't available on Win98 pre-IE5.  I
don't know whether we care about that - there are probably no such
machines in the real world.

I uninstalled SB, installed IE5.5, reinstalled SB, and the server
started but then silently quit.  I restarted it and was able to
configure it, but I couldn't connect.  Here's the log:

Loading database... User interface url is http://localhost:8880/
Unhandled exception in thread started by <bound method MainWindow._ProxyThread of <__main__.MainWindow object at 0x009AC490>>
Traceback (most recent call last):
  File "pop3proxy_tray.py", line 407, in _ProxyThread
  File "sb_server.pyc", line 892, in start
  File "sb_server.pyc", line 870, in main
  File "spambayes\ProxyUI.pyc", line 154, in __init__
  File "spambayes\UserInterface.pyc", line 269, in __init__
  File "spambayes\UserInterface.pyc", line 137, in __init__
  File "spambayes\UserInterface.pyc", line 255, in readUIResources
  File "spambayes\resources\__init__.pyc", line 30, in ?
  File "resourcepackage\package.pyc", line 100, in scan
WindowsError: [Errno 3] The system cannot find the path specified: 'C:\\PROGRAM FILES\\SPAMBAYES\\lib\\spambayes.zip\\spambayes\\resources/*.*'
Loading database... User interface url is http://localhost:8880/
Loading database... Listener on port 110 is proxying pop3.demon.co.uk:110
error: uncaptured python exception, closing channel <sb_server.BayesProxyListener listening :110 at 0x1b5f508> (exceptions.KeyError:('pop3proxy', 'allow_remote_connections') [asyncore.pyc|read|69] [asyncore.pyc|handle_read_event|384] [spambayes\Dibbler.pyc|handle_accept|284] [sb_server.pyc|__init__|374] [sb_server.pyc|__init__|191] [sb_server.pyc|onIncomingConnection|206] [spambayes\OptionsClass.pyc|__getitem__|604] [spambayes\OptionsClass.pyc|get|601] [spambayes\OptionsClass.pyc|get_option|595])
error: uncaptured python exception, closing channel <sb_server.BayesProxy connected 127.0.0.1:1082 at 0x1b17a08> (exceptions.AttributeError:'_socketobject' object has no attribute 'isClosed' [asyncore.pyc|read|69] [asyncore.pyc|handle_read_event|390] [asynchat.pyc|handle_read|88] [sb_server.pyc|recv|397] [asyncore.pyc|recv|346] [asynchat.pyc|handle_close|155] [sb_server.pyc|close|405] [asyncore.pyc|__getattr__|365])
Unhandled exception in thread started by <bound method MainWindow._ProxyThread of <__main__.MainWindow object at 0x009AC490>>
Traceback (most recent call last):
  File "pop3proxy_tray.py", line 407, in _ProxyThread
  File "sb_server.pyc", line 892, in start
  File "sb_server.pyc", line 872, in main
  File "spambayes\Dibbler.pyc", line 701, in run
  File "asyncore.pyc", line 193, in loop
  File "asyncore.pyc", line 119, in poll
  File "asyncore.pyc", line 73, in read
  File "spambayes\Dibbler.pyc", line 204, in handle_error
  File "asyncore.pyc", line 420, in handle_error
  File "sb_server.pyc", line 405, in close
  File "asyncore.pyc", line 365, in __getattr__
AttributeError: '_socketobject' object has no attribute 'isClosed'

That last exception happens whenever I try to connect to the POP3 proxy
port, whether it's with my email client or telnet.  The only configuration
changes I've made are to add pop3.demon.co.uk / 110 to the POP3 proxies.

I know I should try to fix these things myself, but I just don't have
the time at the moment.

-- 
Richie Hindle
richie at entrian.com



More information about the spambayes-dev mailing list