--> -->

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.

  1. /usr/lib/python2.5/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestStandAlone object at 0x995218c>)

    1. 1205 self.page.send_page(self, msg=msg)
    2. 1206 else:
    3. 1207 handler(self.page.page_name, self)
    4. 1208
    5. 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'
  2. /usr/lib/python2.5/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'Xslt\u7248\u672c', request=<MoinMoin.request.RequestStandAlone object at 0x995218c>)

    1. 466 else:
    2. 467 request.cacheable = 1
    3. 468 Page(request, pagename).send_page(request, count_hit=1)
    4. 469
    5. 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
  3. /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})

    1. 1254 format_args=pi_formatargs,
    2. 1255 do_cache=do_cache,
    3. 1256 start_line=pi_lines)
    4. 1257
    5. 1258 # check for pending footnotes
    • start_line undefined
    • pi_lines = 8
  4. /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})

    1. 1350 raise
    2. 1351 try:
    3. 1352 code = self.makeCache(request, parser)
    4. 1353 self.execute(request, parser, code)
    5. 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>
  5. /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>)

    1. 1408 saved_current_lang = request.current_lang
    2. 1409 try:
    3. 1410 text = request.redirectedOutput(parser.format, formatter)
    4. 1411 finally:
    5. 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>
  6. /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={})

    1. 748 finally:
    2. 749 self.redirect()
    3. 750 text = buffer.getvalue()
    4. 751 buffer.close()
    5. 752 return text
    • text undefined
    • buffer = <StringIO.StringIO instance at 0x995250c>
    • buffer.getvalue = <bound method StringIO.getvalue of <StringIO.StringIO instance at 0x995250c>>
  7. /usr/lib/python2.5/StringIO.py in getvalue (self=<StringIO.StringIO instance at 0x995250c>)

    1. 268 """
    2. 269 if self.buflist:
    3. 270 self.buf += ''.join(self.buflist)
    4. 271 self.buflist = []
    5. 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>', '&lt;?xml version="1.0" encoding="UTF-8"?&gt;\n\n&l... &lt;/xsl:template&gt;\n\n&lt;/xsl:stylesheet&gt;\n', '</pre>']

UnicodeDecodeError

'ascii' codec can't decode byte 0xe6 in position 309: ordinal not in range(128)

  • args = ('ascii', '&lt;?xml version="1.0" encoding="UTF-8"?&gt;\n\n&l... &lt;/xsl:template&gt;\n\n&lt;/xsl:stylesheet&gt;\n', 309, 310, 'ordinal not in range(128)')
  • encoding = 'ascii'
  • end = 310
  • message = ''
  • object = '&lt;?xml version="1.0" encoding="UTF-8"?&gt;\n\n&l... &lt;/xsl:template&gt;\n\n&lt;/xsl:stylesheet&gt;\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)