Edgewall Software

Ticket #5636: login.html

File login.html, 20.4 KB (added by Dave Abrahams <dave@…>, 5 years ago)

more assertion errors

Line 
1<html><head></head><body bgcolor="#f0f0f8">
2<table summary="heading" border="0" cellpadding="2" cellspacing="0" width="100%">
3<tbody><tr bgcolor="#6622aa">
4<td valign="bottom">&nbsp;<br>
5<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>AssertionError</strong></big></big></font></td><td align="right" valign="bottom"><font color="#ffffff" face="helvetica, arial">Python 2.4.3: /usr/local/bin/python<br>Wed Oct 24 14:10:50 2007</font></td></tr></tbody></table>
6   
7<p>A problem occurred in a Python script.  Here is the sequence of
8function calls leading up to the error, in the order they occurred.</p>
9<table border="0" cellpadding="0" cellspacing="0" width="100%">
10<tbody><tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py">/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py</a> in <strong>run</strong>(self=&lt;trac.web._fcgi.Request object&gt;)</td></tr>
11<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;568</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"""Runs&nbsp;the&nbsp;handler,&nbsp;flushes&nbsp;the&nbsp;streams,&nbsp;and&nbsp;ends&nbsp;the&nbsp;request."""<br>
12</tt></font></td></tr>
13<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;569</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try:<br>
14</tt></font></td></tr>
15<tr><td bgcolor="#ffccee"><tt><small>&nbsp;&nbsp;570</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protocolStatus,&nbsp;appStatus&nbsp;=&nbsp;self.server.handler(self)<br>
16</tt></td></tr>
17<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;571</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;except:<br>
18</tt></font></td></tr>
19<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;572</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;traceback.print_exc(file=self.stderr)<br>
20</tt></font></td></tr>
21<tr><td><small><font color="#909090">protocolStatus <em>undefined</em>, appStatus <em>undefined</em>, <strong>self</strong>&nbsp;= &lt;trac.web._fcgi.Request object&gt;, self.<strong>server</strong>&nbsp;= &lt;trac.web._fcgi.WSGIServer object&gt;, self.server.<strong>handler</strong>&nbsp;= &lt;bound method WSGIServer.handler of &lt;trac.web._fcgi.WSGIServer object&gt;&gt;</font></small></td></tr></tbody></table>
22<table border="0" cellpadding="0" cellspacing="0" width="100%">
23<tbody><tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py">/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py</a> in <strong>handler</strong>(self=&lt;trac.web._fcgi.WSGIServer object&gt;, req=&lt;trac.web._fcgi.Request object&gt;)</td></tr>
24<tr><td><font color="#909090"><tt><small>&nbsp;1254</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try:<br>
25</tt></font></td></tr>
26<tr><td><font color="#909090"><tt><small>&nbsp;1255</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try:<br>
27</tt></font></td></tr>
28<tr><td bgcolor="#ffccee"><tt><small>&nbsp;1256</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result&nbsp;=&nbsp;self.application(environ,&nbsp;start_response)<br>
29</tt></td></tr>
30<tr><td><font color="#909090"><tt><small>&nbsp;1257</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try:<br>
31</tt></font></td></tr>
32<tr><td><font color="#909090"><tt><small>&nbsp;1258</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;data&nbsp;in&nbsp;result:<br>
33</tt></font></td></tr>
34<tr><td><small><font color="#909090"><strong>result</strong>&nbsp;= None, <strong>self</strong>&nbsp;= &lt;trac.web._fcgi.WSGIServer object&gt;, self.<strong>application</strong>&nbsp;= &lt;function dispatch_request&gt;, <strong>environ</strong>&nbsp;=
35{'CONTENT_LENGTH': '125', 'CONTENT_TYPE':
36'application/x-www-form-urlencoded', 'DOCUMENT_ROOT':
37'/usr/local/www/apache22/site/data', 'GATEWAY_INTERFACE': 'CGI/1.1',
38'HTTP_ACCEPT':
39'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
40'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
41'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE':
42'en-us,en;q=0.5', 'HTTP_CONTENT_LENGTH': '125', 'HTTP_COOKIE':
43'trac_form_token=626050dd13958a6db0f1c8fa; trac_s...91140;
44trac_auth=9055cd12667f16bf17a6bdb76fdec025', ...}, <strong>start_response</strong>&nbsp;= &lt;function start_response&gt;</font></small></td></tr></tbody></table>
45<table border="0" cellpadding="0" cellspacing="0" width="100%">
46<tbody><tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/main.py">/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/main.py</a> in <strong>dispatch_request</strong>(environ={'CONTENT_LENGTH':
47'125', 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
48'DOCUMENT_ROOT': '/usr/local/www/apache22/site/data',
49'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
50'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
51'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
52'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE':
53'en-us,en;q=0.5', 'HTTP_CONTENT_LENGTH': '125', 'HTTP_COOKIE':
54'trac_form_token=626050dd13958a6db0f1c8fa; trac_s...91140;
55trac_auth=9055cd12667f16bf17a6bdb76fdec025', ...},
56start_response=&lt;function start_response&gt;)</td></tr>
57<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;452</small>&nbsp;<br>
58</tt></font></td></tr>
59<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;453</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try:<br>
60</tt></font></td></tr>
61<tr><td bgcolor="#ffccee"><tt><small>&nbsp;&nbsp;454</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;req.send_error(exc_info,&nbsp;status=500,&nbsp;env=env,&nbsp;data=data)<br>
62</tt></td></tr>
63<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;455</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;except&nbsp;RequestDone:<br>
64</tt></font></td></tr>
65<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;456</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;[]<br>
66</tt></font></td></tr>
67<tr><td><small><font color="#909090"><strong>req</strong>&nbsp;= &lt;Request "POST u'/login'"&gt;, req.<strong>send_error</strong>&nbsp;= &lt;bound method Request.send_error of &lt;Request "POST u'/login'"&gt;&gt;, exc_info <em>undefined</em>, status <em>undefined</em>, <strong>env</strong>&nbsp;= &lt;trac.env.Environment object&gt;, <strong>data</strong>&nbsp;=
68{'frames': [{'filename':
69'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/main.py',
70'function': 'dispatch_request', 'line': ' dispatcher.dispatch(req)',
71'lineno': 380, 'lines_after': [' except RequestDone:', ' pass', '
72return req._response or []', ' finally:', ' if not run_once:'],
73'lines_before': [' if not env and env_error:', ' raise
74HTTPInternalError(env_error)', ' try:', ' try:', ' dispatcher =
75RequestDispatcher(env)'], 'traceback': &lt;traceback object&gt;,
76'vars': {'after': ['', ' headers_set[:] = [status, response_headers]',
77' return write', '', ' if not self.multithreaded:'], 'before': ["
78assert status[3] == ' ', 'Status must have a space after code'", "
79assert type(response_headers) is list, 'Headers must be a list'", ' if
80__debug__:', ' for name,val in response_headers:', " assert type(name)
81is str, 'Header names must be strings'"], 'data': {'frames': [{...},
82{...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}], 'message':
83u'AssertionError: Header values must be strings', 'shorten_line':
84&lt;function shorten_line&gt;, 'title': 'Internal Error', 'traceback':
85'Traceback (most recent call last):<font color="#c040c0">\n</font>  File "/usr/...s<font color="#c040c0">\'\n</font>AssertionError: Header values must be strings<font color="#c040c0">\n</font>',
86'type': 'internal'}, 'dispatcher': &lt;trac.web.main.RequestDispatcher
87object&gt;, 'e': &lt;exceptions.AssertionError instance&gt;, 'env':
88&lt;trac.env.Environment object&gt;, 'env_error': None, 'env_path':
89'/usr/local/share/trac/projects/master', 'environ': {'CONTENT_LENGTH':
90'125', 'CONTENT_TYPE': 'application/x-www-form-urlencoded',
91'DOCUMENT_ROOT': '/usr/local/www/apache22/site/data',
92'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
93'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
94'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
95'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE':
96'en-us,en;q=0.5', 'HTTP_CONTENT_LENGTH': '125', 'HTTP_COOKIE':
97'trac_form_token=626050dd13958a6db0f1c8fa; trac_s...91140;
98trac_auth=9055cd12667f16bf17a6bdb76fdec025', ...}, 'filename':
99'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py',
100...}}, {'filename':
101'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/main.py',
102'function': 'dispatch', 'line': ' resp =
103chosen_handler.process_request(req)', 'lineno': 190, 'lines_after': ['
104if resp:', ' if len(resp) == 2: # Clearsilver', '
105chrome.populate_hdf(req)', r' template, content_type = \', '
106self._post_process_request(req, *resp)'], 'lines_before': [" 'Do you
107have cookies enabled?')", '', ' # Process the request and render the
108template', ' try:', ' try:'], 'traceback': &lt;traceback object&gt;,
109'vars': {'chosen_handler': &lt;acct_mgr.web_ui.LoginModule object&gt;,
110'chrome': &lt;trac.web.chrome.Chrome object&gt;, 'ctype':
111'application/x-www-form-urlencoded', 'err': (&lt;class
112exceptions.AssertionError&gt;, &lt;exceptions.AssertionError
113instance&gt;, &lt;traceback object&gt;), 'handler':
114&lt;acct_mgr.web_ui.LoginModule object&gt;, 'options': {}, 'req':
115&lt;Request "POST u'/login'"&gt;, 'self':
116&lt;trac.web.main.RequestDispatcher object&gt;}}, {'filename':
117'build/bdist.freebsd-6.1-RELEASE-i386/egg/acct_mgr/web_ui.py',
118'function': 'process_request', 'line': None, 'lineno': 358,
119'lines_after': (), 'lines_before': (), 'traceback': &lt;traceback
120object&gt;, 'vars': {'req': &lt;Request "POST u'/login'"&gt;, 'self':
121&lt;acct_mgr.web_ui.LoginModule object&gt;}}, {'filename':
122'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/auth.py',
123'function': 'process_request', 'line': ' self._redirect_back(req)',
124'lineno': 103, 'lines_after': ['', ' # Internal methods', '', ' def
125_do_login(self, req):', ' """Log the remote user in.'], 'lines_before':
126[' def process_request(self, req):', " if
127req.path_info.startswith('/login'):", ' self._do_login(req)', " elif
128req.path_info.startswith('/logout'):", ' self._do_logout(req)'],
129'traceback': &lt;traceback object&gt;, 'vars': {'req': &lt;Request
130"POST u'/login'"&gt;, 'self': &lt;acct_mgr.web_ui.LoginModule
131object&gt;}}, {'filename':
132'build/bdist.freebsd-6.1-RELEASE-i386/egg/acct_mgr/web_ui.py',
133'function': '_redirect_back', 'line': None, 'lineno': 380,
134'lines_after': (), 'lines_before': (), 'traceback': &lt;traceback
135object&gt;, 'vars': {'referer':
136u'https://boost-consulting.com/trac/report', 'req': &lt;Request "POST
137u'/login'"&gt;, 'self': &lt;acct_mgr.web_ui.LoginModule object&gt;}},
138{'filename':
139'/usr/local/share/trac/global/plugins/TracForge-1.1-py2.4.egg/tracforge/linker/auth.py',
140'function': 'my_redirect', 'line': None, 'lineno': 70, 'lines_after':
141(), 'lines_before': (), 'traceback': &lt;traceback object&gt;, 'vars':
142{'args': (u'https://boost-consulting.com/trac/report',), 'kwords': {},
143'parts': (u'https', u'boost-consulting.com', u'/trac/report', '', ''),
144'referer': u'https://boost-consulting.com/trac/report', 'req':
145&lt;Request "POST u'/login'"&gt;, 'self':
146&lt;tracforge.linker.auth.TracForgeCookieMunger object&gt;}},
147{'filename':
148'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/api.py',
149'function': 'redirect', 'line': ' self.end_headers()', 'lineno': 288,
150'lines_after': ['', " if self.method != 'HEAD':", "
151self.write('Redirecting...')", ' raise RequestDone', ''],
152'lines_before': [" self.send_header('Location', url)", "
153self.send_header('Content-Type', 'text/plain')", "
154self.send_header('Pragma', 'no-cache')", "
155self.send_header('Cache-control', 'no-cache')", "
156self.send_header('Expires', 'Fri, 01 Jan 1999 00:00:00 GMT')"],
157'traceback': &lt;traceback object&gt;, 'vars': {'permanent': False,
158'self': &lt;Request "POST u'/login'"&gt;, 'status': 303, 'url':
159u'https://boost-consulting.com/trac/report'}}, {'filename':
160'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/api.py',
161'function': 'end_headers', 'line': ' self._write =
162self._start_response(self._status, self._outheaders)', 'lineno': 229,
163'lines_after': ['', " def check_modified(self, datetime, extra=''):", '
164"""Check the request "If-None-Match" header against an entity tag.',
165'', ' The entity tag is generated from the specified last modified
166time'], 'lines_before': [' def end_headers(self):', ' """Must be called
167after all headers have been sent and before the actual', ' content is
168written.', ' """', ' self._send_cookie_headers()'], 'traceback':
169&lt;traceback object&gt;, 'vars': {'self': &lt;Request "POST
170u'/login'"&gt;}}, {'filename':
171'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py',
172'function': 'start_response', 'line': " assert type(val) is str,
173'Header values must be strings'", 'lineno': 1246, 'lines_after': ['', '
174headers_set[:] = [status, response_headers]', ' return write', '', ' if
175not self.multithreaded:'], 'lines_before': [" assert status[3] == ' ',
176'Status must have a space after code'", " assert type(response_headers)
177is list, 'Headers must be a list'", ' if __debug__:', ' for name,val in
178response_headers:', " assert type(name) is str, 'Header names must be
179strings'"], 'traceback': &lt;traceback object&gt;, 'vars': {'exc_info':
180None, 'headers_sent': [], 'headers_set': [], 'name': 'Set-Cookie',
181'response_headers': [('Location',
182'https://boost-consulting.com/trac/report'), ('Content-Type',
183'text/plain'), ('Pragma', 'no-cache'), ('Cache-control', 'no-cache'),
184('Expires', 'Fri, 01 Jan 1999 00:00:00 GMT'), ('Set-Cookie',
185u'trac_auth=c2f0cdd85ef5557c349ee8d6bd9043b3; Path=/;'), ('Set-Cookie',
186u'trac_session=526017710757204d69ff1822; expires=Wed, 24-Oct-2007
18714:10:50 GMT; Path=/trac;')], 'status': '303 See Other', 'val':
188u'trac_auth=c2f0cdd85ef5557c349ee8d6bd9043b3; Path=/;', 'write':
189&lt;function write&gt;}}], 'message': u'AssertionError: Header values
190must be strings', 'shorten_line': &lt;function shorten_line&gt;,
191'title': 'Internal Error', 'traceback': 'Traceback (most recent call
192last):<font color="#c040c0">\n</font>  File "/usr/...s<font color="#c040c0">\'\n</font>AssertionError: Header values must be strings<font color="#c040c0">\n</font>', 'type': 'internal'}</font></small></td></tr></tbody></table>
193<table border="0" cellpadding="0" cellspacing="0" width="100%">
194<tbody><tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/api.py">/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/api.py</a> in <strong>send_error</strong>(self=&lt;Request
195"POST u'/login'"&gt;, exc_info=(&lt;class
196exceptions.AssertionError&gt;, &lt;exceptions.AssertionError
197instance&gt;, &lt;traceback object&gt;), template='error.html',
198content_type='text/html', status=500, env=&lt;trac.env.Environment
199object&gt;, data='&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
200Str...dgewall.org/&lt;/a&gt;&lt;/p&gt;<font color="#c040c0">\n</font>    &lt;/div&gt;<font color="#c040c0">\n</font>  &lt;/body&gt;<font color="#c040c0">\n</font>&lt;/html&gt;')</td></tr>
201<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;359</small>&nbsp;<br>
202</tt></font></td></tr>
203<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;360</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self._write&nbsp;=&nbsp;self._start_response(self._status,&nbsp;self._outheaders,<br>
204</tt></font></td></tr>
205<tr><td bgcolor="#ffccee"><tt><small>&nbsp;&nbsp;361</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;exc_info)<br>
206</tt></td></tr>
207<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;362</small>&nbsp;<br>
208</tt></font></td></tr>
209<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;363</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;self.method&nbsp;!=&nbsp;'HEAD':<br>
210</tt></font></td></tr>
211<tr><td><small><font color="#909090"><strong>exc_info</strong>&nbsp;= (&lt;class exceptions.AssertionError&gt;, &lt;exceptions.AssertionError instance&gt;, &lt;traceback object&gt;)</font></small></td></tr></tbody></table>
212<table border="0" cellpadding="0" cellspacing="0" width="100%">
213<tbody><tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py">/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py</a> in <strong>start_response</strong>(status='500
214Internal Error', response_headers=[('Cache-control',
215'must-revalidate'), ('Expires', 'Fri, 01 Jan 1999 00:00:00 GMT'),
216('Content-Type', 'text/html;charset=utf-8'), ('Content-Length',
217'34875'), ('Set-Cookie', u'trac_auth=c2f0cdd85ef5557c349ee8d6bd9043b3;
218Path=/;'), ('Set-Cookie', u'trac_session=526017710757204d69ff1822;
219expires=Wed, 24-Oct-2007 14:10:50 GMT; Path=/trac;')], exc_info=None)</td></tr>
220<tr><td><font color="#909090"><tt><small>&nbsp;1245</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;name,val&nbsp;in&nbsp;response_headers:<br>
221</tt></font></td></tr>
222<tr><td><font color="#909090"><tt><small>&nbsp;1246</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assert&nbsp;type(name)&nbsp;is&nbsp;str,&nbsp;'Header&nbsp;names&nbsp;must&nbsp;be&nbsp;strings'<br>
223</tt></font></td></tr>
224<tr><td bgcolor="#ffccee"><tt><small>&nbsp;1247</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;assert&nbsp;type(val)&nbsp;is&nbsp;str,&nbsp;'Header&nbsp;values&nbsp;must&nbsp;be&nbsp;strings'<br>
225</tt></td></tr>
226<tr><td><font color="#909090"><tt><small>&nbsp;1248</small>&nbsp;<br>
227</tt></font></td></tr>
228<tr><td><font color="#909090"><tt><small>&nbsp;1249</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;headers_set[:]&nbsp;=&nbsp;[status,&nbsp;response_headers]<br>
229</tt></font></td></tr>
230<tr><td><small><font color="#909090"><em>builtin</em> <strong>type</strong>&nbsp;= &lt;type 'type'&gt;, <strong>val</strong>&nbsp;= u'trac_auth=c2f0cdd85ef5557c349ee8d6bd9043b3; Path=/;', <em>builtin</em> <strong>str</strong>&nbsp;= &lt;type 'str'&gt;</font></small></td></tr></tbody></table><p><strong>AssertionError</strong>: Header values must be strings
231<br><tt><small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</small>&nbsp;</tt>args&nbsp;=
232('Header values must be strings',)
233
234
235<!-- The above is a description of an error in a Python program, formatted
236     for a Web browser because the 'cgitb' module was enabled.  In case you
237     are not reading this in a Web browser, here is the original traceback:
238
239Traceback (most recent call last):
240  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py", line 570, in run
241    protocolStatus, appStatus = self.server.handler(self)
242  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py", line 1256, in handler
243    result = self.application(environ, start_response)
244  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/main.py", line 454, in dispatch_request
245    req.send_error(exc_info, status=500, env=env, data=data)
246  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/api.py", line 361, in send_error
247    exc_info)
248  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py", line 1247, in start_response
249    assert type(val) is str, 'Header values must be strings'
250AssertionError: Header values must be strings
251
252-->
253</p></body></html>