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.5/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestStandAlone object at 0x995218c>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 1209 # generate page footer (actions that do not want this footer use
- handler = <function do_show at 0x838502c>
- self = <MoinMoin.request.RequestStandAlone object at 0x995218c>
- self.page = <MoinMoin.Page.Page instance at 0x99522ec>
- self.page.page_name = u'Xslt\u7248\u672c'
/usr/lib/python2.5/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'Xslt\u7248\u672c', request=<MoinMoin.request.RequestStandAlone object at 0x995218c>)
- 466 else:
- 467 request.cacheable = 1
- 468 Page(request, pagename).send_page(request, count_hit=1)
- 469
- 470
- global Page = <class MoinMoin.Page.Page at 0x81c689c>
- request = <MoinMoin.request.RequestStandAlone object at 0x995218c>
- pagename = u'Xslt\u7248\u672c'
- ).send_page undefined
- count_hit undefined
/usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x9952d8c>, request=<MoinMoin.request.RequestStandAlone object at 0x995218c>, msg='', **keywords={'count_hit': 1})
- 1254 format_args=pi_formatargs,
- 1255 do_cache=do_cache,
- 1256 start_line=pi_lines)
- 1257
- 1258 # check for pending footnotes
- start_line undefined
- pi_lines = 8
/usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x9952d8c>, request=<MoinMoin.request.RequestStandAlone object at 0x995218c>, Parser=<class MoinMoin.parser.xslt.Parser at 0x8af0d7c>, 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})
- 1350 raise
- 1351 try:
- 1352 code = self.makeCache(request, parser)
- 1353 self.execute(request, parser, code)
- 1354 except Exception, e:
- code undefined
- self = <MoinMoin.Page.Page instance at 0x9952d8c>
- self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance at 0x9952d8c>>
- request = <MoinMoin.request.RequestStandAlone object at 0x995218c>
- parser = <MoinMoin.parser.xslt.Parser instance at 0x995214c>
/usr/lib/python2.5/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance at 0x9952d8c>, request=<MoinMoin.request.RequestStandAlone object at 0x995218c>, parser=<MoinMoin.parser.xslt.Parser instance at 0x995214c>)
- 1408 saved_current_lang = request.current_lang
- 1409 try:
- 1410 text = request.redirectedOutput(parser.format, formatter)
- 1411 finally:
- 1412 request.current_lang = saved_current_lang
- text undefined
- request = <MoinMoin.request.RequestStandAlone object at 0x995218c>
- request.redirectedOutput = <bound method RequestStandAlone.redirectedOutput...n.request.RequestStandAlone object at 0x995218c>>
- parser = <MoinMoin.parser.xslt.Parser instance at 0x995214c>
- parser.format = <bound method Parser.format of <MoinMoin.parser.xslt.Parser instance at 0x995214c>>
- formatter = <MoinMoin.formatter.text_python.Formatter instance at 0x995286c>
/usr/lib/python2.5/site-packages/MoinMoin/request.py in redirectedOutput (self=<MoinMoin.request.RequestStandAlone object at 0x995218c>, function=<bound method Parser.format of <MoinMoin.parser.xslt.Parser instance at 0x995214c>>, *args=(<MoinMoin.formatter.text_python.Formatter instance at 0x995286c>,), **kw={})
- 748 finally:
- 749 self.redirect()
- 750 text = buffer.getvalue()
- 751 buffer.close()
- 752 return text
- text undefined
- buffer = <StringIO.StringIO instance at 0x995250c>
- buffer.getvalue = <bound method StringIO.getvalue of <StringIO.StringIO instance at 0x995250c>>
/usr/lib/python2.5/StringIO.py in getvalue (self=<StringIO.StringIO instance at 0x995250c>)
- 268 """
- 269 if self.buflist:
- 270 self.buf += ''.join(self.buflist)
- 271 self.buflist = []
- 272 return self.buf
- self = <StringIO.StringIO instance at 0x995250c>
- self.buf = ''
- ''.join = <built-in method join of str object at 0xb7cba098>
- 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
- message = ''
- 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 15:05:10 +0000
- Platform: Linux webiseit 2.6.30-gentoo-r4 #1 SMP Wed Aug 26 11:10:25 VET 2009 i686
- Python: Python 2.5.4 (/usr/bin/python2.5)
- MoinMoin: Release 1.5.8 (release)
