UnicodeDecodeError
'ascii' codec can't decode byte 0xc3 in position 306: 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/ap/run/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object at 0xb57350>)
- 1281 self.page.send_page(msg=msg)
- 1282 else:
- 1283 handler(self.page.page_name, self)
- 1284
- 1285 # every action that didn't use to raise MoinMoinNoFooter must call this now:
- handler = <function do_show at 0xbe7ed8>
- self = <MoinMoin.request.request_cgi.Request object at 0xb57350>
- self.page = <MoinMoin.Page.Page object at 0xbfc610>
- self.page.page_name = u'Versi\xf3nXslt'
/home/ap/run/lib/python2.5/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'Versi\xf3nXslt', request=<MoinMoin.request.request_cgi.Request object at 0xb57350>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 239 count_hit=count_hit,
- 240 print_mode=print_mode,
- 241 content_only=content_only,
- 242 )
- 243
- content_only = 0
/home/ap/run/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0xc56fd0>, msg='', **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1179 format_args=pi['formatargs'],
- 1180 do_cache=do_cache,
- 1181 start_line=pi['lines'])
- 1182
- 1183 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance at 0xc4d200>, 'format': u'wiki', 'formatargs': u'', 'language': u'es', 'lines': 7}
/home/ap/run/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0xc56fd0>, request=<MoinMoin.request.request_cgi.Request object at 0xb57350>, body=u'{{{#!xslt\n<?xml version="1.0"?>\n\n<?xml-styleshee...n\')"/>\n </xsl:template>\n\n</xsl:stylesheet>\n}}}\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 7})
- 1272 raise
- 1273 try:
- 1274 code = self.makeCache(request, parser)
- 1275 self.execute(request, parser, code)
- 1276 except Exception, e:
- code undefined
- self = <MoinMoin.Page.Page object at 0xc56fd0>
- self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page object at 0xc56fd0>>
- request = <MoinMoin.request.request_cgi.Request object at 0xb57350>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb54440>
/home/ap/run/lib/python2.5/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page object at 0xc56fd0>, request=<MoinMoin.request.request_cgi.Request object at 0xb57350>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xb54440>)
- 1332 saved_current_lang = request.current_lang
- 1333 try:
- 1334 text = request.redirectedOutput(parser.format, formatter)
- 1335 finally:
- 1336 request.current_lang = saved_current_lang
- text undefined
- request = <MoinMoin.request.request_cgi.Request object at 0xb57350>
- request.redirectedOutput = <bound method Request.redirectedOutput of <MoinMoin.request.request_cgi.Request object at 0xb57350>>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb54440>
- parser.format = <bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb54440>>
- formatter = <MoinMoin.formatter.text_python.Formatter instance at 0x9cfb48>
/home/ap/run/lib/python2.5/site-packages/MoinMoin/request/__init__.py in redirectedOutput (self=<MoinMoin.request.request_cgi.Request object at 0xb57350>, function=<bound method Parser.format of <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb54440>>, *args=(<MoinMoin.formatter.text_python.Formatter instance at 0x9cfb48>,), **kw={})
- 825 finally:
- 826 self.redirect()
- 827 text = buf.getvalue()
- 828 buf.close()
- 829 return text
- text undefined
- buf = <StringIO.StringIO instance at 0x9cfb00>
- buf.getvalue = <bound method StringIO.getvalue of <StringIO.StringIO instance at 0x9cfb00>>
/usr/lib/python2.5/StringIO.py in getvalue (self=<StringIO.StringIO instance at 0x9cfb00>)
- 268 """
- 269 if self.buflist:
- 270 self.buf += ''.join(self.buflist)
- 271 self.buflist = []
- 272 return self.buf
- self = <StringIO.StringIO instance at 0x9cfb00>
- self.buf = ''
- ''.join = <built-in method join of str object at 0x2ee53386030>
- self.buflist = ['<span class="anchor" id="line-8"></span>', u'<p class="line867">', '<span class="anchor" id="line-9"></span>', '<span class="anchor" id="line-10"></span>', '<span class="anchor" id="line-11"></span>', '<span class="anchor" id="line-12"></span>', '<span class="anchor" id="line-13"></span>', '<span class="anchor" id="line-14"></span>', '<span class="anchor" id="line-15"></span>', '<span class="anchor" id="line-16"></span>', '<span class="anchor" id="line-17"></span>', '<span class="anchor" id="line-18"></span>', '<span class="anchor" id="line-19"></span>', '<span class="anchor" id="line-20"></span>', '<span class="anchor" id="line-21"></span>', '<span class="anchor" id="line-22"></span>', '<span class="anchor" id="line-23"></span>', '<span class="anchor" id="line-24"></span>', '<span class="anchor" id="line-25"></span>', u'<div class="message">Opci\xf3n XSLT no disponible, ...guraci%C3%B3n">AyudaSobreConfiguraci\xf3n</a>.</div>', ...]
UnicodeDecodeError
'ascii' codec can't decode byte 0xc3 in position 306: ordinal not in range(128)
- args = ('ascii', '<?xml version="1.0"?>\n\n<?xml-stylesheet... </xsl:template>\n\n</xsl:stylesheet>', 306, 307, 'ordinal not in range(128)')
- encoding = 'ascii'
- end = 307
- message = ''
- object = '<?xml version="1.0"?>\n\n<?xml-stylesheet... </xsl:template>\n\n</xsl:stylesheet>'
- reason = 'ordinal not in range(128)'
- start = 306
System Details
- Date: Tue, 22 May 2012 13:51:23 +0000
- Platform: Linux jayturser 2.6.32.45-grsec-2.2.2-r3 #8 SMP Mon Oct 10 13:33:17 PDT 2011 x86_64
- Python: Python 2.5.2 (/home/ap/run/bin/python)
- MoinMoin: Release 1.6.3 (release)