Error - <type 'exceptions.UnicodeEncodeError'>: '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'
<snip>
  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/'
<snip>
  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, ''): <beaker.middleware.SessionMiddleware object at 0x29f6310>, (None, '/mgoblin_media'): <StaticURLParser '/thedir/mediagoblin/user_dev/media/public'>, (None, '/mgoblin_static'): <StaticURLParser '/thedir/mediagoblin/mediagoblin/static'>}
  beaker.get_session: <bound method SessionMiddleware._get_session of <beaker.middleware.SessionMiddleware object at 0x29f6310>>
  beaker.session: {'_accessed_time': 1320354183.043283, '_creation_time': 1320354183.043283}
  paste.httpserver.thread_pool: <paste.httpserver.ThreadPool object at 0x1df92d0>
  paste.throw_errors: True
  webob._body_file: (<LimitedLengthFile(<socket._fileobject object at 0x2c59e50 length=692>, maxlen=692)>, <socket._fileobject object at 0x2c59e50 length=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')]), <FakeCGIBody at 0x2bdf9d0 viewing MultiDict([('us...6')])>)
  webob._parsed_query_vars: (GET([]), '')
  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}
  webob.is_body_readable: True
  webob.is_body_seekable: False
  wsgi process: 'Multithreaded'
------------------------------------------------------------

