2016-11-19, 06:52
Been trying to get this working for a few days now but I keep getting errors after errors LOL, If you guys could help me that would be great. i'm continuously getting this error
C:\Users\Kevin\Downloads\kodi-alexa-master>C:\Python27\Scripts\lambda-deploy.exe deploy
2016-11-18 20:43:15:INFO:botocore.credentials: Found credentials in environment variables.
2016-11-18 20:43:15:INFO:lambda_deploy: Packaging lambda kodi-alexa-master
2016-11-18 20:43:15: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-18 20:43:15:WARNING:lambda_deploy: Skipping inclusion of of .env file - use LAMBDA_ENV_VARS instead (see documentation for more information)
Collecting requests (from -r C:\Users\Kevin\Downloads\kodi-alexa-master\requirements.txt (line 1))
Using cached requests-2.12.1-py2.py3-none-any.whl
Collecting gunicorn (from -r C:\Users\Kevin\Downloads\kodi-alexa-master\requirements.txt (line 2))
Using cached gunicorn-19.6.0-py2.py3-none-any.whl
Collecting yaep (from -r C:\Users\Kevin\Downloads\kodi-alexa-master\requirements.txt (line 3))
Using cached yaep-0.0.6-py2-none-any.whl
Collecting pycountry (from -r C:\Users\Kevin\Downloads\kodi-alexa-master\requirements.txt (line 4))
Using cached pycountry-16.11.8.tar.gz
Collecting fuzzywuzzy (from -r C:\Users\Kevin\Downloads\kodi-alexa-master\requirements.txt (line 5))
Using cached fuzzywuzzy-0.14.0-py2.py3-none-any.whl
Installing collected packages: requests, gunicorn, yaep, pycountry, fuzzywuzzy
Running setup.py install for pycountry ... done
Successfully installed fuzzywuzzy gunicorn pycountry 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
Adding new kodi-alexa-master lambda
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 <module>
File "c:\python27\lib\site-packages\lambda_deploy\lambda_deploy.py", line 376, in main
method()
File "c:\python27\lib\site-packages\lambda_deploy\lambda_deploy.py", line 215, in deploy
Publish=True
File "c:\python27\lib\site-packages\botocore\client.py", line 251, in _api_call
return self._make_api_call(operation_name, kwargs)
File "c:\python27\lib\site-packages\botocore\client.py", line 537, in _make_api_call
raise ClientError(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: The role defined for the function cannot be assumed by Lambda.
Thanks!
C:\Users\Kevin\Downloads\kodi-alexa-master>C:\Python27\Scripts\lambda-deploy.exe deploy
2016-11-18 20:43:15:INFO:botocore.credentials: Found credentials in environment variables.
2016-11-18 20:43:15:INFO:lambda_deploy: Packaging lambda kodi-alexa-master
2016-11-18 20:43:15: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-18 20:43:15:WARNING:lambda_deploy: Skipping inclusion of of .env file - use LAMBDA_ENV_VARS instead (see documentation for more information)
Collecting requests (from -r C:\Users\Kevin\Downloads\kodi-alexa-master\requirements.txt (line 1))
Using cached requests-2.12.1-py2.py3-none-any.whl
Collecting gunicorn (from -r C:\Users\Kevin\Downloads\kodi-alexa-master\requirements.txt (line 2))
Using cached gunicorn-19.6.0-py2.py3-none-any.whl
Collecting yaep (from -r C:\Users\Kevin\Downloads\kodi-alexa-master\requirements.txt (line 3))
Using cached yaep-0.0.6-py2-none-any.whl
Collecting pycountry (from -r C:\Users\Kevin\Downloads\kodi-alexa-master\requirements.txt (line 4))
Using cached pycountry-16.11.8.tar.gz
Collecting fuzzywuzzy (from -r C:\Users\Kevin\Downloads\kodi-alexa-master\requirements.txt (line 5))
Using cached fuzzywuzzy-0.14.0-py2.py3-none-any.whl
Installing collected packages: requests, gunicorn, yaep, pycountry, fuzzywuzzy
Running setup.py install for pycountry ... done
Successfully installed fuzzywuzzy gunicorn pycountry 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
Adding new kodi-alexa-master lambda
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 <module>
File "c:\python27\lib\site-packages\lambda_deploy\lambda_deploy.py", line 376, in main
method()
File "c:\python27\lib\site-packages\lambda_deploy\lambda_deploy.py", line 215, in deploy
Publish=True
File "c:\python27\lib\site-packages\botocore\client.py", line 251, in _api_call
return self._make_api_call(operation_name, kwargs)
File "c:\python27\lib\site-packages\botocore\client.py", line 537, in _make_api_call
raise ClientError(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: The role defined for the function cannot be assumed by Lambda.
Thanks!