Error - : 'ascii' codec can't encode characters in position 5-6: ordinal not in range(128) URL: http://127.0.0.1:6543/auth/register/ File '/thedir/mediagoblin/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/exceptions/errormiddleware.py', line 144 in __call__ app_iter = self.application(environ, sr_checker) File '/thedir/mediagoblin/lib/python2.7/site-packages/Paste-1.7.5.1-py2.7.egg/paste/urlmap.py', line 203 in __call__ return app(environ, start_response) File '/thedir/mediagoblin/lib/python2.7/site-packages/Beaker-1.6.1-py2.7.egg/beaker/middleware.py', line 155 in __call__ return self.wrap_app(environ, session_start_response) File '/thedir/mediagoblin/mediagoblin/app.py', line 171 in __call__ response = controller(request) File '/thedir/mediagoblin/mediagoblin/auth/views.py', line 86 in register request.POST['password']) File '/thedir/mediagoblin/mediagoblin/auth/lib.py', line 71 in bcrypt_gen_password_hash return unicode(bcrypt.hashpw(raw_pass, bcrypt.gensalt())) UnicodeEncodeError: 'ascii' codec can't encode characters in position 5-6: ordinal not in range(128) CGI Variables ------------- CONTENT_TYPE: 'multipart/form-data; boundary=---------------------------16660925635200133411804759259' CSRF_TOKEN: u'17742763484562058036' HTTP_CONNECTION: 'keep-alive' HTTP_COOKIE: 'mediagoblin_csrftoken=17742763484562058036; mediagoblin_csrftoken=17742763484562058036' HTTP_DNT: '1' HTTP_HOST: '127.0.0.1:6543' HTTP_REFERER: 'http://127.0.0.1:6543/auth/register/' PATH_INFO: '/auth/register/' REMOTE_ADDR: '127.0.0.1' REQUEST_METHOD: 'POST' SERVER_NAME: '127.0.0.1' SERVER_PORT: '6543' SERVER_PROTOCOL: 'HTTP/1.1' WSGI Variables -------------- application: {(None, ''): , (None, '/mgoblin_media'): , (None, '/mgoblin_static'): } beaker.get_session: > beaker.session: {'_accessed_time': 1320354183.043283, '_creation_time': 1320354183.043283} paste.httpserver.thread_pool: paste.throw_errors: True webob._body_file: (, maxlen=692)>, ) webob._parsed_cookies: ({'mediagoblin_csrftoken': '17742763484562058036'}, 'mediagoblin_csrftoken=17742763484562058036; mediagoblin_csrftoken=17742763484562058036') webob._parsed_post_vars: (MultiDict([('username', 'kioajn'), ('password', '******'), ('confirm_password', '******'), ('email', 'deqwe@udasd.re'), ('csrf_token', '17742763484562058036')]), ) webob._parsed_query_vars: (GET([]), '') webob.adhoc_attrs: {'locale': 'ru', 'staticdirect': , 'app': , 'db': Database(Connection('localhost', 27017), u'mediagoblin'), 'urlgen': , 'start_response': , 'session': {'_accessed_time': 1320354183.043283, '_creation_time': 1320354183.043283}, 'full_path': '/auth/register/', 'template_env': , 'matchdict': {'controller': u'mediagoblin.auth.views:register'}, 'user': None} webob.is_body_readable: True webob.is_body_seekable: False wsgi process: 'Multithreaded' ------------------------------------------------------------