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

RuntimeError in describe_analysis_definition method #4012

Closed
LauraBoscoEvalua opened this issue Feb 7, 2024 · 1 comment
Closed

RuntimeError in describe_analysis_definition method #4012

LauraBoscoEvalua opened this issue Feb 7, 2024 · 1 comment
Labels
bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged.

Comments

@LauraBoscoEvalua
Copy link

LauraBoscoEvalua commented Feb 7, 2024

Describe the bug

Method describe_analysis_definition of boto3 quicksight client throws RuntimeError

Expected Behavior

Get definition of the analysis

Current Behavior

Throws error:

Traceback (most recent call last):
  File "C:\Users\user\Projects\myProject\src\test.py", line 6, in <module>
    quicksight_client = QuicksightManager.describe_analysis_definition('fbf01164-1e2d-4b12-8216-c67532bae815')
  File "C:\Users\user\Projects\myProject\src\lib\quicksight_manager.py", line 164, in describe_analysis_definition
    return quicksight_client.describe_analysis_definition(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\client.py", line 553, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\client.py", line 989, in _make_api_call
    http, parsed_response = self._make_request(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\client.py", line 1015, in _make_request
    return self._endpoint.make_request(operation_model, request_dict)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\endpoint.py", line 119, in make_request
    return self._send_request(request_dict, operation_model)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\endpoint.py", line 199, in _send_request
    success_response, exception = self._get_response(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\endpoint.py", line 241, in _get_response
    success_response, exception = self._do_get_response(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\endpoint.py", line 308, in _do_get_response
    parsed_response = parser.parse(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 252, in parse
    parsed = self._do_parse(response, shape)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 894, in _do_parse
    self._add_modeled_parse(response, shape, final_parsed)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 904, in _add_modeled_parse
    self._parse_payload(response, shape, member_shapes, final_parsed)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 946, in _parse_payload
    body_parsed = self._parse_shape(shape, original_parsed)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 332, in _parse_shape
    return handler(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 665, in _handle_structure
    final_parsed[member_name] = self._parse_shape(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 332, in _parse_shape
    return handler(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 665, in _handle_structure
    final_parsed[member_name] = self._parse_shape(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 332, in _parse_shape
    return handler(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 1005, in _handle_list
    return super()._handle_list(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 340, in _handle_list
    parsed.append(self._parse_shape(member_shape, item))
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 332, in _parse_shape
    return handler(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 665, in _handle_structure
    final_parsed[member_name] = self._parse_shape(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 332, in _parse_shape
    return handler(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 1005, in _handle_list
    return super()._handle_list(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 340, in _handle_list
    parsed.append(self._parse_shape(member_shape, item))
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 332, in _parse_shape
    return handler(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 665, in _handle_structure
    final_parsed[member_name] = self._parse_shape(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 332, in _parse_shape
    return handler(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 665, in _handle_structure
    final_parsed[member_name] = self._parse_shape(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 332, in _parse_shape
    return handler(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 665, in _handle_structure
    final_parsed[member_name] = self._parse_shape(
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 332, in _parse_shape
    return handler(shape, node)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\parsers.py", line 684, in _handle_timestamp
    return self._timestamp_parser(value)
  File "C:\Users\user\AppData\Local\Programs\Python\Python312\Lib\site-packages\botocore\utils.py", line 1000, in parse_timestamp
    raise RuntimeError(
RuntimeError: Unable to calculate correct timezone offset for "-2208988800.0"

Reproduction Steps

import boto3

quicksight_client = boto3.client("quicksight", region_name='region_name')
quicksight_client.describe_analysis_definition(
    AwsAccountId='account_id',
    AnalysisId='analysis_id'
)

Possible Solution

No response

Additional Information/Context

It fails just with specific analysis. I don't know what's the difference between the ones that fail and the ones that don't.

SDK version used

1.34.36

Environment details (OS name and version, etc.)

Windows 11, version 22H2

@LauraBoscoEvalua LauraBoscoEvalua added bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged. labels Feb 7, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a confirmed bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant