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.
/home/wangzhongqiu/moin/lib/python2.3/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_standalone.Request object>)
- 1324 try:
- 1325 # nothing we can do about further failures!
- 1326 self.fail(err)
- 1327 except:
- 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>
/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>)
- 170
- 171 if submitted: # user pressed create button
- 172 request.theme.add_msg(_create_user(request), "dialog")
- 173 return page.send_page()
- 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>
/home/wangzhongqiu/moin/lib/python2.3/site-packages/MoinMoin/action/newaccount.py in _create_user (request=<MoinMoin.request.request_standalone.Request object>)
- 57 pw_checker = request.cfg.password_checker
- 58 if pw_checker:
- 59 pw_error = pw_checker(request, theuser.name, password)
- 60 if pw_error:
- 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'
/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')
- 676 return None
- 677 except ValueError, err:
- 678 return unicode(err)
- 679
- 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.You are not allowed to attach a file to this page.