Traceback (most recent call last):


 "C:\Users\adnan\AppData\Local\Programs\Python\Python38-32\lib\site-packages\tornado\ioloop.py", line 907, in _run

return self.callback()


 "C:\Users\adnan\AppData\Local\Programs\Python\Python38-32\lib\site-packages\distributed\nanny.py", line 414, in memory_monitor

process = self.process.process
AttributeError: 'NoneType' object has no attribute 'process'

Traceback (most recent call last):


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 2446, in wsgi_app

response = self.full_dispatch_request()


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 1951, in full_dispatch_request

rv = self.handle_user_exception(e)


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 1820, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\_compat.py", line 39, in reraise

raise value


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 1949, in full_dispatch_request

rv = self.dispatch_request()


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 1935, in dispatch_request

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


 "C:\Users\asus\Desktop\group-17-electronic-voting-system\vote\routes.py", line 12, in home

return render_template('home.html',title='Home')


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\templating.py", line 136, in render_template

ctx.app.update_template_context(context)


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask\app.py", line 838, in update_template_context

context.update(func())


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask_login\utils.py", line 379, in _user_context_processor

return dict(current_user=_get_user())


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask_login\utils.py", line 346, in _get_user

current_app.login_manager._load_user()


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask_login\login_manager.py", line 318, in _load_user

user = self._user_callback(user_id)


 "c:\users\asus\appdata\local\programs\python\python38-32\lib\site-packages\flask_user\user_manager.py", line 130, in load_user_by_user_token

user = self.db_manager.UserClass.get_user_by_token(user_token)
AttributeError: type object 'User' has no attribute 'get_user_by_token'
