# Release - Amazon Echo skill for Kodi

• 7 Vote(s) - 5 Average
• 1
• 2
• 3
• 4
• 5
 Junior Member Posts: 9 Joined: Aug 2015 Reputation: 0 2017-03-20 13:29 Post: #1203 Hi All, I'm following the guide here https://www.howtogeek.com/249336/how-to-...azon-echo/ but have hit a roadblock. I'm up to the bit where I have to publish the code to AWS but, after running lambda-deploy.exe deploy (from within the kodi-alexa-master folder in an elevated command prompt) I get the following error: C:\Python27\Scripts\lambda-deploy.exe deploy 2017-03-20 11:18:15:INFO:botocore.vendored.requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 169.254.169.254 Traceback (most recent call last): File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main "__main__", fname, loader, pkg_name) File "c:\python27\lib\runpy.py", line 72, in _run_code exec code in run_globals File "C:\Python27\Scripts\lambda-deploy.exe\__main__.py", line 9, in File "c:\python27\lib\site-packages\lambda_deploy\lambda_deploy.py", line 360, in main name=options.name File "c:\python27\lib\site-packages\lambda_deploy\lambda_deploy.py", line 75, in __init__ self.client = boto3.client('lambda') File "c:\python27\lib\site-packages\boto3\__init__.py", line 83, in client return _get_default_session().client(*args, **kwargs) File "c:\python27\lib\site-packages\boto3\session.py", line 263, in client aws_session_token=aws_session_token, config=config) File "c:\python27\lib\site-packages\botocore\session.py", line 836, in create_client client_config=config, api_version=api_version) File "c:\python27\lib\site-packages\botocore\client.py", line 70, in create_client verify, credentials, scoped_config, client_config, endpoint_bridge) File "c:\python27\lib\site-packages\botocore\client.py", line 224, in _get_client_args verify, credentials, scoped_config, client_config, endpoint_bridge) File "c:\python27\lib\site-packages\botocore\args.py", line 45, in get_client_args endpoint_url, is_secure, scoped_config) File "c:\python27\lib\site-packages\botocore\args.py", line 103, in compute_client_args service_name, region_name, endpoint_url, is_secure) File "c:\python27\lib\site-packages\botocore\client.py", line 297, in resolve service_name, region_name) File "c:\python27\lib\site-packages\botocore\regions.py", line 122, in construct_endpoint partition, service_name, region_name) File "c:\python27\lib\site-packages\botocore\regions.py", line 135, in _endpoint_for_partition raise NoRegionError() botocore.exceptions.NoRegionError: You must specify a region. What am I missing here? I can confirm my AWS default location is us-east-1 (North Virginia). I've set up all my environment variables/users/roles etc. One thing I cannot find clarity on (because the instructions are not clear/detailed enough) is the use of the env.lambda file. Do I leave it with this naming convention, or rename it to lambda.env? I cannot rename it to just .env because windows won't let me; but nowhere does it tell you which is which and how to do it properly. If anyone could please clarify what I have to do next it would be very much appreciated. Regards Mal. find
 Senior Member Posts: 184 Joined: Dec 2011 Reputation: 1 2017-03-20 13:59 Post: #1204 (2017-03-20 10:39)sanjonny Wrote:   (2017-03-20 01:14)kadeschs Wrote:   (2017-03-20 00:41)jingai Wrote:  "Alexa, ask Kodi to watch/play movie Ghostbusters" "Alexa, ask Kodi to watch/play Season 1 Episode 5 of Firefly" "Alexa, ask Kodi to watch/play the next episode of Quantum Leap" "Alexa, ask Kodi to watch/play a random episode of How It's Made" Okay, using the verb, ask, instead of, tell, seems to work much better. Thanks! On a separate note, the slot generator at https://slot-generator.herokuapp.com/ can grab pieces of HTML code (such as bold, color) from KODI along with the addon titles which will cause the Amazon webpage to not save the slots properly. It's definitely a good idea to back through the titles and make sure they are all clean Watch works way better for me than play. Play often tries to play music files or errors. Watch is much more consistent. Also when Amazon errors due to the slot script, it won't work, you have to start over, it will have errors saving, go back a few pages and I describe it better. Makes sense. I'll try to use "watch" more. Haven't had too much trouble with "play", but I also don't have any music in KODI. find
 Skilled Skinner Posts: 2,010 Joined: Mar 2010 Reputation: 35 2017-03-20 20:18 Post: #1208 (2017-03-20 20:03)Malachor Wrote:  C:\Users\avata\Desktop\kodi-alexa-master\kodi-alexa>C:\Python27\scripts\lambda-deploy.exe deploy deploy-to-lambda.py This is not right. If something doesn't work somewhere along the way, you should stop there and search this thread for help. Post if you can't find anything. But, guessing will just get you into trouble. I don't mean to sound upset or anything -- it's just that people come in here a lot asking for help fixing something they broke by trying to guess their way around an issue they encountered. It's often nearly impossible to answer with anything but, "well, go RTFM again." Or.. an awful lot of time-consuming back-and-forth. The correct incantation would be: Code: C:\Users\avata\Desktop\kodi-alexa-master\kodi-alexa>C:\Python27\scripts\lambda-deploy.exe deploy The first command you tried from the README should have worked too, but it couldn't find lambda-deploy.exe in your path. I'm not a Windows guy though, so I don't really know what to say about that. Running lambda-deploy.exe directly will also work, it will just upload more than it needs to (not a huge deal). find