-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Editing: Gauge (Angular) Widget Configuration #916
Comments
Please provide detailed steps to reproduce the issue. |
Error (Full Traceback): |
I couldn't replicate your issue, but I did find other issues with both Angular and Solid gauges that I fixed in the latest commit. |
Ok. I will test again after updating and let you know. May not be for a couple days.
Thank you,
CJ
…On Jan 6, 2021, 2:42 PM -0500, Kyle Gabriel ***@***.***>, wrote:
I couldn't replicate your issue, but I did find other issues with both Angular and Solid gauges that I fixed in the latest commit.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I was adding additional color stops that presented me with the following...
Error (Full Traceback):
Traceback (most recent call last):
File "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask_restx/api.py", line 639, in error_router
return original_handler(e)
File "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask_login/utils.py", line 272, in decorated_view
return func(*args, **kwargs)
File "/home/pi/Mycodo/mycodo/mycodo_flask/routes_page.py", line 603, in page_dashboard
utils_dashboard.widget_mod(form_base, request.form)
File "/home/pi/Mycodo/mycodo/mycodo_flask/utils/utils_dashboard.py", line 255, in widget_mod
mod_widget, request_form, custom_options_json_presave, json.loads(custom_options_json_postsave))
File "/home/pi/Mycodo/mycodo/widgets/widget_gauge_angular.py", line 73, in execute_at_modification
current_colors=sorted_colors)
File "/home/pi/Mycodo/mycodo/widgets/widget_gauge_angular.py", line 475, in gauge_reformat_stops
if new_stops > current_stops:
TypeError: '>' not supported between instances of 'NoneType' and 'int'
The text was updated successfully, but these errors were encountered: