-
Notifications
You must be signed in to change notification settings - Fork 23
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
Runtime Failure on awscli 1.13+ #7
Comments
@hikerspath Thanks for pointing this out. Feel free to take a stab at this. Otherwise we will likely take a little bit to circle around. |
A quick peek makes me think that it's a problem in botocore. I can dig more later. |
Hi! I have the same problem, do you have any update about this? thanks! |
12.13.0 fails: # awsudo -u profile_name env Traceback (most recent call last): File "/root/.local/bin/awsudo", line 9, in <module> load_entry_point('awsudo==0.0.0', 'console_scripts', 'awsudo')() File "/root/.local/lib/python2.7/site-packages/awsudo/main.py", line 68, in main run(args, resolver.getEnvironment(profile)) File "/root/.local/lib/python2.7/site-packages/awsudo/config.py", line 16, in getEnvironment session.emit('session-initialized', session=session) File "/usr/lib/python2.7/site-packages/botocore/session.py", line 719, in emit return self._events.emit(event_name, **kwargs) File "/usr/lib/python2.7/site-packages/botocore/hooks.py", line 227, in emit return self._emit(event_name, kwargs) File "/usr/lib/python2.7/site-packages/botocore/hooks.py", line 210, in _emit response = handler(**kwargs) TypeError: attach_history_handler() takes exactly 2 arguments (1 given) See makethunder#7
@yanotoma @hikerspath We have a temporary fix in. Let me know if you have any problems with it. |
Hello @ktilcu , Is there any reason to use awscli as dependency? If I looked into the code, probably we can remove the dependency of awscli to use only botocore as dependency to get cached credentials. CMIIW |
@yanotoma @hikerspath Sorry for the huge delay. I finally merged @rizkidoank's pull request. I think this should patch things up for the near term. |
getting the following error when attempting to run awsudo on newer versions of awscli python libraries.
Latest working version:
Failures start in following:
Specific message / issue:
The 'attach_history_handler()' exists in the new history options of the aws-cli that started in that version.
The text was updated successfully, but these errors were encountered: