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
Error 500: Internal Server Error setup page #662
Comments
Can you list what you did in steps I can follow to reproduce this issue? |
Sorry - can't remember clearly enough, trying to re-create. |
Hi Well I've started from scratch to get a clean install. A list of install actions follows: Check AM2315 sensor: Check MH-Z19 sensor: Install Mycodo: |
I was more wondering the steps you took from within the Mycodo web interface to cause the error, but thank you for the detailed steps. I don't see anything that should cause that error. The error disappearing from a reinstall suggests it was an issue with your first install that caused it. In any case, I'm glad it was resolved with a reinstall. |
Mycodo Issue Report:
Problem Description
Please list:
Errors
code lines you've isolated (please use GitHub permalinks for this)
Steps to Reproduce the issue:
How can this issue be reproduced?
Additional Notes
Is there anything that should be added to make it easier
to address this issue?
Hi
I was trying to add a mh-z19 sensor, connected like this: https://pypi.org/project/mh-z19/
I went to the setup setup data page and got this error log:
Error (Full Traceback):
Traceback (most recent call last):
File "/home/pi/Mycodo/env/lib/python3.5/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/pi/Mycodo/env/lib/python3.5/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/pi/Mycodo/env/lib/python3.5/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/pi/Mycodo/env/lib/python3.5/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/pi/Mycodo/env/lib/python3.5/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/pi/Mycodo/env/lib/python3.5/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/pi/Mycodo/env/lib/python3.5/site-packages/flask_login/utils.py", line 261, in decorated_view
return func(*args, **kwargs)
File "/home/pi/Mycodo/mycodo/mycodo_flask/routes_page.py", line 1752, in page_data
choices_measurements_units = utils_general.choices_measurements_units(measurement, unit)
File "/home/pi/Mycodo/mycodo/mycodo_flask/utils/utils_general.py", line 209, in choices_measurements_units
unit_name=dict_units[each_unit]['name'])
KeyError: ''
What have I done wrong? I'm a complete Noob to the pi
The text was updated successfully, but these errors were encountered: