gimme-aws-creds icon indicating copy to clipboard operation
gimme-aws-creds copied to clipboard

KeyError: "name='sid', domain=None, path=None"

Open briandaltilio opened this issue 3 years ago • 11 comments

New installation of gimme-aws-creds v2.4.0 on Windows 10. Python version 3.10.0. After entering Okta credentials, a bunch of errors are displayed ending with KeyError: "name='sid', domain=None, path=None".

Anonymized output and config file attached. okta_aws_login_config.txt error-output.txt

briandaltilio avatar Nov 03 '21 14:11 briandaltilio

it is a known error in gimme-aws-creds v 2.4.0 you must upgrade to gimme-aws-creds 2.4.3

so you will try to run something like pip install --upgrade gimme-aws-creds and you will see that gimme-aws-creds --version yields 2.4.0 and you failed to upgrade

then you may try to run pip install --upgrade gimme-aws-creds==2.4.3

and you will get an error message like ERROR: No matching distribution found for winrt>=1.0.20330.1; platform_system == "Windows" and python_version >= "3.7"

and you will scratch your head because 3.10 > 3.7 but then your head will hurt because "3.10" < "3.7" and then if youre like me you will install python 3.9 and then you will get around this.

anyways this was my afternoon today

PeteW avatar Dec 10 '21 22:12 PeteW

It has nothing to do with string comparisons in requirements (that issue was fixed in pip back in 2019). The reason is that there's no winrt release for 3.10, see https://github.com/microsoft/xlang/issues/763

rsichnyi avatar Jan 06 '22 11:01 rsichnyi

Any idea how we can work around this? Is it just to downgrade your python version from 3.10 to 3.9?

burrand avatar Jan 21 '22 17:01 burrand

yes, you can only install it on python 3.9 (or lower) until winrt is upgraded to 3.10

rsichnyi avatar Jan 22 '22 07:01 rsichnyi

Thank you for your reply, that worked for me.

burrand avatar Jan 24 '22 13:01 burrand

Any idea how we can work around this? Is it just to downgrade your python version from 3.10 to 3.9?

https://www.python.org/downloads/release/python-3912/

Loukili-Rachid avatar Jun 10 '22 15:06 Loukili-Rachid

I already downgrade my python to 3.9 and even with that change I have the same issue. Any help of what I can do?

jmoraRMS avatar Jul 15 '22 15:07 jmoraRMS

Having same issues with python 3.10 running on Macos. gimme-aws-creds version = 2.4.4

ngalaby-jhb avatar Aug 09 '22 15:08 ngalaby-jhb

I have python 3.9.13 and gimme creds 2.4.4 , when I use the command "gimme-aws-creds" I see my terminal is hanging at "Using password from keyring" and does not respond. Can anyone help me on how to resolve this please?

santoshgonela avatar Sep 14 '22 19:09 santoshgonela

Team, per https://github.com/microsoft/xlang/issues/763 are there plans to replace winrt with https://pypi.org/project/winsdk/ in gimme-aws-creds in the near future?

Kyle-Payne avatar Jan 03 '23 17:01 Kyle-Payne

Finally, Install gimme creds without any error on my system. Here are the steps , ==> Install 2.3.1 #pip install gimme-aws-creds==2.3.1 ==> Upgrade to 2.4.3 #pip install --upgrade gimme-aws-creds==2.4.3

It worked for me !!!.

kishorer00 avatar Mar 21 '23 08:03 kishorer00