Open ad5trett opened 5 years ago
Same here, server Ubuntu 19.04, Domoticz last beta (4.11637):
2020-01-22 17:04:35.437 Error: (Hive) 'onStart' failed 'KeyError'. 2020-01-22 17:04:35.437 Error: (Hive) ----> Line 836 in '/home/domoticz/domoticz/plugins/Hive/plugin.py', function onStart 2020-01-22 17:04:35.437 Error: (Hive) ----> Line 85 in '/home/domoticz/domoticz/plugins/Hive/plugin.py', function onStart 2020-01-22 17:04:35.437 Error: (Hive) ----> Line 191 in '/home/domoticz/domoticz/plugins/Hive/plugin.py', function onHeartbeat 2020-01-22 17:04:35.437 Error: (Hive) ----> Line 449 in '/home/domoticz/domoticz/plugins/Hive/plugin.py', function UpdateDeviceState
renamed plugin.urllib.py in plugin.py, same error hive.log
Please try with the latest patches
I've attached the collect_json.py as requested on the forum, as a result of these errors...
2019-01-18 15:16:27.933 Error: (Hive) 'onStart' failed 'KeyError'. 2019-01-18 15:16:27.934 Error: (Hive) ----> Line 836 in /home/pi/domoticz/plugins/Hive/plugin.py, function onStart 2019-01-18 15:16:27.934 Error: (Hive) ----> Line 85 in /home/pi/domoticz/plugins/Hive/plugin.py, function onStart 2019-01-18 15:16:27.934 Error: (Hive) ----> Line 191 in /home/pi/domoticz/plugins/Hive/plugin.py, function onHeartbeat 2019-01-18 15:16:27.934 Error: (Hive) ----> Line 619 in /home/pi/domoticz/plugins/Hive/plugin.py, function UpdateDeviceState 2019-01-18 15:16:36.522 Error: (Hive) 'onHeartbeat' failed 'KeyError'. 2019-01-18 15:16:36.523 Error: (Hive) ----> Line 857 in /home/pi/domoticz/plugins/Hive/plugin.py, function onHeartbeat 2019-01-18 15:16:36.523 Error: (Hive) ----> Line 191 in /home/pi/domoticz/plugins/Hive/plugin.py, function onHeartbeat 2019-01-18 15:16:36.523 Error: (Hive) ----> Line 464 in /home/pi/domoticz/plugins/Hive/plugin.py, function UpdateDeviceState 2019-01-18 15:16:46.147 Error: (Hive) 'onHeartbeat' failed 'KeyError'. 2019-01-18 15:16:46.148 Error: (Hive) ----> Line 857 in /home/pi/domoticz/plugins/Hive/plugin.py, function onHeartbeat 2019-01-18 15:16:46.148 Error: (Hive) ----> Line 191 in /home/pi/domoticz/plugins/Hive/plugin.py, function onHeartbeat 2019-01-18 15:16:46.148 Error: (Hive) ----> Line 464 in /home/pi/domoticz/plugins/Hive/plugin.py, function UpdateDeviceState
Domoticz V4.900, using the plugin.urlib.py
Thanks.
collect_json.py.txt