Traceback (most recent call last):
File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 2551, in call
return self.wsgi_app(environ, start_response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 2531, in wsgi_app
response = self.handle_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Cranfield\Group Project\AlphaTeam\application\routes\centrality_routes.py", line 118, in centrality_all
return render_template('centrality/centrality_all.html', example=df, tab=tab, method_name='All Centrality',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'df' where it is not associated with a value
Please double check, i tried with all datasets and could reproduced the error, pull the latest change on the dev branch on try again with providing more details about the error maybe
Traceback (most recent call last): File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 2551, in call return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 2531, in wsgi_app response = self.handle_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 2528, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 1825, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 1823, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Cranfield\Group Project\AlphaTeam\venv\Lib\site-packages\flask\app.py", line 1799, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "E:\Cranfield\Group Project\AlphaTeam\application\routes\centrality_routes.py", line 118, in centrality_all return render_template('centrality/centrality_all.html', example=df, tab=tab, method_name='All Centrality', ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnboundLocalError: cannot access local variable 'df' where it is not associated with a value