Comment:

Add to:  

Emphasis
''italics''; '''bold'''; '''''bold italics'''''; ''mixed '''bold''' and italics''; ---- horizontal rule.
Headings
= Title 1 =; == Title 2 ==; === Title 3 ===; ==== Title 4 ====; ===== Title 5 =====.
Lists
space and one of: * bullets; 1., a., A., i., I. numbered items; 1.#n start numbering at n; space alone indents.
Links
JoinCapitalizedWords; ["brackets and double quotes"]; url; [url]; [url label].
Tables
|| cell text |||| cell text spanning 2 columns ||; no trailing white space allowed after tables or titles.
(!) For more help, see HelpOnEditing or SyntaxReference.
--> -->

UnicodeDecodeError

'ascii' codec can't decode byte 0xb4 in position 0: 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. /Users/chris/Desktop/Firefox/moin/moin-desktop/MoinMoin/request.py in run (self=<MoinMoin.request.RequestStandAlone object at 0x42acd0>)

    1. 1149 from MoinMoin.wikiaction import getHandler
    2. 1150 handler = getHandler(self, action)
    3. 1151 handler(self.page.page_name, self)
    4. 1152
    5. 1153 # generate page footer (actions that do not want this footer use
    • handler = <function do_edit at 0x4c00b0>
    • self = <MoinMoin.request.RequestStandAlone object at 0x42acd0>
    • self.page = <MoinMoin.Page.Page instance at 0x440d78>
    • self.page.page_name = u'qua'
  2. /Users/chris/Desktop/Firefox/moin/moin-desktop/MoinMoin/wikiaction.py in do_edit (pagename=u'qua', request=<MoinMoin.request.RequestStandAlone object at 0x42acd0>)

    1. 648 request.form.has_key('button_spellcheck') or
    2. 649 request.form.has_key('button_newwords')):
    3. 650 pg.sendEditor(preview=savetext, comment=comment)
    4. 651
    5. 652 # Preview with mode switch
    • pg = <MoinMoin.PageEditor.PageEditor instance at 0x52c0d0>
    • pg.sendEditor = <bound method PageEditor.sendEditor of <MoinMoin.PageEditor.PageEditor instance at 0x52c0d0>>
    • preview undefined
    • savetext = u'#format chris\n\nhello!\n'
    • comment = u''
  3. /Users/chris/Desktop/Firefox/moin/moin-desktop/MoinMoin/PageEditor.py in sendEditor (self=<MoinMoin.PageEditor.PageEditor instance at 0x52c0d0>, **kw={'comment': u'', 'preview': u'#format chris\n\nhello!\n'})

    1. 430 content_id = 'preview'
    2. 431 self.send_page(self.request, content_id=content_id, content_only=1,
    3. 432 hilite_re=badwords_re)
    4. 433
    5. 434 self.request.write(self.request.formatter.endContent())
    • hilite_re undefined
    • badwords_re = None
  4. /Users/chris/Desktop/Firefox/moin/moin-desktop/MoinMoin/Page.py in send_page (self=<MoinMoin.PageEditor.PageEditor instance at 0x52c0d0>, request=<MoinMoin.request.RequestStandAlone object at 0x42acd0>, msg='', **keywords={'content_id': 'preview', 'content_only': 1, 'hilite_re': None})

    1. 1251 format_args=pi_formatargs,
    2. 1252 do_cache=do_cache,
    3. 1253 start_line=pi_lines)
    4. 1254
    5. 1255 # check for pending footnotes
    • start_line undefined
    • pi_lines = 1
  5. /Users/chris/Desktop/Firefox/moin/moin-desktop/MoinMoin/Page.py in send_page_content (self=<MoinMoin.PageEditor.PageEditor instance at 0x52c0d0>, request=<MoinMoin.request.RequestStandAlone object at 0x42acd0>, Parser=<class MoinMoin.parser.chris.Parser at 0x271f60>, body=u'\nhello!\n', format_args=u'', do_cache=1, **kw={'start_line': 1})

    1. 1338
    2. 1339 if not (do_cache and self.canUseCache(Parser)):
    3. 1340 self.format(parser)
    4. 1341 else:
    5. 1342 try:
    • self = <MoinMoin.PageEditor.PageEditor instance at 0x52c0d0>
    • self.format = <bound method PageEditor.format of <MoinMoin.PageEditor.PageEditor instance at 0x52c0d0>>
    • parser = <MoinMoin.parser.chris.Parser instance at 0x26aad0>
  6. /Users/chris/Desktop/Firefox/moin/moin-desktop/MoinMoin/Page.py in format (self=<MoinMoin.PageEditor.PageEditor instance at 0x52c0d0>, parser=<MoinMoin.parser.chris.Parser instance at 0x26aad0>)

    1. 1359 def format(self, parser):
    2. 1360 """ Format and write page content without caching """
    3. 1361 parser.format(self.formatter)
    4. 1362
    5. 1363 def execute(self, request, parser, code):
    • parser = <MoinMoin.parser.chris.Parser instance at 0x26aad0>
    • parser.format = <bound method Parser.format of <MoinMoin.parser.chris.Parser instance at 0x26aad0>>
    • self = <MoinMoin.PageEditor.PageEditor instance at 0x52c0d0>
    • self.formatter = <MoinMoin.formatter.text_html.Formatter instance at 0x26aa30>
  7. /Users/chris/Desktop/Firefox/moin/moin-desktop/MoinMoin/parser/chris.py in format (self=<MoinMoin.parser.chris.Parser instance at 0x26aad0>, formatter=<MoinMoin.formatter.text_html.Formatter instance at 0x26aa30>)

    1. 53 def format(self, formatter):
    2. 54 """ Send the text. """
    3. 55 #self.request.write(textil(self.raw.expandtabs(),self.request))
    4. 56 #self.request.write(textil(self.raw,self.request))
    5. 57 self.request.write(textile.textile(self.raw, encoding="utf8", output="utf8"))
    • self = <MoinMoin.parser.chris.Parser instance at 0x26aad0>
    • self.request = <MoinMoin.request.RequestStandAlone object at 0x42acd0>
    • self.request.write = <bound method RequestStandAlone.write of <MoinMoin.request.RequestStandAlone object at 0x42acd0>>
    • global textile = <module 'textile' from '/System/Library/Framewor...e-packages/textile-2.0.11-py2.3.egg/textile.pyc'>
    • textile.textile = <function textile at 0x61ee30>
    • self.raw = u'\nhello!\n'
    • encoding undefined
    • output undefined
  8. /Users/chris/Desktop/Firefox/moin/moin-desktop/build/bdist.darwin-8.8.0-Power_Macintosh/egg/textile.py in textile (text=u'\nhello!\n', **args={'encoding': 'utf8', 'output': 'utf8'})

  9. /Users/chris/Desktop/Firefox/moin/moin-desktop/build/bdist.darwin-8.8.0-Power_Macintosh/egg/textile.py in process (self=<textile.Textiler instance at 0x26aa58>, head_offset=0, validate=0, sanitize=0, output='utf8', encoding='utf8')

  10. /Users/chris/Desktop/Firefox/moin/moin-desktop/build/bdist.darwin-8.8.0-Power_Macintosh/egg/textile.py in paragraph (self=<textile.Textiler instance at 0x26aa58>, text=u'hello!', parameters=None, attributes={}, clear=None)

  11. /Users/chris/Desktop/Firefox/moin/moin-desktop/build/bdist.darwin-8.8.0-Power_Macintosh/egg/textile.py in inline (self=<textile.Textiler instance at 0x26aa58>, text=u'hello!')

  12. /Users/chris/Desktop/Firefox/moin/moin-desktop/build/bdist.darwin-8.8.0-Power_Macintosh/egg/textile.py in format (self=<textile.Textiler instance at 0x26aa58>, text=u'hello!')

  13. /Users/chris/Desktop/Firefox/moin/moin-desktop/build/bdist.darwin-8.8.0-Power_Macintosh/egg/textile.py in glyphs (self=<textile.Textiler instance at 0x26aa58>, text=u'hello!')

UnicodeDecodeError

'ascii' codec can't decode byte 0xb4 in position 0: ordinal not in range(128)

  • args = ('ascii', '\xb4\xb4', 0, 1, 'ordinal not in range(128)')
  • encoding = 'ascii'
  • end = 1
  • object = '\xb4\xb4'
  • reason = 'ordinal not in range(128)'
  • start = 0

System Details

  • Date: Sat, 11 Nov 2006 19:52:51 +0000
  • Platform: Darwin chickenhat.local 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh
  • Python: Python 2.3.5 (/usr/bin/python)
  • MoinMoin: Release 1.5.5a (97bf3d768af3 tip; DesktopEdition Release 1.5.5a-1)