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
Minor bug, when adding the solid gauge widget. if 5 (no issue modifying after dependency install) stops is selected before the dependencies are installed, it will produce the following:
(no issue modifying after dependency install)
Error 500: Internal Server Error
Something bad happened but it's probably not your fault. Letting the developers know about these issues is crucial to supporting Mycodo. Please submit a new issue on GitHub with the following diagnostic information and error traceback (copy the entire traceback):
Version: 8.12.9
Database: 0187ea22dc4b
Model: Raspberry Pi 4 Model B Rev 1.4
Traceback (most recent call last):
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask/app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask_restx/api.py", line 672, in error_router
return original_handler(e)
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask_login/utils.py", line 272, in decorated_view
return func(*args, **kwargs)
File "/home/pi/Mycodo/mycodo/mycodo_flask/routes_dashboard.py", line 145, in page_dashboard
unmet_dependencies = utils_dashboard.widget_add(form_base, request.form)
File "/home/pi/Mycodo/mycodo/mycodo_flask/utils/utils_dashboard.py", line 230, in widget_add
error, new_widget = dict_widgets[widget_name]['execute_at_creation'](
File "/home/pi/Mycodo/mycodo/widgets/widget_gauge_solid.py", line 51, in execute_at_creation
color = color_list[i + 1]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered:
Minor bug, when adding the solid gauge widget. if 5 (no issue modifying after dependency install) stops is selected before the dependencies are installed, it will produce the following:
(no issue modifying after dependency install)
Error 500: Internal Server Error
Something bad happened but it's probably not your fault. Letting the developers know about these issues is crucial to supporting Mycodo. Please submit a new issue on GitHub with the following diagnostic information and error traceback (copy the entire traceback):
Version: 8.12.9
Database: 0187ea22dc4b
Model: Raspberry Pi 4 Model B Rev 1.4
Release:
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
Firmware:
b''
Error (Full Traceback):
Traceback (most recent call last):
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask/app.py", line 1518, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask_restx/api.py", line 672, in error_router
return original_handler(e)
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask/app.py", line 1516, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask/app.py", line 1502, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/home/pi/Mycodo/env/lib/python3.9/site-packages/flask_login/utils.py", line 272, in decorated_view
return func(*args, **kwargs)
File "/home/pi/Mycodo/mycodo/mycodo_flask/routes_dashboard.py", line 145, in page_dashboard
unmet_dependencies = utils_dashboard.widget_add(form_base, request.form)
File "/home/pi/Mycodo/mycodo/mycodo_flask/utils/utils_dashboard.py", line 230, in widget_add
error, new_widget = dict_widgets[widget_name]['execute_at_creation'](
File "/home/pi/Mycodo/mycodo/widgets/widget_gauge_solid.py", line 51, in execute_at_creation
color = color_list[i + 1]
IndexError: list index out of range
The text was updated successfully, but these errors were encountered: