2016-11-28, 22:00
Here's a new one:
Quote:alexa ask living room
Please try again, with the device name and setting.
Quote:alexa ask living room
Please try again, with the device name and setting.
(2016-11-28, 22:43)jingai Wrote: @Predator004, make sure you're using Python 2.7. Python 3 does not work with lambda-deploy. Not sure if this is your problem, as I'm busy with other things at the moment, so just taking a stab in the dark to give you something to look at.
@russco, I'd need to see your skill's server logs to see if it's even reaching the skill. It doesn't sound like it is.
(2016-11-28, 22:45)Predator004 Wrote:(2016-11-28, 22:43)jingai Wrote: @Predator004, make sure you're using Python 2.7. Python 3 does not work with lambda-deploy. Not sure if this is your problem, as I'm busy with other things at the moment, so just taking a stab in the dark to give you something to look at.
@russco, I'd need to see your skill's server logs to see if it's even reaching the skill. It doesn't sound like it is.
I am using 2.7 thanks!
(2016-11-28, 22:43)jingai Wrote: @Predator004, make sure you're using Python 2.7. Python 3 does not work with lambda-deploy. Not sure if this is your problem, as I'm busy with other things at the moment, so just taking a stab in the dark to give you something to look at. edit: more specifically, make sure that if you have both 2.7 and 3.x installed, that Python 2.7 is being used for this.
@russco, I'd need to see your skill's server logs to see if it's even reaching the skill. It doesn't sound like it is.
(2016-11-28, 22:58)russco Wrote:(2016-11-28, 22:43)jingai Wrote: @Predator004, make sure you're using Python 2.7. Python 3 does not work with lambda-deploy. Not sure if this is your problem, as I'm busy with other things at the moment, so just taking a stab in the dark to give you something to look at. edit: more specifically, make sure that if you have both 2.7 and 3.x installed, that Python 2.7 is being used for this.
@russco, I'd need to see your skill's server logs to see if it's even reaching the skill. It doesn't sound like it is.
Sure thing, where do I find the server logs? I'm using AWS.
Also, I tried restarting the Echo, no luck.
20:49:18
/var/task/fuzzywuzzy/fuzz.py:35: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
20:49:18
warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
20:49:18
START RequestId: 207cf047-b5ac-11e6-8f5e-1f6126822761 Version: $LATEST
20:49:18
lambda_handler: applicationId=amzn1.ask.skill.7db858d4-0fd5-46d6-95a8-1d4528123cee
20:49:18
on_session_started: requestId=EdwRequestId.4001528f-ca29-4fc0-9175-813a4e1d0ca9, sessionId=SessionId.e6570976-6504-4f95-ad86-41358864a7c6
20:49:18
on_intent: requestId=EdwRequestId.4001528f-ca29-4fc0-9175-813a4e1d0ca9, sessionId=SessionId.e6570976-6504-4f95-ad86-41358864a7c6
20:49:18
Requested intent: PlayRandomMovie
20:49:18
Playing a random movie
20:49:18
Sending request to http://scrubbed/jsonrpc
20:49:21
Sending request to http://scrubbed/jsonrpc
20:49:21
END RequestId: 207cf047-b5ac-11e6-8f5e-1f6126822761
20:49:21
REPORT RequestId: 207cf047-b5ac-11e6-8f5e-1f6126822761 Duration: 3703.06 ms Billed Duration: 3800 ms Memory Size: 128 MB Max Memory Used: 45 MB
No newer events found at the moment. Retry.
C:\kodi-alexa-master>C:\Python27\Scripts\lambda-deploy.exe deploy
2016-11-28 21:39:27:INFO:botocore.credentials: Found credentials in environment variables.
2016-11-28 21:39:27:INFO:lambda_deploy: Packaging lambda kodi-alexa-master
2016-11-28 21:39:27:WARNING:lambda_deploy: A .env file exists in your Lambda directory - be careful that it does not contain any secrets you don't want uploaded to AWS!
2016-11-28 21:39:27:WARNING:lambda_deploy: Skipping inclusion of of .env file - use LAMBDA_ENV_VARS instead (see documentation for more information)
Collecting requests (from -r C:\kodi-alexa-master\requirements.txt (line 1))
Using cached requests-2.12.1-py2.py3-none-any.whl
Collecting gunicorn (from -r C:\kodi-alexa-master\requirements.txt (line 2))
Using cached gunicorn-19.6.0-py2.py3-none-any.whl
Collecting yaep (from -r C:\kodi-alexa-master\requirements.txt (line 3))
Using cached yaep-0.0.6-py2-none-any.whl
Collecting pycountry (from -r C:\kodi-alexa-master\requirements.txt (line 4))
Using cached pycountry-16.11.27.1.tar.gz
Collecting pytz (from -r C:\kodi-alexa-master\requirements.txt (line 5))
Using cached pytz-2016.7-py2.py3-none-any.whl
Collecting fuzzywuzzy (from -r C:\kodi-alexa-master\requirements.txt (line 6))
Using cached fuzzywuzzy-0.14.0-py2.py3-none-any.whl
Installing collected packages: requests, gunicorn, yaep, pycountry, pytz, fuzzywuzzy
Running setup.py install for pycountry ... done
Successfully installed fuzzywuzzy gunicorn pycountry pytz requests-2.12.1 yaep-0.0.6
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command.
Starting new HTTPS connection (1): lambda.us-east-1.amazonaws.com
Updating kodi-alexa-master lambda
Successfully deployed kodi-alexa-master version 2
(2016-11-29, 00:22)russco Wrote: Can it be anything to do with me using us-east-1 when I'm not in the US? I'm in Norway, I can't imagine that matters, but it's worth asking.
(2016-11-29, 00:22)russco Wrote: I tried changing to eu-west-1 but that just returns a remote endpoint error when I try to test it out.
(2016-11-29, 00:39)jingai Wrote:(2016-11-29, 00:22)russco Wrote: Can it be anything to do with me using us-east-1 when I'm not in the US? I'm in Norway, I can't imagine that matters, but it's worth asking.
It's possible, but I don't know definitively. I don't think so, but I do know the region in your .env file needs to match what you set in the AWS console.
(2016-11-29, 00:22)russco Wrote: I tried changing to eu-west-1 but that just returns a remote endpoint error when I try to test it out.
Have you read the README included with the skill? This part and this part in particular?
You need to change the region in both places (and re-deploy whenever you change the .env file).