Traceback (most recent call last):


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask\app.py", line 2309, in __call__

return self.wsgi_app(environ, start_response)


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask\app.py", line 2295, in wsgi_app

response = self.handle_exception(e)


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask\app.py", line 1741, in handle_exception

reraise(exc_type, exc_value, tb)


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask\_compat.py", line 35, in reraise

raise value


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask\app.py", line 2292, in wsgi_app

response = self.full_dispatch_request()


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask\app.py", line 1815, in full_dispatch_request

rv = self.handle_user_exception(e)


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask\app.py", line 1718, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask\_compat.py", line 35, in reraise

raise value


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask\app.py", line 1813, in full_dispatch_request

rv = self.dispatch_request()


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask\app.py", line 1799, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "D:\python_scripts\qr_code_generate_app\qr_generate_controller.py", line 86, in authLogin

access_token = create_access_token(identity=username)


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask_jwt_extended\utils.py", line 134, in create_access_token

return jwt_manager._create_access_token(identity, fresh, expires_delta)


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask_jwt_extended\jwt_manager.py", line 459, in _create_access_token

json_encoder=config.json_encoder


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask_jwt_extended\tokens.py", line 77, in encode_access_token

json_encoder=json_encoder)


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\flask_jwt_extended\tokens.py", line 31, in _encode_jwt

json_encoder=json_encoder).decode('utf-8')


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\jwt\api_jwt.py", line 65, in encode

json_payload, key, algorithm, headers, json_encoder


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\jwt\api_jws.py", line 113, in encode

key = alg_obj.prepare_key(key)


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\jwt\algorithms.py", line 140, in prepare_key

key = force_bytes(key)


 "D:\python_scripts\scrap_cric\venv\lib\site-packages\jwt\utils.py", line 30, in force_bytes

raise TypeError('Expected a string value')
TypeError: Expected a string value

Traceback (most recent call last):


 "/home/user/.local/bin/pipenv", line 11, in <module>

sys.exit(cli())


 "/home/user/.local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/home/user/.local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 717, in main

rv = self.invoke(ctx)


 "/home/user/.local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 1114, in invoke

return Command.invoke(self, ctx)


 "/home/user/.local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 956, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/user/.local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/user/.local/lib/python2.7/site-packages/pipenv/vendor/click/decorators.py", line 64, in new_func

return ctx.invoke(f, obj, *args, **kwargs)


 "/home/user/.local/lib/python2.7/site-packages/pipenv/vendor/click/core.py", line 555, in invoke

return callback(*args, **kwargs)


 "/home/user/.local/lib/python2.7/site-packages/pipenv/vendor/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/home/user/.local/lib/python2.7/site-packages/pipenv/cli/command.py", line 203, in cli

clear=state.clear,


 "/home/user/.local/lib/python2.7/site-packages/pipenv/core.py", line 565, in ensure_project

pypi_mirror=pypi_mirror,


 "/home/user/.local/lib/python2.7/site-packages/pipenv/core.py", line 500, in ensure_virtualenv

python=python, site_packages=site_packages, pypi_mirror=pypi_mirror


 "/home/user/.local/lib/python2.7/site-packages/pipenv/core.py", line 901, in do_create_virtualenv

click.echo(crayons.blue("{0}".format(c.err)), err=True)


 "/home/user/.local/lib/python2.7/site-packages/pipenv/vendor/delegator.py", line 146, in err

return self._pexpect_out


 "/home/user/.local/lib/python2.7/site-packages/pipenv/vendor/delegator.py", line 114, in _pexpect_out

result += self.subprocess.after
TypeError: coercing to Unicode: need string or buffer, type found
