2018-01-14 19:27:36.143 INFO [kallithea.model] initializing db for sqlite:////tmp/kallithea/kallithea.db?timeout=60 2018-01-14 19:27:36.143 INFO [kallithea.lib.auth] getting information about all available permissions 2018-01-14 19:27:49.961 INFO [kallithea.lib.base] IP: 127.0.0.1 User: accessed /_admin/login 2018-01-14 19:27:50.038 INFO [kallithea.RequestWrapper] IP: 127.0.0.1 Request to /_admin/login time: 0.168s 2018-01-14 19:27:57.406 INFO [kallithea.lib.base] IP: 127.0.0.1 User: accessed /_admin/login 2018-01-14 19:27:57.418 INFO [kallithea.lib.auth_modules] Authenticating user using kallithea.lib.auth_modules.auth_internal plugin Error - : 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128) URL: http://127.0.0.1:5000/_admin/login?came_from=%2F File '~/.local/lib/python2.7/site-packages/weberror/errormiddleware.py', line 171 in __call__ app_iter = self.application(environ, sr_checker) File '~/.local/lib/python2.7/site-packages/kallithea/lib/middleware/sessionmiddleware.py', line 62 in __call__ return self.wrap_app(environ, session_start_response) File '~/.local/lib/python2.7/site-packages/routes/middleware.py', line 131 in __call__ response = self.app(environ, start_response) File '~/.local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 103 in __call__ response = self.dispatch(controller, environ, start_response) File '~/.local/lib/python2.7/site-packages/pylons/wsgiapp.py', line 313 in dispatch return controller(environ, start_response) File '~/.local/lib/python2.7/site-packages/kallithea/lib/base.py', line 446 in __call__ return WSGIController.__call__(self, environ, start_response) File '~/.local/lib/python2.7/site-packages/pylons/controllers/core.py', line 214 in __call__ response = self._dispatch_call() File '~/.local/lib/python2.7/site-packages/pylons/controllers/core.py', line 164 in _dispatch_call response = self._inspect_call(func) File '~/.local/lib/python2.7/site-packages/pylons/controllers/core.py', line 107 in _inspect_call result = self._perform_call(func, args) File '~/.local/lib/python2.7/site-packages/pylons/controllers/core.py', line 57 in _perform_call return func(**args) File '~/.local/lib/python2.7/site-packages/kallithea/controllers/login.py', line 93 in index c.form_result = login_form.to_python(dict(request.POST)) File '~/.local/lib/python2.7/site-packages/formencode/api.py', line 439 in to_python value = tp(value, state) File '~/.local/lib/python2.7/site-packages/formencode/schema.py', line 226 in _to_python new = validator.to_python(new, state) File '~/.local/lib/python2.7/site-packages/formencode/api.py', line 442 in to_python vp(value, state) File '~/.local/lib/python2.7/site-packages/kallithea/model/validators.py', line 311 in validate_python if auth_modules.authenticate(username, password) is None: File '~/.local/lib/python2.7/site-packages/kallithea/lib/auth_modules/__init__.py', line 407 in authenticate environ=environ or {}) File '~/.local/lib/python2.7/site-packages/kallithea/lib/auth_modules/__init__.py', line 233 in _authenticate user_data = self.auth(userobj, username, passwd, settings, **kwargs) File '~/.local/lib/python2.7/site-packages/kallithea/lib/auth_modules/auth_internal.py', line 89 in auth password_match = auth.KallitheaCrypto.hash_check(password, userobj.password) File '~/.local/lib/python2.7/site-packages/kallithea/lib/auth.py', line 129 in hash_check return bcrypt.hashpw(password, hashed) == hashed UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128) CGI Variables ------------- CONTENT_TYPE: 'application/x-www-form-urlencoded; charset="utf-8"' HTTP_ACCEPT: 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' HTTP_ACCEPT_ENCODING: 'gzip, deflate' HTTP_ACCEPT_LANGUAGE: 'en-US,en;q=0.8,uk;q=0.5,ru;q=0.3' HTTP_CONNECTION: 'keep-alive' HTTP_COOKIE: 'csrftoken=m1gKIKLFv4Q4lKiEHjlFvvRahhOAXY7QzaMxpo15GkbRFJjOxtNkgA8PrIJc14tN; kallithea=7e16bef801508ea2a51ce541529a572b5fe7d52ff5fe90a404ce4e158fb7b29b47f670ac' HTTP_DNT: '1' HTTP_HOST: '127.0.0.1:5000' HTTP_REFERER: 'http://127.0.0.1:5000/_admin/login?came_from=%2F' HTTP_UPGRADE_INSECURE_REQUESTS: '1' HTTP_USER_AGENT: 'Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0' PATH_INFO: '/_admin/login' QUERY_STRING: 'came_from=%2F' REMOTE_ADDR: '127.0.0.1' REQUEST_METHOD: 'POST' SERVER_NAME: 'localhost.localdomain' SERVER_PORT: '5000' SERVER_PROTOCOL: 'HTTP/1.1' SERVER_SOFTWARE: 'waitress' WSGI Variables -------------- application: beaker.get_session: > beaker.session: {'_authentication_token': '262978497343775941011263427441941177371', '_accessed_time': 1515950877.403435, '_creation_time': 1515950620.232559} paste.parsed_querystring: ([('came_from', '/')], 'came_from=%2F') paste.registry: paste.throw_errors: True pylons.action_method: > pylons.controller: pylons.environ_config: {'session': 'beaker.session', 'cache': 'beaker.cache'} pylons.log_debug: True pylons.pylons: pylons.routes_dict: {'action': u'index', 'controller': u'login'} routes.route: routes.url: webob._body_file: (, maxlen=137)>, ) webob._parsed_post_vars: (MultiDict([('_authentication_token', '262978497343775941011263427441941177371'), ('username', 'root'), ('password', '******'), ('sign_in', 'Sign In')]), ) webob._parsed_query_vars: (GET([('came_from', '/')]), 'came_from=%2F') webob.adhoc_attrs: {'errors': 'ignore'} webob.is_body_readable: True webob.is_body_seekable: False wsgi process: 'Multithreaded' wsgi.file_wrapper: wsgiorg.routing_args: (, {'action': u'index', 'controller': u'login'}) ------------------------------------------------------------ 2018-01-14 19:27:57.425 INFO [kallithea.lib.base] IP: 127.0.0.1 User: accessed /_admin/login 2018-01-14 19:27:57.427 INFO [kallithea.RequestWrapper] IP: 127.0.0.1 Request to /_admin/login time: 0.025s