AttributeError: Kodi instance has no attribute 'GetShows'
Closed this issue · 2 comments
Xtropy74 commented
I just upgraded kodi-alexa from a commit back in November 2017 and when I try to generate slots, I get most of them generated but then the script fails stating:
Writing: MOVIES
Traceback (most recent call last):
File "/usr/local/sbin/kodi-alexa/generate_custom_slots.py", line 149, in
retrieved = kodi.GetShows()
AttributeError: Kodi instance has no attribute 'GetShows'
Any suggestions on the cause or fix to allow my Shows slot to generate?
jingai commented
Remember you also need to update kodi-voice. The slot generator is working here for me.
Xtropy74 commented
Thanks the issue was I was running the slotgenerator outside of venv. Once I ran the code after:
virtualenv venv
source venv/bin/activate
Everything worked fine. Thanks