Solved Import serial - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Solved Import serial (/showthread.php?tid=212123) |
Import serial - ConfusedTA - 2014-12-23 Hi all, I've written a service add-on for my existing XBMC 13.2 installation, which allows me to control my LG TV from within XBMC - such as switching it on/off, changing input, volume, picture mode (it has a habit of switching out of 1:1 pixel mode) All was working fine with 13.2, but I've just installed 14.0 and the script is failing! Quote:17:29:14 T:9520 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- I'm guessing the "serial" Python library has been removed or superceded? Can anyone help, please? Cheers! RE: Import serial - Martijn - 2014-12-23 you need to add it as dependency in addon.xml if it's a separate addon module RE: Import serial - ConfusedTA - 2014-12-23 Thanks - I'd forgotten I'd created an additional addon module wrapping "pyserial" - by adding that as a dependency, it's working fine. Huge thanks for your very quick response, and for pointing me in the correct direction Cheers! |