Edgewall Software

Ticket #5636: assertion.2.html

File assertion.2.html, 20.3 KB (added by Dave Abrahams <dave@…>, 5 years ago)

Correction: Assertion error screen produced by fastcgi when this patch is needed

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>Tue Oct 23 22:35:41 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': '116', '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': '116', 'HTTP_COOKIE':
43'trac_session=69b8a673ba0ec6a00546c6b0;
44trac_form...9778a433c42cec3aab8573a871c86c2; __utmc=214491140', ...}, <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'116', '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': '116', 'HTTP_COOKIE':
54'trac_session=69b8a673ba0ec6a00546c6b0;
55trac_form...9778a433c42cec3aab8573a871c86c2; __utmc=214491140', ...},
56start_response=&lt;function start_response&gt;)</td></tr>
57<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;450</small>&nbsp;<br>
58</tt></font></td></tr>
59<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;451</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;452</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;453</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;454</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'116', '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': '116', 'HTTP_COOKIE':
97'trac_session=69b8a673ba0ec6a00546c6b0;
98trac_form...9778a433c42cec3aab8573a871c86c2; __utmc=214491140', ...},
99'filename':
100'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py',
101...}}, {'filename':
102'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/main.py',
103'function': 'dispatch', 'line': ' resp =
104chosen_handler.process_request(req)', 'lineno': 190, 'lines_after': ['
105if resp:', ' if len(resp) == 2: # Clearsilver', '
106chrome.populate_hdf(req)', r' template, content_type = \', '
107self._post_process_request(req, *resp)'], 'lines_before': [" 'Do you
108have cookies enabled?')", '', ' # Process the request and render the
109template', ' try:', ' try:'], 'traceback': &lt;traceback object&gt;,
110'vars': {'chosen_handler': &lt;acct_mgr.web_ui.LoginModule object&gt;,
111'chrome': &lt;trac.web.chrome.Chrome object&gt;, 'ctype':
112'application/x-www-form-urlencoded', 'err': (&lt;class
113exceptions.AssertionError&gt;, &lt;exceptions.AssertionError
114instance&gt;, &lt;traceback object&gt;), 'handler':
115&lt;acct_mgr.web_ui.LoginModule object&gt;, 'options': {}, 'req':
116&lt;Request "POST u'/login'"&gt;, 'self':
117&lt;trac.web.main.RequestDispatcher object&gt;}}, {'filename':
118'build/bdist.freebsd-6.1-RELEASE-i386/egg/acct_mgr/web_ui.py',
119'function': 'process_request', 'line': None, 'lineno': 358,
120'lines_after': (), 'lines_before': (), 'traceback': &lt;traceback
121object&gt;, 'vars': {'req': &lt;Request "POST u'/login'"&gt;, 'self':
122&lt;acct_mgr.web_ui.LoginModule object&gt;}}, {'filename':
123'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/auth.py',
124'function': 'process_request', 'line': ' self._redirect_back(req)',
125'lineno': 103, 'lines_after': ['', ' # Internal methods', '', ' def
126_do_login(self, req):', ' """Log the remote user in.'], 'lines_before':
127[' def process_request(self, req):', " if
128req.path_info.startswith('/login'):", ' self._do_login(req)', " elif
129req.path_info.startswith('/logout'):", ' self._do_logout(req)'],
130'traceback': &lt;traceback object&gt;, 'vars': {'req': &lt;Request
131"POST u'/login'"&gt;, 'self': &lt;acct_mgr.web_ui.LoginModule
132object&gt;}}, {'filename':
133'build/bdist.freebsd-6.1-RELEASE-i386/egg/acct_mgr/web_ui.py',
134'function': '_redirect_back', 'line': None, 'lineno': 380,
135'lines_after': (), 'lines_before': (), 'traceback': &lt;traceback
136object&gt;, 'vars': {'referer': u'https://boost-consulting.com/trac',
137'req': &lt;Request "POST u'/login'"&gt;, 'self':
138&lt;acct_mgr.web_ui.LoginModule object&gt;}}, {'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',), 'kwords': {},
143'parts': (u'https', u'boost-consulting.com', u'/trac', '', ''),
144'referer': u'https://boost-consulting.com/trac', 'req': &lt;Request
145"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'}}, {'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', 'https://boost-consulting.com/trac'),
182('Content-Type', 'text/plain'), ('Pragma', 'no-cache'),
183('Cache-control', 'no-cache'), ('Expires', 'Fri, 01 Jan 1999 00:00:00
184GMT'), ('Set-Cookie', u'trac_auth=438dd7debe2cff8e43a89189babd764e;
185Path=/;'), ('Set-Cookie', u'trac_session=69b8a673ba0ec6a00546c6b0;
186expires=Tue, 23-Oct-2007 22:35:40 GMT; Path=/trac;')], 'status': '303
187See Other', 'val': u'trac_auth=438dd7debe2cff8e43a89189babd764e;
188Path=/;', 'write': &lt;function write&gt;}}], 'message':
189u'AssertionError: Header values must be strings', 'shorten_line':
190&lt;function shorten_line&gt;, 'title': 'Internal Error', 'traceback':
191'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>', 'type': 'internal'}</font></small></td></tr></tbody></table>
192<table border="0" cellpadding="0" cellspacing="0" width="100%">
193<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
194"POST u'/login'"&gt;, exc_info=(&lt;class
195exceptions.AssertionError&gt;, &lt;exceptions.AssertionError
196instance&gt;, &lt;traceback object&gt;), template='error.html',
197content_type='text/html', status=500, env=&lt;trac.env.Environment
198object&gt;, data='&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
199Str...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>
200<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;359</small>&nbsp;<br>
201</tt></font></td></tr>
202<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>
203</tt></font></td></tr>
204<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>
205</tt></td></tr>
206<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;362</small>&nbsp;<br>
207</tt></font></td></tr>
208<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>
209</tt></font></td></tr>
210<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>
211<table border="0" cellpadding="0" cellspacing="0" width="100%">
212<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
213Internal Error', response_headers=[('Cache-control',
214'must-revalidate'), ('Expires', 'Fri, 01 Jan 1999 00:00:00 GMT'),
215('Content-Type', 'text/html;charset=utf-8'), ('Content-Length',
216'34843'), ('Set-Cookie', u'trac_auth=438dd7debe2cff8e43a89189babd764e;
217Path=/;'), ('Set-Cookie', u'trac_session=69b8a673ba0ec6a00546c6b0;
218expires=Tue, 23-Oct-2007 22:35:41 GMT; Path=/trac;')], exc_info=None)</td></tr>
219<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>
220</tt></font></td></tr>
221<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>
222</tt></font></td></tr>
223<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>
224</tt></td></tr>
225<tr><td><font color="#909090"><tt><small>&nbsp;1248</small>&nbsp;<br>
226</tt></font></td></tr>
227<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>
228</tt></font></td></tr>
229<tr><td><small><font color="#909090"><em>builtin</em> <strong>type</strong>&nbsp;= &lt;type 'type'&gt;, <strong>val</strong>&nbsp;= u'trac_auth=438dd7debe2cff8e43a89189babd764e; 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
230<br><tt><small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</small>&nbsp;</tt>args&nbsp;=
231('Header values must be strings',)
232
233
234<!-- The above is a description of an error in a Python program, formatted
235     for a Web browser because the 'cgitb' module was enabled.  In case you
236     are not reading this in a Web browser, here is the original traceback:
237
238Traceback (most recent call last):
239  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py", line 570, in run
240    protocolStatus, appStatus = self.server.handler(self)
241  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py", line 1256, in handler
242    result = self.application(environ, start_response)
243  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/main.py", line 452, in dispatch_request
244    req.send_error(exc_info, status=500, env=env, data=data)
245  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/api.py", line 361, in send_error
246    exc_info)
247  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py", line 1247, in start_response
248    assert type(val) is str, 'Header values must be strings'
249AssertionError: Header values must be strings
250
251-->
252</p></body></html>