Traceback (most recent call last):


 "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app

response = self.full_dispatch_request()


 "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask_restx/api.py", line 639, in error_router

return original_handler(e)


 "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise

raise value


 "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request

rv = self.dispatch_request()


 "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/home/pi/Mycodo/env/lib/python3.7/site-packages/flask_login/utils.py", line 272, in decorated_view

return func(*args, **kwargs)


 "/home/pi/Mycodo/mycodo/mycodo_flask/routes_page.py", line 716, in page_dashboard

output, OutputChannel, dict_outputs, dict_units, dict_measurements)


 "/home/pi/Mycodo/mycodo/mycodo_flask/utils/utils_general.py", line 764, in choices_outputs_channels_measurements

choices, each_output, output_channels, dict_outputs, dict_units, dict_measurements)


 "/home/pi/Mycodo/mycodo/mycodo_flask/utils/utils_general.py", line 1011, in form_output_channel_measurement_choices

measurement_channels = dict_outputs[each_output.output_type]['channels_dict'][each_channel.channel]['measurements']
KeyError: 'channels_dict'

Traceback (most recent call last):

 "DNU_hour_V2.py", line 80, in <module>
sns.tsplot(data=np.array(df.users), condition=np.array(df.shop))

 "/home/thomas/anaconda3/lib/python3.4/site-packages/seaborn/timeseries.py", line 248, in tsplot
cond=conds))

 "/home/thomas/anaconda3/lib/python3.4/site-packages/pandas/core/frame.py", line 214, in __init__
mgr = self._init_dict(data, index, columns, dtype=dtype)

 "/home/thomas/anaconda3/lib/python3.4/site-packages/pandas/core/frame.py", line 341, in _init_dict
dtype=dtype)

 "/home/thomas/anaconda3/lib/python3.4/site-packages/pandas/core/frame.py", line 4798, in _arrays_to_mgr
index = extract_index(arrays)

 "/home/thomas/anaconda3/lib/python3.4/site-packages/pandas/core/frame.py", line 4846, in extract_index
raise ValueError('arrays must all be same length')ValueError: arrays must all be same length