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

Can't run AWS-shell error below: #261

Open
ProcrastinatingEntrepreneur opened this issue May 13, 2021 · 0 comments
Open

Can't run AWS-shell error below: #261

ProcrastinatingEntrepreneur opened this issue May 13, 2021 · 0 comments

Comments

@ProcrastinatingEntrepreneur

First run, creating autocomplete index...
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/awsshell/utils.py", line 84, in file_contents
with open(filename, mode) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/benjamin/.aws/shell/cache/completions-1.18.69.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/awsshell/index/completion.py", line 63, in load_index
contents = self._fslayer.file_contents(filename)
File "/usr/local/lib/python3.8/dist-packages/awsshell/utils.py", line 87, in file_contents
raise FileReadError(str(e))
awsshell.utils.FileReadError: [Errno 2] No such file or directory: '/home/benjamin/.aws/shell/cache/completions-1.18.69.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/awsshell/init.py", line 39, in main
index_str = indexer.load_index(utils.AWSCLI_VERSION)
File "/usr/local/lib/python3.8/dist-packages/awsshell/index/completion.py", line 65, in load_index
raise IndexLoadError(str(e))
awsshell.index.completion.IndexLoadError: [Errno 2] No such file or directory: '/home/benjamin/.aws/shell/cache/completions-1.18.69.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/aws-shell", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/awsshell/init.py", line 43, in main
from awsshell.makeindex import write_index
File "/usr/local/lib/python3.8/dist-packages/awsshell/makeindex.py", line 8, in
import awscli.clidriver
File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 36, in
from awscli.help import ProviderHelpCommand
File "/usr/lib/python3/dist-packages/awscli/help.py", line 23, in
from botocore.docs.bcdoc import docevents
ImportError: cannot import name 'docevents' from 'botocore.docs.bcdoc' (/usr/local/lib/python3.8/dist-packages/botocore/docs/bcdoc/init.py)

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

No branches or pull requests

1 participant