Release Kanzi: Amazon Alexa skill for Kodi - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116) +--- Thread: Release Kanzi: Amazon Alexa skill for Kodi (/showthread.php?tid=254502) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
RE: Amazon Echo skill for Kodi - HartzF34R - 2018-04-04 Hey m0ngr31, thanks for the new setup! Everything seems to work as you described it, but when I want to deploy the skill with "lexigram deploy kanzi" I only get an error saying "Error deploying. Please try again". I already tried uninstalling and then reinstalling lexigram-cli, but that did not changed the result. Is there any possibility, to show more information about this error? The "-v" option didn't show any additional informations. RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-04-04 (2018-04-04, 17:40)HartzF34R Wrote: Hey m0ngr31, thanks for the new setup! Everything seems to work as you described it, but when I want to deploy the skill with "lexigram deploy kanzi" I only get an error saying "Error deploying. Please try again". I already tried uninstalling and then reinstalling lexigram-cli, but that did not changed the result. Is there any possibility, to show more information about this error?Windows or Linux/Mac? RE: Amazon Echo skill for Kodi - HartzF34R - 2018-04-04 (2018-04-04, 17:44)m0ngr31 Wrote:Ubuntu 16.04(2018-04-04, 17:40)HartzF34R Wrote: Hey m0ngr31, thanks for the new setup! Everything seems to work as you described it, but when I want to deploy the skill with "lexigram deploy kanzi" I only get an error saying "Error deploying. Please try again". I already tried uninstalling and then reinstalling lexigram-cli, but that did not changed the result. Is there any possibility, to show more information about this error?Windows or Linux/Mac? RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-04-04 Perfect. Okay, try these commands: Code:
And that'll dump out the information to see what it's failing on. RE: Amazon Echo skill for Kodi - bill_orange - 2018-04-04 Regarding the new procedure it sure does look easier. The old method was doable but there was a lots more room for misunderstandings and typos. For those of us up and running the 'old' way, should we wish to update to a newer version, how should we proceed? Its been so long since I have upgraded to a new version I am not sure I even remember the old. way! RE: Amazon Echo skill for Kodi - HartzF34R - 2018-04-04 (2018-04-04, 17:49)m0ngr31 Wrote: Perfect.If I do this, I get the following error: "[Error]: Invalid url info. Cannot find valid lambda function with the given name, nor find sourceDir as codebase path to create lambda function." But in my skill.json file there is an uri defined, that looks like arn:aws:lambda:eu-west-1:.....:function:kanzi, which I got from the lambda function. RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-04-04 Can you PM a pastebin of your skill.json? EDIT: Or alternatively, try doing the deploy without putting an address in. RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-04-04 (2018-04-04, 17:56)bill_orange Wrote: Regarding the new procedure it sure does look easier. The old method was doable but there was a lots more room for misunderstandings and typos. Honestly, the easiest way it just to remove the old skill from your developer dashboard and start fresh with the new instructions. RE: Amazon Echo skill for Kodi - HartzF34R - 2018-04-04 (2018-04-04, 18:07)m0ngr31 Wrote: Can you PM a pastebin of your skill.json?Is there any other way to contact you? Because I'm not allowed to send you a PM. Deploying it without the address produces the same error. RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-04-04 I sent you a PM RE: Amazon Echo skill for Kodi - bill_orange - 2018-04-05 Makes sense. Do you mean delete both from Lamda and the developer's console? I suppose it might not make much difference if the old one stayed in Lambda. Since everything is working nicely, it would take a considerable upgrade to make me re-do it. Is there a command that makes the skill announce its version number? RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-04-05 (2018-04-05, 16:19)bill_orange Wrote: Makes sense. Do you mean delete both from Lamda and the developer's console? I suppose it might not make much difference if the old one stayed in Lambda.There isn't yet, but that's a good idea. Technically, they use different invocation names, so you can keep both around if you want to try the new one. RE: Amazon Echo skill for Kodi - miststlkr - 2018-04-05 (2018-04-04, 06:46)m0ngr31 Wrote: Try `rm -rf ~/.ask` and just use the default profile. still no dice. I am trying to run this on the same linux system which is running Kodi and they are fighting over port 9090. Perhaps that was a mistake? Should I be installing/running this on a different system? miststlkr@htpc:~$ rm -Rf .ask miststlkr@htpc:~$ lexigram login -------------------- Initialize CLI -------------------- ? There is no AWS credential setup yet, do you want to continue the initialization? (Default: False) Yes Warning: Profile: "default" will not be able to deploy lambda functions since no AWS credentials are set up. [Warn]: 9090 port on localhost has been occupied. Please either abort any processes running on port 9090 for init cli or use `ask init --no-browser` as an alternative approach. RE: Amazon Echo skill for Kodi - m0ngr31 - 2018-04-05 It's fine if they run on the same system. You just can't be doing the login with something running on that port. Try killing Kodi or moving it to a different port temporarily. RE: Amazon Echo skill for Kodi - miststlkr - 2018-04-05 Quote:miststlkr@htpc:~$ kodi-send --action="Quit" I am trying to run this thru SSH. Is it possible that it is crashing because it can't load a browser, perhaps? When I quit Kodi, I get logged out and it autoloads on login. I appreciate your time troubleshooting this. |