| 1 | Error - <type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 5-6: ordinal not in range(128)
|
|---|
| 2 | URL: http://127.0.0.1:6543/auth/register/
|
|---|
| 3 | File '/thedir/mediagoblin/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py', line 144 in __call__
|
|---|
| 4 | app_iter = self.application(environ, sr_checker)
|
|---|
| 5 | File '/thedir/mediagoblin/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/urlmap.py', line 203 in __call__
|
|---|
| 6 | return app(environ, start_response)
|
|---|
| 7 | File '/thedir/mediagoblin/lib/python2.7/site-packages/Beaker-1.6.1-py2.7.egg/beaker/middleware.py', line 155 in __call__
|
|---|
| 8 | return self.wrap_app(environ, session_start_response)
|
|---|
| 9 | File '/thedir/mediagoblin/mediagoblin/app.py', line 171 in __call__
|
|---|
| 10 | response = controller(request)
|
|---|
| 11 | File '/thedir/mediagoblin/mediagoblin/auth/views.py', line 86 in register
|
|---|
| 12 | request.POST['password'])
|
|---|
| 13 | File '/thedir/mediagoblin/mediagoblin/auth/lib.py', line 71 in bcrypt_gen_password_hash
|
|---|
| 14 | return unicode(bcrypt.hashpw(raw_pass, bcrypt.gensalt()))
|
|---|
| 15 | UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-6: ordinal not in range(128)
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | CGI Variables
|
|---|
| 19 | -------------
|
|---|
| 20 | CONTENT_TYPE: 'multipart/form-data; boundary=---------------------------16660925635200133411804759259'
|
|---|
| 21 | CSRF_TOKEN: u'17742763484562058036'
|
|---|
| 22 | <snip>
|
|---|
| 23 | HTTP_CONNECTION: 'keep-alive'
|
|---|
| 24 | HTTP_COOKIE: 'mediagoblin_csrftoken=17742763484562058036; mediagoblin_csrftoken=17742763484562058036'
|
|---|
| 25 | HTTP_DNT: '1'
|
|---|
| 26 | HTTP_HOST: '127.0.0.1:6543'
|
|---|
| 27 | HTTP_REFERER: 'http://127.0.0.1:6543/auth/register/'
|
|---|
| 28 | <snip>
|
|---|
| 29 | PATH_INFO: '/auth/register/'
|
|---|
| 30 | REMOTE_ADDR: '127.0.0.1'
|
|---|
| 31 | REQUEST_METHOD: 'POST'
|
|---|
| 32 | SERVER_NAME: '127.0.0.1'
|
|---|
| 33 | SERVER_PORT: '6543'
|
|---|
| 34 | SERVER_PROTOCOL: 'HTTP/1.1'
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 | WSGI Variables
|
|---|
| 38 | --------------
|
|---|
| 39 | application: {(None, ''): <beaker.middleware.SessionMiddleware object at 0x29f6310>, (None, '/mgoblin_media'): <StaticURLParser '/thedir/mediagoblin/user_dev/media/public'>, (None, '/mgoblin_static'): <StaticURLParser '/thedir/mediagoblin/mediagoblin/static'>}
|
|---|
| 40 | beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x29f6310>>
|
|---|
| 41 | beaker.session: {'_accessed_time': 1320354183.043283, '_creation_time': 1320354183.043283}
|
|---|
| 42 | paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x1df92d0>
|
|---|
| 43 | paste.throw_errors: True
|
|---|
| 44 | webob._body_file: (<LimitedLengthFile(<socket._fileobject object at 0x2c59e50 length=692>, maxlen=692)>, <socket._fileobject object at 0x2c59e50 length=692>)
|
|---|
| 45 | webob._parsed_cookies: ({'mediagoblin_csrftoken': '17742763484562058036'}, 'mediagoblin_csrftoken=17742763484562058036; mediagoblin_csrftoken=17742763484562058036')
|
|---|
| 46 | webob._parsed_post_vars: (MultiDict([('username', 'kioajn'), ('password', '******'), ('confirm_password', '******'), ('email', 'deqwe@udasd.re'), ('csrf_token', '17742763484562058036')]), <FakeCGIBody at 0x2bdf9d0 viewing MultiDict([('us...6')])>)
|
|---|
| 47 | webob._parsed_query_vars: (GET([]), '')
|
|---|
| 48 | webob.adhoc_attrs: {'locale': 'ru', 'staticdirect': <mediagoblin.staticdirect.RemoteStaticDirect object at 0x29e5990>, 'app': <mediagoblin.app.MediaGoblinApp object at 0x1e67550>, 'db': Database(Connection('localhost', 27017), u'mediagoblin'), 'urlgen': <routes.util.URLGenerator object at 0x2bdf850>, 'start_response': <function session_start_response at 0x2bd2cf8>, 'session': {'_accessed_time': 1320354183.043283, '_creation_time': 1320354183.043283}, 'full_path': '/auth/register/', 'template_env': <jinja2.environment.Environment object at 0x29fb8d0>, 'matchdict': {'controller': u'mediagoblin.auth.views:register'}, 'user': None}
|
|---|
| 49 | webob.is_body_readable: True
|
|---|
| 50 | webob.is_body_seekable: False
|
|---|
| 51 | wsgi process: 'Multithreaded'
|
|---|
| 52 | ------------------------------------------------------------
|
|---|
| 53 |
|
|---|