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):


 "<stdin>", line 1, in <module>


 "/usr/local/lib/python3.7/site-packages/dpkt/netbios.py", line 16, in encode_name

c = ord(c)
TypeError: ord() expected string of length 1, but int found
