UnicodeDecodeError
'ascii' codec can't decode byte 0xc5 in position 540: 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 0x9477acc>)
- 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 0x9477acc>
- self.page = <MoinMoin.Page.Page instance at 0x9477c2c>
- self.page.page_name = u'VersionXslt'
/usr/lib/python2.5/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'VersionXslt', request=<MoinMoin.request.RequestStandAlone object at 0x9477acc>)
- 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 0x9477acc>
- pagename = u'VersionXslt'
- ).send_page undefined
- count_hit undefined
/usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x94c960c>, request=<MoinMoin.request.RequestStandAlone object at 0x9477acc>, 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 = 9
/usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x94c960c>, request=<MoinMoin.request.RequestStandAlone object at 0x9477acc>, Parser=<class MoinMoin.parser.xslt.Parser at 0x8af0d7c>, body=u'<?xml version="1.0"?>\n\n<?xml-stylesheet href="Ve...rsion\')"/>\n </xsl:template>\n\n</xsl:stylesheet>\n', format_args=u'', do_cache=1, **kw={'start_line': 9})
- 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 0x94c960c>
- self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance at 0x94c960c>>
- request = <MoinMoin.request.RequestStandAlone object at 0x9477acc>
- parser = <MoinMoin.parser.xslt.Parser instance at 0x9477c6c>
/usr/lib/python2.5/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance at 0x94c960c>, request=<MoinMoin.request.RequestStandAlone object at 0x9477acc>, parser=<MoinMoin.parser.xslt.Parser instance at 0x9477c6c>)
- 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 0x9477acc>
- request.redirectedOutput = <bound method RequestStandAlone.redirectedOutput...n.request.RequestStandAlone object at 0x9477acc>>
- parser = <MoinMoin.parser.xslt.Parser instance at 0x9477c6c>
- parser.format = <bound method Parser.format of <MoinMoin.parser.xslt.Parser instance at 0x9477c6c>>
- formatter = <MoinMoin.formatter.text_python.Formatter instance at 0x94c9a2c>
/usr/lib/python2.5/site-packages/MoinMoin/request.py in redirectedOutput (self=<MoinMoin.request.RequestStandAlone object at 0x9477acc>, function=<bound method Parser.format of <MoinMoin.parser.xslt.Parser instance at 0x9477c6c>>, *args=(<MoinMoin.formatter.text_python.Formatter instance at 0x94c9a2c>,), **kw={})
- 748 finally:
- 749 self.redirect()
- 750 text = buffer.getvalue()
- 751 buffer.close()
- 752 return text
- text undefined
- buffer = <StringIO.StringIO instance at 0x94c9f8c>
- buffer.getvalue = <bound method StringIO.getvalue of <StringIO.StringIO instance at 0x94c9f8c>>
/usr/lib/python2.5/StringIO.py in getvalue (self=<StringIO.StringIO instance at 0x94c9f8c>)
- 268 """
- 269 if self.buflist:
- 270 self.buf += ''.join(self.buflist)
- 271 self.buflist = []
- 272 return self.buf
- self = <StringIO.StringIO instance at 0x94c9f8c>
- 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"?>\n\n<?xml-stylesheet... </xsl:template>\n\n</xsl:stylesheet>\n', '</pre>']
UnicodeDecodeError
'ascii' codec can't decode byte 0xc5 in position 540: ordinal not in range(128)
- args = ('ascii', '<?xml version="1.0"?>\n\n<?xml-stylesheet... </xsl:template>\n\n</xsl:stylesheet>\n', 540, 541, 'ordinal not in range(128)')
- encoding = 'ascii'
- end = 541
- message = ''
- object = '<?xml version="1.0"?>\n\n<?xml-stylesheet... </xsl:template>\n\n</xsl:stylesheet>\n'
- reason = 'ordinal not in range(128)'
- start = 540
System Details
- Date: Wed, 23 May 2012 07:32:05 +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)
