[Trac-tickets] [The Trac Project] #3024: Cannot render (or upgrade)
some wiki pages.
The Trac Project
noreply at edgewall.com
Tue Apr 11 19:55:51 CDT 2006
#3024: Cannot render (or upgrade) some wiki pages.
----------------------------+-----------------------------------------------
Reporter: tjb at cea.com.au | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: wiki | Version: 0.9.4
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
When trying to access the TracReports wiki page, we see the following
error
{{{
Python Traceback
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 300, in
dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 176, in
dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 117,
in process_request
self._render_view(req, db, page)
File "/usr/lib/python2.3/site-packages/trac/wiki/web_ui.py", line 364,
in _render_view
req.hdf['wiki.page_html'] = wiki_to_html(page.text, self.env, req)
File "/usr/lib/python2.3/site-packages/trac/wiki/formatter.py", line
826, in wiki_to_html
return Markup(out.getvalue())
File "/usr/lib/python2.3/StringIO.py", line 203, in getvalue
self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 63:
ordinal not in range(128)
searchHighlight()
}}}
This is apparently another unicode problem, and is consistent across our
trac installations. It also occurs on some other wiki pages.
At the same time, trac-admin wiki upgrade fails when trying to upgrade
TracReports, and gets no further.
It reports an error when trying to decode a character - I'll look for the
details and attache them when I can.
Our current trac version is 3130, and we are running on Suse Enterprise
Linux 9, Apache 2.0.49, and mod-python.
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3024>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list