Skip to content

Instantly share code, notes, and snippets.

@trondhindenes
Created April 22, 2018 20:43
Show Gist options
  • Save trondhindenes/4284713289588e4898b6ea27cbb716b1 to your computer and use it in GitHub Desktop.
Save trondhindenes/4284713289588e4898b6ea27cbb716b1 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/home/trond/apps/pycharm-community-2018.1.1/helpers/pydev/pydevd.py", line 1664, in <module>
main()
File "/home/trond/apps/pycharm-community-2018.1.1/helpers/pydev/pydevd.py", line 1658, in main
globals = debugger.run(setup['file'], None, None, is_module)
File "/home/trond/apps/pycharm-community-2018.1.1/helpers/pydev/pydevd.py", line 1068, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/home/trond/apps/pycharm-community-2018.1.1/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/trond/Documents/projects-rikstv/SRE/RiksTV.Utils.ServiceOwnership/runserver.py", line 1, in <module>
from ServiceOwnership import app, ch
File "/home/trond/Documents/projects-rikstv/SRE/RiksTV.Utils.ServiceOwnership/ServiceOwnership/__init__.py", line 48, in <module>
table_name_template=table_name_prefix)
File "/usr/local/lib/python3.6/dist-packages/bloop/engine.py", line 129, in __init__
self.session = SessionWrapper(dynamodb=dynamodb, dynamodbstreams=dynamodbstreams)
File "/usr/local/lib/python3.6/dist-packages/bloop/session.py", line 47, in __init__
dynamodbstreams = dynamodbstreams or boto3.client("dynamodbstreams")
File "/usr/local/lib/python3.6/dist-packages/boto3/__init__.py", line 83, in client
return _get_default_session().client(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/boto3/session.py", line 263, in client
aws_session_token=aws_session_token, config=config)
File "/usr/local/lib/python3.6/dist-packages/botocore/session.py", line 861, in create_client
client_config=config, api_version=api_version)
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 76, in create_client
verify, credentials, scoped_config, client_config, endpoint_bridge)
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 285, in _get_client_args
verify, credentials, scoped_config, client_config, endpoint_bridge)
File "/usr/local/lib/python3.6/dist-packages/botocore/args.py", line 45, in get_client_args
endpoint_url, is_secure, scoped_config)
File "/usr/local/lib/python3.6/dist-packages/botocore/args.py", line 111, in compute_client_args
service_name, region_name, endpoint_url, is_secure)
File "/usr/local/lib/python3.6/dist-packages/botocore/client.py", line 358, in resolve
service_name, region_name)
File "/usr/local/lib/python3.6/dist-packages/botocore/regions.py", line 122, in construct_endpoint
partition, service_name, region_name)
File "/usr/local/lib/python3.6/dist-packages/botocore/regions.py", line 135, in _endpoint_for_partition
raise NoRegionError()
botocore.exceptions.NoRegionError: You must specify a region.
Process finished with exit co
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment