Roundup Tracker - Issues

Message943

Author rouilj
Recipients
Date 2003-09-01.16:45:04
Message-id
In-reply-to
When running:

> roundup-server

with a roundp server already running, I get the 
unhandled error:

Traceback (most recent call last):
  File "/tools/roundup/bin/roundup-server", line 6, in ?
    run()
  File "/usr/lib/python2.2/site-
packages/roundup/scripts/roundup_server.py", line 468, 
in run
    httpd = BaseHTTPServer.HTTPServer(address, 
RoundupRequestHandler)
  File "/usr/lib/python2.2/SocketServer.py", line 329, in 
__init__
    self.server_bind()
  File "/usr/lib/python2.2/BaseHTTPServer.py", line 94, in 
server_bind
    SocketServer.TCPServer.server_bind(self)
  File "/usr/lib/python2.2/SocketServer.py", line 340, in 
server_bind
    self.socket.bind(self.server_address)
socket.error: (98, 'Address already in use')

I think the error in the case should look like:

  Unable to bind to port XXXX, port already in use.

This is primarily a cosmetic bug, but I think it is good
to fully handle errors. This will also help with
internationalization since these errors can be 
internationalized.

-- rouilj
History
Date User Action Args
2009-02-03 14:20:27adminlinkissue798659 messages
2009-02-03 14:20:27admincreate