Runtime Failure on awscli 1.13+
See original GitHub issuegetting the following error when attempting to run awsudo on newer versions of awscli python libraries.
Latest working version:
awscli-1.12.2
botocore-1.8.2
Failures start in following:
awscli-1.13.0
botocore-1.8.3
Specific message / issue:
# 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)
The ‘attach_history_handler()’ exists in the new history options of the aws-cli that started in that version.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Install, Update, and Uninstall the AWS CLI version 1 on ...
Install, update, and uninstall the AWS CLI version 1 using the MSI installer · Install, update, and uninstall the AWS CLI version 1...
Read more >awscli · PyPI
This package provides a unified command line interface to Amazon Web Services. Jump to: Getting Started. Getting Help. More Resources ...
Read more >Install aws cli in CI image (!2599) · Merge requests - GitLab
An error occurred while retrieving approval data for this merge request. Install aws cli in CI image.
Read more >API error (400): OCI runtime create failed: container_linux.go ...
I am able to start the same container locally. I start the process from awscli with the following command: aws batch submit-job --job-name ......
Read more >Package List — Spack 0.20.0.dev0 documentation
It creates control-flow models of each MPI process and, when a failure occurs, ... awscli¶. Homepage: https://pypi.org/project/awscli/. Spack package:.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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.
@yanotoma @hikerspath We have a temporary fix in. Let me know if you have any problems with it.