Attachment 'traceback.html'

Download

--> -->

UnicodeEncodeError

'ascii' codec can't encode characters in position 0-5: 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. /home/wangzhongqiu/moin/lib/python2.3/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object>)

    1. 1324 try:
    2. 1325 # nothing we can do about further failures!
    3. 1326 self.fail(err)
    4. 1327 except:
    5. 1328 pass
    • self = <MoinMoin.request.request_standalone.Request object>
    • self.fail = <bound method Request.fail of <MoinMoin.request.request_standalone.Request object>>
    • err = <exceptions.UnicodeEncodeError instance>
  2. /home/wangzhongqiu/moin/lib/python2.3/site-packages/MoinMoin/action/newaccount.py in execute (pagename=u'\u9996\u9875', request=<MoinMoin.request.request_standalone.Request object>)

    1. 170
    2. 171 if submitted: # user pressed create button
    3. 172 request.theme.add_msg(_create_user(request), "dialog")
    4. 173 return page.send_page()
    5. 174 else: # show create form
    • request = <MoinMoin.request.request_standalone.Request object>
    • request.theme = <MoinMoin.theme.modern.Theme instance>
    • request.theme.add_msg = <bound method Theme.add_msg of <MoinMoin.theme.modern.Theme instance>>
    • global _create_user = <function _create_user>
  3. /home/wangzhongqiu/moin/lib/python2.3/site-packages/MoinMoin/action/newaccount.py in _create_user (request=<MoinMoin.request.request_standalone.Request object>)

    1. 57 pw_checker = request.cfg.password_checker
    2. 58 if pw_checker:
    3. 59 pw_error = pw_checker(request, theuser.name, password)
    4. 60 if pw_error:
    5. 61 return _("Password not acceptable: %s") % pw_error
    • pw_error undefined
    • pw_checker = <bound method Config._default_password_checker of <wikiconfig.Config object>>
    • request = <MoinMoin.request.request_standalone.Request object>
    • theuser = <MoinMoin.user.User at 0xb15a658c name:u'aaa' valid:0>
    • theuser.name = u'aaa'
    • password = u'aaa'
  4. /home/wangzhongqiu/moin/lib/python2.3/site-packages/MoinMoin/config/multiconfig.py in _default_password_checker (cfg=<wikiconfig.Config object>, request=<MoinMoin.request.request_standalone.Request object>, username=u'aaa', password=u'aaa')

    1. 676 return None
    2. 677 except ValueError, err:
    3. 678 return unicode(err)
    4. 679
    5. 680
    • builtin unicode = <type 'unicode'>
    • err = <exceptions.ValueError instance>

UnicodeEncodeError

'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)

  • args = ('ascii', u'\u53e3\u4ee4\u592a\u77ed\u4e86\u3002', 0, 6, 'ordinal not in range(128)')
  • encoding = 'ascii'
  • end = 6
  • object = u'\u53e3\u4ee4\u592a\u77ed\u4e86\u3002'
  • reason = 'ordinal not in range(128)'
  • start = 0

System Details

  • Date: Wed, 17 Dec 2008 09:14:25 +0000
  • Platform: Linux CNSZ040149 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686
  • Python: Python 2.3.4 (/usr/bin/python)
  • MoinMoin: Release 1.8.0 (release)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-12-17 09:22:10, 8.1 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.