dnpwwo / Domoticz-Kodi-Plugin

Full version of Kodi Python Plugin for Domoticz home automation
MIT License
10 stars 5 forks source link

ValueError after update to 2.5.6 #2

Closed MrPePperNL closed 6 years ago

MrPePperNL commented 6 years ago

Hi,

Today decided to update the plugins. One of them is your kodi plugin. After git pull and domoticz restart there is this error:

2018-04-05 20:50:36.579 (Kodi) Entering work loop. 2018-04-05 20:50:36.580 (Kodi) Initialized version 2.5.6, author 'dnpwwo' 2018-04-05 20:50:37.674 Error: (Kodi) 'onStart' failed 'ValueError':'invalid literal for int() with base 10: 'null''. 2018-04-05 20:50:37.674 Error: (Kodi) ----> Line 626 in /home/pi/domoticz/plugins/Domoticz-Kodi-Plugin/plugin.py, function onStart 2018-04-05 20:50:37.674 Error: (Kodi) ----> Line 93 in /home/pi/domoticz/plugins/Domoticz-Kodi-Plugin/plugin.py, function onStart

All fields in plugin settings are filled.

Can you have a look what is wrong ?

dnpwwo commented 6 years ago

Can you go into the Hardware page, select the plugin and configure the Debug parameter via the drop down and hit the Update button.

That should fix it.

MrPePperNL commented 6 years ago

Well that was an easy fix, after setting debug to none the plugin starts without problems.

Again thanks for the work on it.

Case closed