Issue 798659
Created on 2003-09-01 16:45 by rouilj, last changed 2003-10-25 12:31 by jlgijsbers.
msg943 |
Author: [hidden] (rouilj) |
Date: 2003-09-01 16:45 |
|
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
|
msg944 |
Author: [hidden] (jlgijsbers) |
Date: 2003-10-25 12:31 |
|
Logged In: YES
user_id=469548
Fixed on HEAD.
|
|
Date |
User |
Action |
Args |
2003-09-01 16:45:04 | rouilj | create | |
|