You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All of the sudden, getting the following error after a few minutes of starting wyzebridge. WebUI comes up fine initially, but the error eventually appears. Other commands like getting api status or resetting cameras work but the localhost:50000 command still gets the error. Have tried earlier version of bridge and docker - no change.
Internal Server Error :The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Captured log activity follows:
19:51:38 [ERROR][WyzeBridge] Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/frontend.py", line 38, in wrapped_view
return web_ui.auth.login_required(view)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask_httpauth.py", line 174, in decorated
return self.ensure_sync(f)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/frontend.py", line 95, in index
render_template(
File "/usr/local/lib/python3.12/site-packages/flask/templating.py", line 150, in render_template
return _render(app, template, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/templating.py", line 131, in _render
rv = template.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1304, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/app/templates/index.html", line 1, in top-level template code
{% extends 'base.html' %}
File "/app/templates/base.html", line 17, in top-level template code
{% block content %}
File "/app/templates/index.html", line 132, in block 'content'
value="{{(camera.camera_info.sdParm.capacity|int-camera.camera_info.sdParm.free|int)/camera.camera_info.sdParm.capacity|int}}"
^^^^^^^^^^^^^^^^^^^^^^^^^
ZeroDivisionError: division by zero
19:51:38 [INFO][WyzeBridge] 172.18.0.1 - - [04/Jan/2025 19:51:38] "GET / HTTP/1.1" 500 -
The text was updated successfully, but these errors were encountered:
All of the sudden, getting the following error after a few minutes of starting wyzebridge. WebUI comes up fine initially, but the error eventually appears. Other commands like getting api status or resetting cameras work but the localhost:50000 command still gets the error. Have tried earlier version of bridge and docker - no change.
Internal Server Error :The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Captured log activity follows:
19:51:38 [ERROR][WyzeBridge] Exception on / [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 1473, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 882, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 880, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/app.py", line 865, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/frontend.py", line 38, in wrapped_view
return web_ui.auth.login_required(view)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask_httpauth.py", line 174, in decorated
return self.ensure_sync(f)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/frontend.py", line 95, in index
render_template(
File "/usr/local/lib/python3.12/site-packages/flask/templating.py", line 150, in render_template
return _render(app, template, context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/flask/templating.py", line 131, in _render
rv = template.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 1304, in render
self.environment.handle_exception()
File "/usr/local/lib/python3.12/site-packages/jinja2/environment.py", line 939, in handle_exception
raise rewrite_traceback_stack(source=source)
File "/app/templates/index.html", line 1, in top-level template code
{% extends 'base.html' %}
File "/app/templates/base.html", line 17, in top-level template code
{% block content %}
File "/app/templates/index.html", line 132, in block 'content'
value="{{(camera.camera_info.sdParm.capacity|int-camera.camera_info.sdParm.free|int)/camera.camera_info.sdParm.capacity|int}}"
^^^^^^^^^^^^^^^^^^^^^^^^^
ZeroDivisionError: division by zero
19:51:38 [INFO][WyzeBridge] 172.18.0.1 - - [04/Jan/2025 19:51:38] "GET / HTTP/1.1" 500 -
The text was updated successfully, but these errors were encountered: