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

Error while executing gimme-aws-creds #93

Closed
geetchoubey opened this issue Oct 25, 2018 · 3 comments
Closed

Error while executing gimme-aws-creds #93

geetchoubey opened this issue Oct 25, 2018 · 3 comments
Assignees
Labels

Comments

@geetchoubey
Copy link

I am using Ubuntu 16.04 with Python3.
After running gimme-aws-creds , I am prompted for password and after which the verification code is sent to my number but right after that I am getting the following issue.
What could be the problem behind this?

Traceback (most recent call last):
  File "/usr/local/bin/gimme-aws-creds", line 4, in <module>
    __import__('pkg_resources').run_script('gimme-aws-creds==1.1.1', 'gimme-aws-creds')
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 719, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1511, in run_script
    exec(script_code, namespace, namespace)
  File "/usr/local/lib/python3.5/dist-packages/gimme_aws_creds-1.1.1-py3.5.egg/EGG-INFO/scripts/gimme-aws-creds", line 17, in <module>
  File "/usr/local/lib/python3.5/dist-packages/gimme_aws_creds-1.1.1-py3.5.egg/gimme_aws_creds/main.py", line 442, in run
 File "/usr/local/lib/python3.5/dist-packages/gimme_aws_creds-1.1.1-py3.5.egg/gimme_aws_creds/okta.py", line 448, in get_saml_response
  File "/usr/local/lib/python3.5/dist-packages/gimme_aws_creds-1.1.1-py3.5.egg/gimme_aws_creds/okta.py", line 97, in stepup_auth
AttributeError: 'NoneType' object has no attribute 'get'
@dshefchik
Copy link

Any update on this?

@geetchoubey
Copy link
Author

@dshefchik I changed the auth mode to Push type and it worked

@Sector95
Copy link
Contributor

Sector95 commented Jul 16, 2019

Are you still getting this issue on the latest version?

Feels like it might be related to #117.

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

No branches or pull requests

3 participants