Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You’ve found a bug! #387

Open
sCrewLoU opened this issue Feb 20, 2023 · 0 comments
Open

You’ve found a bug! #387

sCrewLoU opened this issue Feb 20, 2023 · 0 comments

Comments

@sCrewLoU
Copy link

You've found a bug! Please, raise an issue attaching the following traceback
https://github.com/jorgebastida/awslogs/issues/new

Version: 0.14.0
Python: 3.11.1 (main, Dec 23 2022, 09:40:27) [Clang 14.0.0 (clang-1400.0.29.202)]
boto3 version: 1.26.4
Platform: macOS-12.6.3-x86_64-i386-64bit
Args: ['/usr/local/bin/awslogs']
Config: {'aws_access_key_id': 'SENSITIVE', 'aws_secret_access_key': 'SENSITIVE', 'aws_session_token': 'SENSITIVE', 'aws_profile': 'SENSITIVE'}

Traceback (most recent call last):
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/awslogs/bin.py", line 175, in main
logs = AWSLogs(**vars(options))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/awslogs/core.py", line 89, in init
self.client = boto3_client(
^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/awslogs/core.py", line 44, in boto3_client
return session.client(
^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/boto3/session.py", line 299, in client
return self._session.create_client(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/botocore/session.py", line 976, in create_client
client = client_creator.create_client(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/botocore/client.py", line 140, in create_client
client_args = self._get_client_args(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/botocore/client.py", line 450, in _get_client_args
return args_creator.get_client_args(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/botocore/args.py", line 92, in get_client_args
final_args = self.compute_client_args(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/botocore/args.py", line 205, in compute_client_args
endpoint_config = self._compute_endpoint_config(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/botocore/args.py", line 313, in _compute_endpoint_config
return self._resolve_endpoint(**resolve_endpoint_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/botocore/args.py", line 418, in _resolve_endpoint
return endpoint_bridge.resolve(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/botocore/client.py", line 553, in resolve
resolved = self.endpoint_resolver.construct_endpoint(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/botocore/regions.py", line 229, in construct_endpoint
result = self._endpoint_for_partition(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/Cellar/awslogs/0.14.0_3/libexec/lib/python3.11/site-packages/botocore/regions.py", line 277, in _endpoint_for_partition
raise NoRegionError()
botocore.exceptions.NoRegionError: You must specify a region.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant