2022-10-18 13:25:58,412 Exception on / [POST]
Traceback (most recent call last):
  File "/var/www/html/Semantization_Interface/venv/lib/python3.8/site-packages/flask/app.py", line 2525, in wsgi_app
    response = self.full_dispatch_request()
  File "/var/www/html/Semantization_Interface/venv/lib/python3.8/site-packages/flask/app.py", line 1822, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/var/www/html/Semantization_Interface/venv/lib/python3.8/site-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
  File "/var/www/html/Semantization_Interface/venv/lib/python3.8/site-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/var/www/html/Semantization_Interface/app.py", line 47, in main
    return redirect(url_for('error'))
NameError: name 'url_for' is not defined
