Issue 2550587
Created on 2009-09-04 15:28 by ThomasAH, last changed 2009-12-01 09:22 by schlatterbeck.
msg3867 |
Author: [hidden] (ThomasAH) |
Date: 2009-09-04 15:28 |
|
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)
An HTTP request triggers a traceback, which in turn gets emailed to the
admin.
The request is:
"OPTIONS / HTTP/1.0"
The traceback is:
Traceback (most recent call last):
File "/usr/local/lib/python2.5/site-packages/roundup/cgi/client.py",
line 430, in inner_main
self.determine_charset()
File "/usr/local/lib/python2.5/site-packages/roundup/cgi/client.py",
line 559, in determine_charset
if self.form.has_key('@charset'):
File "/usr/lib/python2.5/cgi.py", line 618, in has_key
raise TypeError, "not indexable"
TypeError: not indexable
|
msg3897 |
Author: [hidden] (ThomasAH) |
Date: 2009-10-23 15:48 |
|
With roundup 1.4.10 the traceback is sent as an HTML mail.
The bad thing is that it is HTML mail, but the good thing is that the
request parameters are included, e.g.:
REQUEST_METHOD 'OPTIONS'
REQUEST_URI '/'
|
msg3920 |
Author: [hidden] (schlatterbeck) |
Date: 2009-12-01 09:16 |
|
Fixed in Revision 4396
For download of modified wsgi_handler, see
http://svn.roundup-tracker.org/viewvc/roundup/roundup/trunk/roundup/cgi/wsgi_handler.py?view=log
Implementation was lacking a handler for the http OPTIONS request method.
|
|
Date |
User |
Action |
Args |
2009-12-01 09:22:41 | schlatterbeck | set | resolution: fixed |
2009-12-01 09:16:59 | schlatterbeck | set | status: new -> closed assignee: schlatterbeck messages:
+ msg3920 nosy:
+ schlatterbeck |
2009-10-23 15:48:35 | ThomasAH | set | messages:
+ msg3897 |
2009-09-04 15:28:06 | ThomasAH | create | |
|