Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BuildError werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'signinpage'. Did you mean 'loginagent' instead? #343

Open
VarunaveeMuruganandham opened this issue Nov 18, 2022 · 0 comments

Comments

@VarunaveeMuruganandham
Copy link

BuildError
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'signinpage'. Did you mean 'loginagent' instead?

Traceback (most recent call last)
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2548, in call
return self.wsgi_app(environ, start_response)
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2528, in wsgi_app
response = self.handle_exception(e)
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2525, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1822, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1820, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 1796, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "C:\Users\varunaveem\Desktop\IBM-Project-1392-1658386621-main\Final_Deliverables\Customer Care Registry\app.py", line 30, in home
return render_template('index.html',mes=message)
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\templating.py", line 147, in render_template
return _render(app, template, context)
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\templating.py", line 130, in _render
rv = template.render(context)
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\jinja2\environment.py", line 1301, in render
self.environment.handle_exception()
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\jinja2\environment.py", line 936, in handle_exception
raise rewrite_traceback_stack(source=source)
File "C:\Users\varunaveem\Desktop\IBM-Project-1392-1658386621-main\Final_Deliverables\Customer Care Registry\templates\index.html", line 1, in top-level template code
{% extends 'base.html' %}
File "C:\Users\varunaveem\Desktop\IBM-Project-1392-1658386621-main\Final_Deliverables\Customer Care Registry\templates\base.html", line 61, in top-level template code
{% block body %}
File "C:\Users\varunaveem\Desktop\IBM-Project-1392-1658386621-main\Final_Deliverables\Customer Care Registry\templates\index.html", line 48, in block 'body'
<span
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2031, in url_for
return self.handle_url_build_error(error, endpoint, values)
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\flask\app.py", line 2020, in url_for
rv = url_adapter.build( # type: ignore[union-attr]
File "C:\Users\varunaveem\AppData\Local\Programs\Python\Python310\lib\site-packages\werkzeug\routing\map.py", line 917, in build
raise BuildError(endpoint, values, method, self)
werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'signinpage'. Did you mean 'loginagent' instead?
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

dump() shows all variables in the frame
dump(obj) dumps all that's known about the object

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant