Roundup Tracker - Issues

Issue 1706114

classification
Redirect causes traceback
Type: Severity: normal
Components: Web interface Versions:
process
Status: closed fixed
:
: richard : forsberg, richard
Priority: normal :

Created on 2007-04-23 19:35 by forsberg, last changed 2007-04-23 19:35 by forsberg.

Messages
msg2431 Author: [hidden] (forsberg) Date: 2007-04-23 19:35
After starting roundup-server, I get one exception when accessing http://localhost:9999/, from the code that redirect to http://localhost:9999/tracker/:

Roundup server started on :9999
127.0.0.1 - - [23/Apr/2007 21:33:16] "GET / HTTP/1.1" 302 -
127.0.0.1 - - [23/Apr/2007 21:33:16] "GET / HTTP/1.1" 400 -
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 48824)
Traceback (most recent call last):
  File "SocketServer.py", line 441, in process_request
    self.finish_request(request, client_address)
  File "SocketServer.py", line 254, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "SocketServer.py", line 522, in __init__
    self.handle()
  File "BaseHTTPServer.py", line 316, in handle
    self.handle_one_request()
  File "BaseHTTPServer.py", line 310, in handle_one_request
    method()
  File "/home/forsberg/dev/roundup/tracker-roundup/lib/python2.5/site-packages/roundup/scripts/roundup_server.py", line 118, in run_cgi
    self.send_response(400)
  File "BaseHTTPServer.py", line 368, in send_response
    (self.protocol_version, code, message))
  File "socket.py", line 262, in write
    self.flush()
  File "socket.py", line 249, in flush
    self._sock.sendall(buffer)
error: (32, 'Broken pipe')
----------------------------------------
127.0.0.1 - - [23/Apr/2007 21:33:19] "GET /python-dev/index HTTP/1.1" 200 -
msg2432 Author: [hidden] (forsberg) Date: 2007-04-23 19:36
A end_headers() in the right place was added in revision 1.88 of roundup/scripts/roundup_server.py. This seems to have fixed the problem.
History
Date User Action Args
2007-04-23 19:35:02forsbergcreate