Getting this under advanced

General Discussion

Getting this under advanced

Postby wilsonb » Fri Nov 17, 2017 2:15 pm

Getting this under advanced tab section;


werkzeug.routing.BuildError


BuildError: Could not build url for endpoint 'update.update_firmware'. Did you mean 'update.firmware' instead?


Traceback (most recent call last)



File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1836, in __call__






return self.wsgi_app(environ, start_response)








File "/opt/alarmdecoder-webapp/ad2web/app.py", line 128, in __call__






return self.app(environ, start_response)








File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1820, in wsgi_app






response = self.make_response(self.handle_exception(e))








File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1403, in handle_exception






reraise(exc_type, exc_value, tb)








File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1817, in wsgi_app






response = self.full_dispatch_request()








File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1477, in full_dispatch_request






rv = self.handle_user_exception(e)








File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1381, in handle_user_exception






reraise(exc_type, exc_value, tb)








File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1475, in full_dispatch_request






rv = self.dispatch_request()








File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1461, in dispatch_request






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








File "/usr/local/lib/python2.7/dist-packages/flask_login.py", line 792, in decorated_view






return func(*args, **kwargs)








File "/opt/alarmdecoder-webapp/ad2web/decorators.py", line 16, in decorated_function






return f(*args, **kwargs)








File "/opt/alarmdecoder-webapp/ad2web/settings/views.py", line 692, in advanced















File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 128, in render_template






context, ctx.app)








File "/usr/local/lib/python2.7/dist-packages/flask/templating.py", line 110, in _render






rv = template.render(context)








File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 989, in render






return self.environment.handle_exception(exc_info, True)








File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 754, in handle_exception






reraise(exc_type, exc_value, tb)








File "/opt/alarmdecoder-webapp/ad2web/templates/settings/advanced.html", line 3, in top-level template code

{% extends 'settings/layout.html' %}








File "/opt/alarmdecoder-webapp/ad2web/templates/settings/layout.html", line 19, in top-level template code






{% set tabs = [








File "/opt/alarmdecoder-webapp/ad2web/templates/layouts/base.html", line 104, in top-level template code






{% block container %}








File "/opt/alarmdecoder-webapp/ad2web/templates/layouts/base.html", line 125, in block "container"






{% block body %}








File "/opt/alarmdecoder-webapp/ad2web/templates/settings/advanced.html", line 26, in block "body"






<li><a href="{{ url_for('update.update_firmware') }}">Firmware Update</a>: Update the firmware on your AlarmDecoder.</li>








File "/usr/local/lib/python2.7/dist-packages/flask/helpers.py", line 312, in url_for






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








File "/usr/local/lib/python2.7/dist-packages/flask/app.py", line 1641, in handle_url_build_error






reraise(exc_type, exc_value, tb)








File "/usr/local/lib/python2.7/dist-packages/flask/helpers.py", line 305, in url_for






force_external=external)








File "/usr/local/lib/python2.7/dist-packages/werkzeug/routing.py", line 1758, in build






raise BuildError(endpoint, values, method, self)







BuildError: Could not build url for endpoint 'update.update_firmware'. Did you mean 'update.firmware' 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.
wilsonb
Senior Nut
Senior Nut
 
Posts: 77
Joined: Sun Jul 26, 2015 4:14 pm

Re: Getting this under advanced

Postby kevin » Mon Nov 20, 2017 3:19 pm

I would suggest not using the dev branch, there is no guarantees everything is functional on a dev branch.
Not an employee of the company. Just here to help and keep things clean.
kevin
Platinum Nut
Platinum Nut
 
Posts: 994
Joined: Fri Aug 16, 2013 10:10 am


Return to General

Who is online

Users browsing this forum: No registered users and 28 guests

cron