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.
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)
- 1170 self.page.send_page(self, msg=msg)
- 1171 else:
- 1172 handler(self.page.page_name, self)
- 1173
- 1174 # generate page footer (actions that do not want this footer use
- handler = <function do_print>
- self = <MoinMoin.request.RequestCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'VersionXslt'
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_print (pagename=u'VersionXslt', request=<MoinMoin.request.RequestCGI object>)
- 486
- 487 def do_print(pagename, request):
- 488 do_show(pagename, request)
- 489
- 490
- global do_show = <function do_show>
- pagename = u'VersionXslt'
- request = <MoinMoin.request.RequestCGI object>
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'VersionXslt', request=<MoinMoin.request.RequestCGI 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.RequestCGI object>
- pagename = u'VersionXslt'
- ).send_page undefined
- count_hit undefined
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, 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
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.xslt.Parser>, 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>
- self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestCGI object>
- parser = <MoinMoin.parser.xslt.Parser instance>
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.xslt.Parser instance>)
- 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.RequestCGI object>
- request.redirectedOutput = <bound method RequestCGI.redirectedOutput of <MoinMoin.request.RequestCGI 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>
/home/osakichi/moin/lib/python2.4/site-packages/MoinMoin/request.py in redirectedOutput (self=<MoinMoin.request.RequestCGI object>, function=<bound method Parser.format of <MoinMoin.parser.xslt.Parser instance>>, *args=(<MoinMoin.formatter.text_python.Formatter instance>,), **kw={})
- 746 finally:
- 747 self.redirect()
- 748 text = buffer.getvalue()
- 749 buffer.close()
- 750 return text
- text undefined
- buffer = <StringIO.StringIO instance>
- buffer.getvalue = <bound method StringIO.getvalue of <StringIO.StringIO instance>>
/usr/local/lib/python2.7/StringIO.py in getvalue (self=<StringIO.StringIO instance>)
- 269 _complain_ifclosed(self.closed)
- 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\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u7121\u52b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<a href...guration">HelpOnConfiguration</a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002</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: Sun, 10 Nov 2024 09:03:39 +0000
- Platform: FreeBSD www612.sakura.ne.jp 11.2-RELEASE-p15 FreeBSD 11.2-RELEASE-p15 #0: Fri Aug 19 12:13:37 JST 2022 root@www3666.sakura.ne.jp:/usr/obj/home/pkg/src/sys/GENERIC amd64
- Python: Python 2.7.18 (/usr/local/bin/python)
- MoinMoin: Release 1.5.7 (release)