--> -->

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.

  1. /usr/lib/python2.3/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestTwisted object>)

    1. 1033 # Visit pagename
    2. 1034 self.page = Page(self, pagename)
    3. 1035 self.page.send_page(self, count_hit=1)
    4. 1036
    5. 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
  2. /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})

    1. 1239 format_args=pi_formatargs,
    2. 1240 do_cache=do_cache,
    3. 1241 start_line=pi_lines)
    4. 1242
    5. 1243 # check for pending footnotes
    • start_line undefined
    • pi_lines = 4
  3. /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})

    1. 1325 except 'CacheNeedsUpdate':
    2. 1326 try:
    3. 1327 code = self.makeCache(request, parser)
    4. 1328 self.execute(request, parser, code)
    5. 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>
  4. /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>)

    1. 1376 saved_current_lang = request.current_lang
    2. 1377 try:
    3. 1378 text = request.redirectedOutput(parser.format, formatter)
    4. 1379 finally:
    5. 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>
  5. /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={})

    1. 623 self.redirect(buffer)
    2. 624 try:
    3. 625 function(*args, **kw)
    4. 626 finally:
    5. 627 self.redirect()
    • function = <bound method Parser.format of <MoinMoin.parser.docbook.Parser instance>>
    • args = (<MoinMoin.formatter.text_python.Formatter instance>,)
    • kw = {}
  6. /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>)

    1. 63 def format(self, formatter):
    2. 64 self.wikiParser.formatter = formatter
    3. 65 XsltParser.format(self, formatter)
    4. 66
    5. 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>
  7. /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>)

    1. 87 input_factory = InputSource.InputSourceFactory(resolver=wiki_resolver)
    2. 88 page_name = formatter.page.page_name
    3. 89 page_uri = u"%s%s" % (self.base_uri, page_name.encode(config.charset))
    4. 90
    5. 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)