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 - jingai - 2017-04-16 You might try repositioning your Echo or something. But there's not much we can do in the skill itself to fix this kind of thing. As for the error, we utilize Amazon's standard built-ins for things like OK, no, yes, cancel, etc. If Amazon doesn't consider "sure yes" an affirmative, then we won't either. RE: Amazon Echo skill for Kodi - zanix - 2017-04-16 I had some issues when running `pip install -r requirements.txt` in Ubuntu Server 16.04. I kept getting these errors. Code: Failed cleaning build dir for cryptography Code: Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-BNnDST/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__) I ended up having to install some packages first Code: sudo apt install build-essential libssl-dev libffi-dev python-dev After that, I was able to run `pip install -r requirements.txt` without errors and deploy the code to AWS RE: Amazon Echo skill for Kodi - wellsecond - 2017-04-16 At first I tried cody as the invocation name as suggested on README and it worked terrible for me. After have changed to kodi it worked way better. RE: Amazon Echo skill for Kodi - jingai - 2017-04-16 Yeah, kodi works better for me too. Sent from my D5803 RE: Amazon Echo skill for Kodi - wilhelmus - 2017-04-16 Hi, I followed the instructions on github and made a new user with admin rights then the intructions say: Next, run these commands to configure your computer for AWS service access: pip install awscli and then aws configure. Just follow the prompts, and copy paste the keys when it asks for them. When it asks for location, if you are in the US, enter: us-east-1, and if you are in Europe: eu-west-1. I ran the scripts, they run through, but the scripts are not asking for anything. Any thoughts? RE: Amazon Echo skill for Kodi - digiltd - 2017-04-16 (2017-04-15, 11:15)wellsecond Wrote: I am getting this when trying pip install awscli: This is a bit late as I see you have got this working using sudo. It looks like you have installed python using Homebrew, when using packages installed via brew you shouldn't need to use sudo for pip. Anything installed using brew goes into /usr/local and is completely separated from system stuff. Ideally you shouldn't use sudo for any package manager (npm, pip, bower etc) if installed via brew. Your python setup may be a little confused and need looking at, though it is beyond this thread. Have a look at http://docs.brew.sh/Homebrew-and-Python.html and https://hackercodex.com/guide/python-development-environment-on-mac-osx/ You can also install awscli using brew (brew install awscli) RE: Amazon Echo skill for Kodi - m0ngr31 - 2017-04-16 (2017-04-16, 12:25)wilhelmus Wrote: Hi, What do they say? RE: Amazon Echo skill for Kodi - wellsecond - 2017-04-16 (2017-04-16, 19:23)digiltd Wrote:(2017-04-15, 11:15)wellsecond Wrote: I am getting this when trying pip install awscli: Thank you! It's useful information! RE: Amazon Echo skill for Kodi - wilhelmus - 2017-04-17 (2017-04-16, 21:53)m0ngr31 Wrote:(2017-04-16, 12:25)wilhelmus Wrote: Hi, This is what I get: Microsoft Windows [Version 10.0.15063] C:\Python27\Scripts>pip install awscli Collecting awscli Downloading awscli-1.11.76-py2.py3-none-any.whl (1.2MB) 100% |################################| 1.2MB 731kB/s Collecting colorama<=0.3.7,>=0.2.5 (from awscli) Downloading colorama-0.3.7-py2.py3-none-any.whl Collecting docutils>=0.10 (from awscli) Downloading docutils-0.13.1-py2-none-any.whl (537kB) 100% |################################| 542kB 1.0MB/s Collecting PyYAML<=3.12,>=3.10 (from awscli) Downloading PyYAML-3.12-cp27-cp27m-win32.whl (182kB) 100% |################################| 184kB 860kB/s Collecting rsa<=3.5.0,>=3.1.2 (from awscli) Downloading rsa-3.4.2-py2.py3-none-any.whl (46kB) 100% |################################| 51kB 948kB/s Collecting s3transfer<0.2.0,>=0.1.9 (from awscli) Downloading s3transfer-0.1.10-py2.py3-none-any.whl (54kB) 100% |################################| 61kB 3.6MB/s Collecting botocore==1.5.39 (from awscli) Downloading botocore-1.5.39-py2.py3-none-any.whl (3.4MB) 100% |################################| 3.4MB 379kB/s Collecting pyasn1>=0.1.3 (from rsa<=3.5.0,>=3.1.2->awscli) Downloading pyasn1-0.2.3-py2.py3-none-any.whl (53kB) 100% |################################| 61kB 1.8MB/s Collecting futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" (from s3transfer<0.2.0,>=0.1.9->awscli) Downloading futures-3.1.1-py2-none-any.whl Collecting python-dateutil<3.0.0,>=2.1 (from botocore==1.5.39->awscli) Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB) 100% |################################| 194kB 1.2MB/s Collecting jmespath<1.0.0,>=0.7.1 (from botocore==1.5.39->awscli) Downloading jmespath-0.9.2-py2.py3-none-any.whl Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1->botocore==1.5.39->awscli) Downloading six-1.10.0-py2.py3-none-any.whl Installing collected packages: colorama, docutils, PyYAML, pyasn1, rsa, futures, six, python-dateutil, jmespath, botocore, s3transfer, awscli Successfully installed PyYAML-3.12 awscli-1.11.76 botocore-1.5.39 colorama-0.3.7 docutils-0.13.1 futures-3.1.1 jmespath-0.9.2 pyasn1-0.2.3 python-dateutil-2.6.0 rsa-3.4.2 s3transfer-0.1.10 six-1.10.0 C:\Python27\Scripts>pip install aws configure Collecting aws Downloading aws-0.2.5.tar.gz Collecting configure Downloading configure-0.5.tar.gz Collecting boto (from aws) Downloading boto-2.46.1-py2.py3-none-any.whl (1.4MB) 100% |################################| 1.4MB 605kB/s Collecting fabric>=1.6 (from aws) Downloading Fabric-1.13.1-py2-none-any.whl (92kB) 100% |################################| 102kB 1.2MB/s Collecting prettytable>=0.7 (from aws) Downloading prettytable-0.7.2.zip Requirement already satisfied: pyyaml in c:\python27\lib\site-packages (from configure) Collecting paramiko<3.0,>=1.10 (from fabric>=1.6->aws) Downloading paramiko-2.1.2-py2.py3-none-any.whl (172kB) 100% |################################| 174kB 1.0MB/s Collecting cryptography>=1.1 (from paramiko<3.0,>=1.10->fabric>=1.6->aws) Downloading cryptography-1.8.1-cp27-cp27m-win32.whl (1.1MB) 100% |################################| 1.1MB 882kB/s Requirement already satisfied: pyasn1>=0.1.7 in c:\python27\lib\site-packages (from paramiko<3.0,>=1.10->fabric>=1.6->aws) Requirement already satisfied: six>=1.4.1 in c:\python27\lib\site-packages (from cryptography>=1.1->paramiko<3.0,>=1.10->fabric>=1.6->aws) Collecting ipaddress (from cryptography>=1.1->paramiko<3.0,>=1.10->fabric>=1.6->aws) Downloading ipaddress-1.0.18-py2-none-any.whl Collecting asn1crypto>=0.21.0 (from cryptography>=1.1->paramiko<3.0,>=1.10->fabric>=1.6->aws) Downloading asn1crypto-0.22.0-py2.py3-none-any.whl (97kB) 100% |################################| 102kB 3.2MB/s Collecting packaging (from cryptography>=1.1->paramiko<3.0,>=1.10->fabric>=1.6->aws) Downloading packaging-16.8-py2.py3-none-any.whl Collecting enum34 (from cryptography>=1.1->paramiko<3.0,>=1.10->fabric>=1.6->aws) Downloading enum34-1.1.6-py2-none-any.whl Requirement already satisfied: setuptools>=11.3 in c:\python27\lib\site-packages (from cryptography>=1.1->paramiko<3.0,>=1.10->fabric>=1.6->aws) Collecting idna>=2.1 (from cryptography>=1.1->paramiko<3.0,>=1.10->fabric>=1.6->aws) Downloading idna-2.5-py2.py3-none-any.whl (55kB) 100% |################################| 61kB 3.8MB/s Collecting cffi>=1.4.1 (from cryptography>=1.1->paramiko<3.0,>=1.10->fabric>=1.6->aws) Downloading cffi-1.10.0-cp27-cp27m-win32.whl (147kB) 100% |################################| 153kB 3.2MB/s Collecting pyparsing (from packaging->cryptography>=1.1->paramiko<3.0,>=1.10->fabric>=1.6->aws) Downloading pyparsing-2.2.0-py2.py3-none-any.whl (56kB) 100% |################################| 61kB 4.1MB/s Collecting pycparser (from cffi>=1.4.1->cryptography>=1.1->paramiko<3.0,>=1.10->fabric>=1.6->aws) Downloading pycparser-2.17.tar.gz (231kB) 100% |################################| 235kB 1.5MB/s Installing collected packages: boto, ipaddress, asn1crypto, pyparsing, packaging, enum34, idna, pycparser, cffi, cryptography, paramiko, fabric, prettytable, aws, configure Running setup.py install for pycparser ... done Running setup.py install for prettytable ... done Running setup.py install for aws ... done Running setup.py install for configure ... done Successfully installed asn1crypto-0.22.0 aws-0.2.5 boto-2.46.1 cffi-1.10.0 configure-0.5 cryptography-1.8.1 enum34-1.1.6 fabric-1.13.1 idna-2.5 ipaddress-1.0.18 packaging-16.8 paramiko-2.1.2 prettytable-0.7.2 pycparser-2.17 pyparsing-2.2.0 The script runs through but no prompts to input anything. RE: Amazon Echo skill for Kodi - wellsecond - 2017-04-17 The command is not pip install aws configure but aws configure. RE: Amazon Echo skill for Kodi - wilhelmus - 2017-04-17 (2017-04-17, 10:00)wellsecond Wrote: The command is not pip install aws configure but aws configure. On aws configure I Get: C:\Python27\Scripts>aws configure usage: aws [-h] [-v] {as,ec2,elb} ... aws: error: invalid choice: 'configure' (choose from 'as', 'ec2', 'elb') C:\Python27\Scripts> RE: Amazon Echo skill for Kodi - wellsecond - 2017-04-17 It's probably because you installed the wrong package. Try pip uninstall aws and aws configure after that. RE: Amazon Echo skill for Kodi - wilhelmus - 2017-04-17 (2017-04-17, 10:28)wellsecond Wrote: It's probably because you installed the wrong package. I started over and got it working now. Thanks! RE: Amazon Echo skill for Kodi - jingai - 2017-04-17 (2017-04-15, 17:09)bill_orange Wrote: I have also gotten a few "there is a problem with your skills request" errors in attempting to run addons. Here's a log results: You're positive you got this result while trying to run an addon? It's in the wrong intent handler entirely. RE: Amazon Echo skill for Kodi - bill_orange - 2017-04-17 Yup, positive. I went back and checked the app log. |