UnicodeDecodeError
'ascii' codec can't decode byte 0xc3 in position 24: 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.3/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestTwisted object>)
- 1033 # Visit pagename
- 1034 self.page = Page(self, pagename)
- 1035 self.page.send_page(self, count_hit=1)
- 1036
- 1037 # generate page footer (actions that do not want this footer
- self = <MoinMoin.request.RequestTwisted object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
- count_hit undefined
/usr/lib/python2.3/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestTwisted object>, msg='', **keywords={'count_hit': 1})
- 1239 format_args=pi_formatargs,
- 1240 do_cache=do_cache,
- 1241 start_line=pi_lines)
- 1242
- 1243 # check for pending footnotes
- start_line undefined
- pi_lines = 4
/usr/lib/python2.3/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestTwisted object>, Parser=<class MoinMoin.parser.docbook.Parser>, body=u'<?xml version="1.0" encoding="UTF-8"?>\n<!DOCTYPE...03/03/14 19:50:44 fevrier\nInitial revision\n\n-->\n', format_args=u'', do_cache=1, **kw={'start_line': 4})
- 1325 except 'CacheNeedsUpdate':
- 1326 try:
- 1327 code = self.makeCache(request, parser)
- 1328 self.execute(request, parser, code)
- 1329 except 'CacheNeedsUpdate':
- code undefined
- self = <MoinMoin.Page.Page instance>
- self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance>>
- request = <MoinMoin.request.RequestTwisted object>
- parser = <MoinMoin.parser.docbook.Parser instance>
/usr/lib/python2.3/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestTwisted object>, parser=<MoinMoin.parser.docbook.Parser instance>)
- 1376 saved_current_lang = request.current_lang
- 1377 try:
- 1378 text = request.redirectedOutput(parser.format, formatter)
- 1379 finally:
- 1380 request.current_lang = saved_current_lang
- text undefined
- request = <MoinMoin.request.RequestTwisted object>
- request.redirectedOutput = <bound method RequestTwisted.redirectedOutput of <MoinMoin.request.RequestTwisted object>>
- parser = <MoinMoin.parser.docbook.Parser instance>
- parser.format = <bound method Parser.format of <MoinMoin.parser.docbook.Parser instance>>
- formatter = <MoinMoin.formatter.text_python.Formatter instance>
/usr/lib/python2.3/site-packages/MoinMoin/request.py in redirectedOutput (self=<MoinMoin.request.RequestTwisted object>, function=<bound method Parser.format of <MoinMoin.parser.docbook.Parser instance>>, *args=(<MoinMoin.formatter.text_python.Formatter instance>,), **kw={})
- 623 self.redirect(buffer)
- 624 try:
- 625 function(*args, **kw)
- 626 finally:
- 627 self.redirect()
- function = <bound method Parser.format of <MoinMoin.parser.docbook.Parser instance>>
- args = (<MoinMoin.formatter.text_python.Formatter instance>,)
- kw = {}
/usr/lib/python2.3/site-packages/MoinMoin/parser/docbook.py in format (self=<MoinMoin.parser.docbook.Parser instance>, formatter=<MoinMoin.formatter.text_python.Formatter instance>)
- 63 def format(self, formatter):
- 64 self.wikiParser.formatter = formatter
- 65 XsltParser.format(self, formatter)
- 66
- 67 def append_stylesheet(self):
- global XsltParser = <class MoinMoin.parser.xslt.Parser>
- XsltParser.format = <unbound method Parser.format>
- self = <MoinMoin.parser.docbook.Parser instance>
- formatter = <MoinMoin.formatter.text_python.Formatter instance>
/usr/lib/python2.3/site-packages/MoinMoin/parser/xslt.py in format (self=<MoinMoin.parser.docbook.Parser instance>, formatter=<MoinMoin.formatter.text_python.Formatter instance>)
- 87 input_factory = InputSource.InputSourceFactory(resolver=wiki_resolver)
- 88 page_name = formatter.page.page_name
- 89 page_uri = u"%s%s" % (self.base_uri, page_name.encode(config.charset))
- 90
- 91 raw = self.raw.strip()
- page_uri undefined
- self = <MoinMoin.parser.docbook.Parser instance>
- self.base_uri = 'wiki://Self/'
- page_name = u'Petit guide du traducteu\xe9r'
- page_name.encode = <built-in method encode of unicode object>
- global config = <module 'MoinMoin.config' from '/usr/lib/python2.3/site-packages/MoinMoin/config.pyc'>
- config.charset = 'utf-8'
UnicodeDecodeError
'ascii' codec can't decode byte 0xc3 in position 24: ordinal not in range(128)
- args = ('ascii', 'Petit guide du traducteu\xc3\xa9r', 24, 25, 'ordinal not in range(128)')
- encoding = 'ascii'
- end = 25
- object = 'Petit guide du traducteu\xc3\xa9r'
- reason = 'ordinal not in range(128)'
- start = 24
System Details
- Date: Fri, 03 Feb 2006 00:41:21 +0000
- Platform: Linux benji1 2.4.27-grsec #1 Thu Sep 16 23:07:27 CEST 2004 i686
- Python: Python 2.3.5 (/usr/bin/python2.3)
- MoinMoin: Release 1.5.1 (release)