Posts: 2
Joined: Jul 2018
Reputation:
0
I see someone asked this once before but I did not see how they fixed the issue.
I'm getting this message in the errorlog from the deploy;
Error: Command failed: /root/.nvm/versions/node/v10.7.0/lib/node_modules/lexigram-cli/dist/../node_modules/.bin/ask deploy -t skill
Call update-skill error.
Error code: 404
{
"message": "Resource not found."
}
The previous person that had a similar issue said they had forgot to enable the skill - in the AWS console?
Thank you in advance
Marc
Posts: 50
Joined: May 2014
Reputation:
1
Is this working in mrmc as well?
Posts: 19
Joined: May 2018
Reputation:
0
This is a follow-up to an issue I posted in May, for which I've not received a reply. The issue is using Kodi (on a Raspberry Pi, though the issue is the same with it on a Linux or Windows box) as an audio media player, and using the Kanzi Alexa skill for voice response. It has worked fine for me to play albums but hasn't been willing to play either songs or artists, with errors posted as follows:
File "/var/task/alexa.py", line 91, in decorated_function
return f(*args, **kwargs)
TypeError: alexa_listen_artist() takes exactly 3 arguments (2 given)
with a similar error of
File "/var/task/alexa.py", line 91, in decorated_function
return f(*args, **kwargs)
TypeError: alexa_listen_song() takes exactly 4 arguments (3 given)
It turns out that the problem occurs because supplied Alexa Intents don't have all of the correct Intent Slots. The Intent Slots for the Custom Skill must match the Intent Slots as defined in the custom intent. The ListenToArtist Intent needs both Intent slots "Artist" and "MusicGenre," appropriately assigned to the MusicArtists and MovieGenres Slot Types, respectively. Likewise for the Song Intent. If one is using Lambda, the Cloudwatch logs will give clues about where in the Python scripts the problems can be found, and the parameters in the function calls of the alexa python script can be mapped to the custom intents.
Rod
Posts: 19
Joined: May 2018
Reputation:
0
The required intent slots for "Song" are Song, Album and Artist.
Posts: 2,441
Joined: Mar 2010
Reputation:
54
jingai
Skilled Skinner
Posts: 2,441
Yes, you have to fill out all of the slots.
Posts: 225
Joined: Nov 2015
Reputation:
0
I am still using the old Kodi. I suspect that this post applies equally to Kanzi. Yesterday afternoon Kodi stopped responding to its invocation name "Kodi Media". I quickly discovered that all my skills in development only were ignoring the invocation name. I checked the Amazon site for 'events'. There were none. Published skills worked normally.
The fix was for each skill was, one by one, change the invocation name and then change it back again (allowing 2 min. for propagation with each change). That fixed the problem and all is now well.
Anyone else see this problem. As I mentioned it was not limited to Kodi.
Posts: 188
Joined: Sep 2011
Reputation:
14
I just pushed out an update to lexigram-cli so make sure you update it. Hopefully this resolves the issues people have been having with running the deploy command.
Posts: 14
Joined: Feb 2013
Reputation:
0
moad
Junior Member
Posts: 14
2018-08-13, 16:19
(This post was last modified: 2018-08-13, 17:28 by moad.)
I managed to get the skill installed using lamda to execute the requests to kodi, I can see the data being pulled in from my Kodi into the slots section of the skill and the skill is also appearing in the app.
Invocation name is Kodi however when I ask Kodi I just get "I couldn't find a skill called Kodi".
Help please!
edit: is it something to do with language? Is there any way I can see logging of the skill attempt?