UnicodeDecodeError
'ascii' codec can't decode byte 0xe6 in position 309: ordinal not in range(128)
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestFastCGI object>)
- 1149 from MoinMoin.wikiaction import getHandler
- 1150 handler = getHandler(self, action)
- 1151 handler(self.page.page_name, self)
- 1152
- 1153 # generate page footer (actions that do not want this footer use
- handler = <function do_show>
- self = <MoinMoin.request.RequestFastCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'Xslt\u7248\u672c'
/usr/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'Xslt\u7248\u672c', request=<MoinMoin.request.RequestFastCGI object>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page>
- request = <MoinMoin.request.RequestFastCGI object>
- pagename = u'Xslt\u7248\u672c'
- ).send_page undefined
- count_hit undefined
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, msg='', **keywords={'count_hit': 1})
- 1251 format_args=pi_formatargs,
- 1252 do_cache=do_cache,
- 1253 start_line=pi_lines)
- 1254
- 1255 # check for pending footnotes
- start_line undefined
- pi_lines = 8
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, Parser=<class MoinMoin.parser.xslt.Parser>, body=u'<?xml version="1.0" encoding="UTF-8"?>\n\n<?xml-st...on\')"/> \u7248.\n </xsl:template>\n\n</xsl:stylesheet>\n', format_args=u'', do_cache=1, **kw={'start_line': 8})
- 1347 raise
- 1348 try:
- 1349 code = self.makeCache(request, parser)
- 1350 self.execute(request, parser, code)
- 1351 except Exception, e:
- code undefined
- self = <MoinMoin.Page.Page instance>
- self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestFastCGI object>
- parser = <MoinMoin.parser.xslt.Parser instance>
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, parser=<MoinMoin.parser.xslt.Parser instance>)
- 1405 saved_current_lang = request.current_lang
- 1406 try:
- 1407 text = request.redirectedOutput(parser.format, formatter)
- 1408 finally:
- 1409 request.current_lang = saved_current_lang
- text undefined
- request = <MoinMoin.request.RequestFastCGI object>
- request.redirectedOutput = <bound method RequestFastCGI.redirectedOutput of <MoinMoin.request.RequestFastCGI object>>
- parser = <MoinMoin.parser.xslt.Parser instance>
- parser.format = <bound method Parser.format of <MoinMoin.parser.xslt.Parser instance>>
- formatter = <MoinMoin.formatter.text_python.Formatter instance>
/usr/lib/python2.4/site-packages/MoinMoin/request.py in redirectedOutput (self=<MoinMoin.request.RequestFastCGI object>, function=<bound method Parser.format of <MoinMoin.parser.xslt.Parser instance>>, *args=(<MoinMoin.formatter.text_python.Formatter instance>,), **kw={})
- 733 finally:
- 734 self.redirect()
- 735 text = buffer.getvalue()
- 736 buffer.close()
- 737 return text
- text undefined
- buffer = <StringIO.StringIO instance>
- buffer.getvalue = <bound method StringIO.getvalue of <StringIO.StringIO instance>>
/usr/lib/python2.4/StringIO.py in getvalue (self=<StringIO.StringIO instance>)
- 269 """
- 270 if self.buflist:
- 271 self.buf += ''.join(self.buflist)
- 272 self.buflist = []
- 273 return self.buf
- self = <StringIO.StringIO instance>
- self.buf = ''
- ''.join = <built-in method join of str object>
- self.buflist = [u'<div class="message">XSLT option disabled, pleas...lpOnConfiguration">HelpOnConfiguration</a>.</div>', '<pre>', '<?xml version="1.0" encoding="UTF-8"?>\n\n&l... </xsl:template>\n\n</xsl:stylesheet>\n', '</pre>']
UnicodeDecodeError
'ascii' codec can't decode byte 0xe6 in position 309: ordinal not in range(128)
- args = ('ascii', '<?xml version="1.0" encoding="UTF-8"?>\n\n&l... </xsl:template>\n\n</xsl:stylesheet>\n', 309, 310, 'ordinal not in range(128)')
- encoding = 'ascii'
- end = 310
- object = '<?xml version="1.0" encoding="UTF-8"?>\n\n&l... </xsl:template>\n\n</xsl:stylesheet>\n'
- reason = 'ordinal not in range(128)'
- start = 309
System Details
- Date: Wed, 23 May 2012 20:11:38 +0000
- Platform: Linux scipy.org 2.6.32-4-pve #1 SMP Thu Oct 21 09:35:29 CEST 2010 i686
- Python: Python 2.4.3 (/usr/bin/python)
- MoinMoin: Release 1.5.6 (release)

