You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Temos um erro na formatação de data quando usamos python 3.6
ValueError: time data '2021-04-30T01:15:47Z' does not match format '%Y-%m-%dT%H:%M:%S%z'4:12`Traceback (most recent call last): File "/usr/local/bin/aws-sso-cred-restore", line 33, in <module> sys.exit(load_entry_point('aws-sso-cred-restore==1.1.0', 'console_scripts', 'aws-sso-cred-restore')()) File "/usr/local/lib/python3.6/dist-packages/awsssocredrestore/__init__.py", line 181, in main process_profile(profile, args.export) File "/usr/local/lib/python3.6/dist-packages/awsssocredrestore/__init__.py", line 154, in process_profile sso_access_token = retrieve_token(sso_start_url, sso_region, profile) File "/usr/local/lib/python3.6/dist-packages/awsssocredrestore/__init__.py", line 114, in retrieve_token token = retrieve_token_from_file(cachefile, sso_start_url, sso_region) File "/usr/local/lib/python3.6/dist-packages/awsssocredrestore/__init__.py", line 99, in retrieve_token_from_file expires_at.replace("UTC", "+0000"), "%Y-%m-%dT%H:%M:%S%z") File "/usr/lib/python3.6/_strptime.py", line 565, in _strptime_datetime tt, fraction = _strptime(data_string, format) File "/usr/lib/python3.6/_strptime.py", line 362, in _strptime (data_string, format))`
Seria necessário ou atualizar para 3.7 ou resolver esse problema de formatação que ocorre com o formato do fuso que alega que está incorreto.
The text was updated successfully, but these errors were encountered:
Temos um erro na formatação de data quando usamos python 3.6
Seria necessário ou atualizar para 3.7 ou resolver esse problema de formatação que ocorre com o formato do fuso que alega que está incorreto.
The text was updated successfully, but these errors were encountered: