Edgewall Software

Ticket #5636: logout.html

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

still 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:09:42 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{'DOCUMENT_ROOT': '/usr/local/www/apache22/site/data',
36'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT':
37'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
38'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
39'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE':
40'en-us,en;q=0.5', 'HTTP_COOKIE':
41'trac_form_token=626050dd13958a6db0f1c8fa; __utma...91140;
42trac_auth=9055cd12667f16bf17a6bdb76fdec025', 'HTTP_HOST':
43'www.boost-consulting.com:8081', 'HTTP_MAX_FORWARDS': '10',
44'HTTP_REFERER': 'https://boost-consulting.com/trac/', ...}, <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={'DOCUMENT_ROOT':
47'/usr/local/www/apache22/site/data', 'GATEWAY_INTERFACE': 'CGI/1.1',
48'HTTP_ACCEPT':
49'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
50'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
51'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE':
52'en-us,en;q=0.5', 'HTTP_COOKIE':
53'trac_form_token=626050dd13958a6db0f1c8fa; __utma...91140;
54trac_auth=9055cd12667f16bf17a6bdb76fdec025', 'HTTP_HOST':
55'www.boost-consulting.com:8081', 'HTTP_MAX_FORWARDS': '10',
56'HTTP_REFERER': 'https://boost-consulting.com/trac/', ...},
57start_response=&lt;function start_response&gt;)</td></tr>
58<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;452</small>&nbsp;<br>
59</tt></font></td></tr>
60<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>
61</tt></font></td></tr>
62<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>
63</tt></td></tr>
64<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>
65</tt></font></td></tr>
66<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>
67</tt></font></td></tr>
68<tr><td><small><font color="#909090"><strong>req</strong>&nbsp;= &lt;Request "GET u'/logout'"&gt;, req.<strong>send_error</strong>&nbsp;= &lt;bound method Request.send_error of &lt;Request "GET u'/logout'"&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;=
69{'frames': [{'filename':
70'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/main.py',
71'function': 'dispatch_request', 'line': ' dispatcher.dispatch(req)',
72'lineno': 380, 'lines_after': [' except RequestDone:', ' pass', '
73return req._response or []', ' finally:', ' if not run_once:'],
74'lines_before': [' if not env and env_error:', ' raise
75HTTPInternalError(env_error)', ' try:', ' try:', ' dispatcher =
76RequestDispatcher(env)'], 'traceback': &lt;traceback object&gt;,
77'vars': {'after': ['', ' headers_set[:] = [status, response_headers]',
78' return write', '', ' if not self.multithreaded:'], 'before': ["
79assert status[3] == ' ', 'Status must have a space after code'", "
80assert type(response_headers) is list, 'Headers must be a list'", ' if
81__debug__:', ' for name,val in response_headers:', " assert type(name)
82is str, 'Header names must be strings'"], 'data': {'frames': [{...},
83{...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}], 'message':
84u'AssertionError: Header values must be strings', 'shorten_line':
85&lt;function shorten_line&gt;, 'title': 'Internal Error', 'traceback':
86'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>',
87'type': 'internal'}, 'dispatcher': &lt;trac.web.main.RequestDispatcher
88object&gt;, 'e': &lt;exceptions.AssertionError instance&gt;, 'env':
89&lt;trac.env.Environment object&gt;, 'env_error': None, 'env_path':
90'/usr/local/share/trac/projects/master', 'environ': {'DOCUMENT_ROOT':
91'/usr/local/www/apache22/site/data', 'GATEWAY_INTERFACE': 'CGI/1.1',
92'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_COOKIE':
97'trac_form_token=626050dd13958a6db0f1c8fa; __utma...91140;
98trac_auth=9055cd12667f16bf17a6bdb76fdec025', 'HTTP_HOST':
99'www.boost-consulting.com:8081', 'HTTP_MAX_FORWARDS': '10',
100'HTTP_REFERER': 'https://boost-consulting.com/trac/', ...}, 'filename':
101'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py',
102...}}, {'filename':
103'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/main.py',
104'function': 'dispatch', 'line': ' resp =
105chosen_handler.process_request(req)', 'lineno': 190, 'lines_after': ['
106if resp:', ' if len(resp) == 2: # Clearsilver', '
107chrome.populate_hdf(req)', r' template, content_type = \', '
108self._post_process_request(req, *resp)'], 'lines_before': [" 'Do you
109have cookies enabled?')", '', ' # Process the request and render the
110template', ' try:', ' try:'], 'traceback': &lt;traceback object&gt;,
111'vars': {'chosen_handler': &lt;acct_mgr.web_ui.LoginModule object&gt;,
112'chrome': &lt;trac.web.chrome.Chrome object&gt;, '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;, 'req': &lt;Request "GET
116u'/logout'"&gt;, 'self': &lt;trac.web.main.RequestDispatcher
117object&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 "GET u'/logout'"&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 "GET
131u'/logout'"&gt;, 'self': &lt;acct_mgr.web_ui.LoginModule object&gt;}},
132{'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': 'https://boost-consulting.com/trac/',
137'req': &lt;Request "GET u'/logout'"&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': ('https://boost-consulting.com/trac/',), 'kwords': {},
143'referer': None, 'req': &lt;Request "GET u'/logout'"&gt;, 'self':
144&lt;tracforge.linker.auth.TracForgeCookieMunger object&gt;}},
145{'filename':
146'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/api.py',
147'function': 'redirect', 'line': ' self.end_headers()', 'lineno': 288,
148'lines_after': ['', " if self.method != 'HEAD':", "
149self.write('Redirecting...')", ' raise RequestDone', ''],
150'lines_before': [" self.send_header('Location', url)", "
151self.send_header('Content-Type', 'text/plain')", "
152self.send_header('Pragma', 'no-cache')", "
153self.send_header('Cache-control', 'no-cache')", "
154self.send_header('Expires', 'Fri, 01 Jan 1999 00:00:00 GMT')"],
155'traceback': &lt;traceback object&gt;, 'vars': {'permanent': False,
156'self': &lt;Request "GET u'/logout'"&gt;, 'status': 302, 'url':
157'https://boost-consulting.com/trac/'}}, {'filename':
158'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/api.py',
159'function': 'end_headers', 'line': ' self._write =
160self._start_response(self._status, self._outheaders)', 'lineno': 229,
161'lines_after': ['', " def check_modified(self, datetime, extra=''):", '
162"""Check the request "If-None-Match" header against an entity tag.',
163'', ' The entity tag is generated from the specified last modified
164time'], 'lines_before': [' def end_headers(self):', ' """Must be called
165after all headers have been sent and before the actual', ' content is
166written.', ' """', ' self._send_cookie_headers()'], 'traceback':
167&lt;traceback object&gt;, 'vars': {'self': &lt;Request "GET
168u'/logout'"&gt;}}, {'filename':
169'/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py',
170'function': 'start_response', 'line': " assert type(val) is str,
171'Header values must be strings'", 'lineno': 1246, 'lines_after': ['', '
172headers_set[:] = [status, response_headers]', ' return write', '', ' if
173not self.multithreaded:'], 'lines_before': [" assert status[3] == ' ',
174'Status must have a space after code'", " assert type(response_headers)
175is list, 'Headers must be a list'", ' if __debug__:', ' for name,val in
176response_headers:', " assert type(name) is str, 'Header names must be
177strings'"], 'traceback': &lt;traceback object&gt;, 'vars': {'exc_info':
178None, 'headers_sent': [], 'headers_set': [], 'name': 'Set-Cookie',
179'response_headers': [('Location',
180'https://boost-consulting.com/trac/'), ('Content-Type', 'text/plain'),
181('Pragma', 'no-cache'), ('Cache-control', 'no-cache'), ('Expires',
182'Fri, 01 Jan 1999 00:00:00 GMT'), ('Set-Cookie', u'trac_auth=;
183expires=Wed, 24-Oct-2007 11:23:01 GMT; Path=/;')], 'status': '302
184Found', 'val': u'trac_auth=; expires=Wed, 24-Oct-2007 11:23:01 GMT;
185Path=/;', 'write': &lt;function write&gt;}}], 'message':
186u'AssertionError: Header values must be strings', 'shorten_line':
187&lt;function shorten_line&gt;, 'title': 'Internal Error', 'traceback':
188'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>
189<table border="0" cellpadding="0" cellspacing="0" width="100%">
190<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
191"GET u'/logout'"&gt;, exc_info=(&lt;class
192exceptions.AssertionError&gt;, &lt;exceptions.AssertionError
193instance&gt;, &lt;traceback object&gt;), template='error.html',
194content_type='text/html', status=500, env=&lt;trac.env.Environment
195object&gt;, data='&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
196Str...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>
197<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;359</small>&nbsp;<br>
198</tt></font></td></tr>
199<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>
200</tt></font></td></tr>
201<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>
202</tt></td></tr>
203<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;362</small>&nbsp;<br>
204</tt></font></td></tr>
205<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>
206</tt></font></td></tr>
207<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>
208<table border="0" cellpadding="0" cellspacing="0" width="100%">
209<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
210Internal Error', response_headers=[('Cache-control',
211'must-revalidate'), ('Expires', 'Fri, 01 Jan 1999 00:00:00 GMT'),
212('Content-Type', 'text/html;charset=utf-8'), ('Content-Length',
213'34052'), ('Set-Cookie', u'trac_auth=; expires=Wed, 24-Oct-2007
21411:23:02 GMT; Path=/;')], exc_info=None)</td></tr>
215<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>
216</tt></font></td></tr>
217<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>
218</tt></font></td></tr>
219<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>
220</tt></td></tr>
221<tr><td><font color="#909090"><tt><small>&nbsp;1248</small>&nbsp;<br>
222</tt></font></td></tr>
223<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>
224</tt></font></td></tr>
225<tr><td><small><font color="#909090"><em>builtin</em> <strong>type</strong>&nbsp;= &lt;type 'type'&gt;, <strong>val</strong>&nbsp;= u'trac_auth=; expires=Wed, 24-Oct-2007 11:23:02 GMT; 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
226<br><tt><small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</small>&nbsp;</tt>args&nbsp;=
227('Header values must be strings',)
228
229
230<!-- The above is a description of an error in a Python program, formatted
231     for a Web browser because the 'cgitb' module was enabled.  In case you
232     are not reading this in a Web browser, here is the original traceback:
233
234Traceback (most recent call last):
235  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py", line 570, in run
236    protocolStatus, appStatus = self.server.handler(self)
237  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py", line 1256, in handler
238    result = self.application(environ, start_response)
239  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/main.py", line 454, in dispatch_request
240    req.send_error(exc_info, status=500, env=env, data=data)
241  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/api.py", line 361, in send_error
242    exc_info)
243  File "/usr/local/lib/python2.4/site-packages/Trac-0.11dev_r6060-py2.4.egg/trac/web/_fcgi.py", line 1247, in start_response
244    assert type(val) is str, 'Header values must be strings'
245AssertionError: Header values must be strings
246
247-->
248</p></body></html>