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
[2024-01-19 09:50:38,029] ERROR in app: Exception on /report [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "//ecowitt_exporter.py", line 254, in logecowitt
results['aqi'] = aqi_uk(data['pm25_avg_24h_ch1'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "//ecowitt_exporter.py", line 124, in aqi_uk
return index
^^^^^
UnboundLocalError: cannot access local variable 'index' where it is not associated with a value
The text was updated successfully, but these errors were encountered:
Just started at 2024-01-19 07:00:00
The text was updated successfully, but these errors were encountered: