Roundup Tracker - Issues

Message3866

Author ThomasAH
Recipients ThomasAH
Date 2009-09-04.15:25:49
Message-id <1252077950.5.0.0687636054593.issue2550586@psf.upfronthosting.co.za>
In-reply-to
Roundup 1.4.9 running at / (web server root) via the following wsgi script:

#!/usr/bin/env python
import sys
sys.stdout = sys.stderr
# obtain the WSGI request dispatcher
from roundup.cgi.wsgi_handler import RequestDispatcher
tracker_home = '/home/roundup/kolab'
application = RequestDispatcher(tracker_home)

There are bots which send a request which triggers a traceback, which in
turn gets emailed to the admin.
The stripped down version of the request that still triggers the
traceback is:
"GET /msg1/ HTTP/1.0"

(/issue1/ or /user1/ does not trigger it!)

The traceback is:

Traceback (most recent call last):

  File "/usr/local/lib/python2.5/site-packages/roundup/cgi/client.py",
line 474, in inner_main
    self.serve_file(designator)

  File "/usr/local/lib/python2.5/site-packages/roundup/cgi/client.py",
line 887, in serve_file
    self._serve_file(lmt, mime_type, content, filename)

  File "/usr/local/lib/python2.5/site-packages/roundup/cgi/client.py",
line 943, in _serve_file
    self.write_file(filename)

  File "/usr/local/lib/python2.5/site-packages/roundup/cgi/client.py",
line 1349, in write_file
    self.write(content)

  File "/usr/local/lib/python2.5/site-packages/roundup/cgi/client.py",
line 1107, in write
    self._socket_op(self.request.wfile.write, content)

  File "/usr/local/lib/python2.5/site-packages/roundup/cgi/client.py",
line 1084, in _socket_op
    call(*args, **kwargs)

  File
"/usr/local/lib/python2.5/site-packages/roundup/cgi/wsgi_handler.py",
line 23, in write
    return f(data)

TypeError: expected string object for header value
History
Date User Action Args
2009-09-04 15:25:50ThomasAHsetmessageid: <1252077950.5.0.0687636054593.issue2550586@psf.upfronthosting.co.za>
2009-09-04 15:25:50ThomasAHsetrecipients: + ThomasAH
2009-09-04 15:25:50ThomasAHlinkissue2550586 messages
2009-09-04 15:25:49ThomasAHcreate