Traceback (most recent call last):


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 2463, in __call__

return self.wsgi_app(environ, start_response)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/werkzeug/middleware/proxy_fix.py", line 232, in __call__

return self.app(environ, start_response)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 2449, in wsgi_app

response = self.handle_exception(e)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 1866, in handle_exception

reraise(exc_type, exc_value, tb)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app

response = self.full_dispatch_request()


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request

rv = self.dispatch_request()


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request

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


 "/opt/web/powerdns-admin/powerdnsadmin/routes/index.py", line 256, in login

return render_template('login.html', saml_enabled=SAML_ENABLED)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/templating.py", line 140, in render_template

ctx.app,


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/templating.py", line 120, in _render

rv = template.render(context)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/jinja2/asyncsupport.py", line 76, in render

return original_render(self, *args, **kwargs)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/jinja2/environment.py", line 1008, in render

return self.environment.handle_exception(exc_info, True)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/jinja2/environment.py", line 780, in handle_exception

reraise(exc_type, exc_value, tb)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/jinja2/_compat.py", line 37, in reraise

raise value.with_traceback(tb)


 "/opt/web/powerdns-admin/powerdnsadmin/templates/login.html", line 26, in top-level template code

<a href="{{ url_for('index') }}">DNS-Administration</a>


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/helpers.py", line 370, in url_for

return appctx.app.handle_url_build_error(error, endpoint, values)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/app.py", line 2215, in handle_url_build_error

reraise(exc_type, exc_value, tb)


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/flask/helpers.py", line 358, in url_for

endpoint, values, method=method, force_external=external


 "/opt/web/powerdns-admin/flask/lib/python3.7/site-packages/werkzeug/routing.py", line 2020, in build

raise BuildError(endpoint, values, method, self)
werkzeug.routing.BuildError: Could not build url for endpoint 'index'. Did you mean 'index.login' instead?

Traceback (most recent call last):


 "/home/beast/Documents/NeuroNER-master/src/neuroner.py", line 489, in __del__

self.sess.close()
AttributeError: 'NeuroNER' object has no attribute 'sess'```
