2017-03-02, 07:37
Hi,
i want to test the Kodi skill, and every think looks fine to the Point i deploy the skill with:
at this time i became this error message:
I don't know what i make wrong, at the lambda.env i have this configuration:
I use eu-west-1 because i'm from german
Thank you for your help
i want to test the Kodi skill, and every think looks fine to the Point i deploy the skill with:
Code:
C:\Python27\Scripts\lambda-deploy.exe deploy
at this time i became this error message:
Code:
F:\ServerFolders\Anwendungen\Kodi_Alexa>C:\Python27\Scripts\lambda-deploy.exe deploy
2017-02-26 13:58:41:INFO:botocore.vendored.requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 143.254.143.232
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 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.
I don't know what i make wrong, at the lambda.env i have this configuration:
Code:
# The Kodi webserver only supports HTTP.
# Uncomment KODI_SCHEME to tell the skill to use https between AWS and your local network
# (only use if you have already set this up with your own certificates)
#
# KODI_SCHEME = https
# If using a reverse proxy you might need to add an extra bit to the url before "jsonrpc"
# You can do this with KODI_SUBPATH (don't use slashes before or after)
#
# KODI_SUBPATH =
KODI_ADDRESS =fggfgfeu.sefgst.eu
KODI_PORT = 8689
KODI_USERNAME = Fhem
KODI_PASSWORD = xxx
SKILL_APPID =
# Your local time zone for responses that include absolute times.
# See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
#
# For example, if you are in the Eastern US time zone, you would use:
# SKILL_TZ = US/Eastern
#
# Leave empty or undefined (commented out) if you don't need or want absolute
# time responses. An example is asking when the currently playing item will
# end. If you have SKILL_TZ defined, it will also tell you the wall-clock
# time when the item will conclude.
SKILL_TZ =
LAMBDA_ENV_VARS = KODI_PASSWORD,KODI_USERNAME,KODI_PORT,KODI_ADDRESS
AWS_DEFAULT_REGION = eu-west-1
LAMBDA_TIMEOUT = 60
LAMBDA_MEMORY_SIZE = 128
LAMBDA_HANDLER = wsgi.lambda_handler
AWS_ACCESS_KEY_ID = AKIAI3LHGRDFDSX5DDHJB
AWS_SECRET_ACCESS_KEY = U75x9StlZNsW3Td15OO4wQCeO3id8uyiZo7ql7h1
LAMBDA_ROLE = arn:aws:iam::250054881122:role/Kodi
I use eu-west-1 because i'm from german
Thank you for your help