Linux [SOLVED] kodi-send claims "No module named xbmcclient" - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Linux [SOLVED] kodi-send claims "No module named xbmcclient" (/showthread.php?tid=309969) |
[SOLVED] kodi-send claims "No module named xbmcclient" - produnis - 2017-03-19 Hi there, I run Archlinux on my laptop and my desktop. I thought that the systems are both the same. With these computers, I controll my kodi-openelec-boxes using kodi-send. For example, I change to a specific user profile using Code: kodi-send --host=192.168.0.160 --port=9777 --action="LoadProfile(Master user)" Or I update my videos Code: kodi-send --host=192.168.0.160 --port=9777 --action="UpdateLibrary(video)" So, my problem is: While everything is fine on my desktop, my laptop starts giving me the following error when I try to use kodi-send: Code: Traceback (most recent call last): Could anybody please give me a hint on how to fix that? Greetings from Germany Joe kodi-send claims "No module named xbmcclient" - lrusak - 2017-03-19 You need to install kodi-eventclients https://www.archlinux.org/packages/community/x86_64/kodi-eventclients/ RE: kodi-send claims "No module named xbmcclient" - produnis - 2017-03-19 have them installed on both machines... Code: $ pacaur -Ss kodi-eventclients I might add that it "stopped working" on the Laptop... It worked for years, but for two weeks ago, I get these error messages.... kodi-send claims "No module named xbmcclient" - lrusak - 2017-03-19 What happens if you do Code: python2 RE: kodi-send claims "No module named xbmcclient" - produnis - 2017-03-20 Code: $ python2 kodi-send claims "No module named xbmcclient" - lrusak - 2017-03-20 And how about Code: python2 RE: kodi-send claims "No module named xbmcclient" - cspack - 2017-03-20 The kodi-eventclients modules reside in /usr/lib/python2.7/dist-packages which isn't in the default python path, at least on current Arch. You could do something like this: Code: export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages RE: kodi-send claims "No module named xbmcclient" - ironic_monkey - 2017-03-20 dist-packages is a debianism. i have submitted a PR to improve on this; https://github.com/xbmc/xbmc/pull/11880 RE: kodi-send claims "No module named xbmcclient" - produnis - 2017-03-21 (2017-03-20, 05:43)cspack Wrote: The kodi-eventclients modules reside in /usr/lib/python2.7/dist-packages which isn't in the default python path, at least on current Arch. You could do something like this: Thx a lot, adding this path solves my problem!!!! YEEEEHAAA!!! :-) thx again! |