awslabs / awslabs/aws-shell

aws-shell is not working in Amazon Linux 2 after installing

Open
#240 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
7.3k
Forks
780
PR merge metrics
No merged PRs in 30d

Description

Hi, Im getting the following error after installing aws-shell in my EC2 Amazon Linux 2:

[ec2-user@tmp]$ aws-shell
First run, creating autocomplete index...
Traceback (most recent call last):
File "/home/ec2-user/.local/bin/aws-shell", line 8, in
sys.exit(main())
File "/home/ec2-user/.local/lib/python2.7/site-packages/awsshell/__init__.py", line 47, in main
write_index(index_file)
File "/home/ec2-user/.local/lib/python2.7/site-packages/awsshell/makeindex.py", line 69, in write_index
result = json.dumps(index)
File "/usr/lib64/python2.7/json/__init__.py", line 244, in dumps
return _default_encoder.encode(obj)
File "/usr/lib64/python2.7/json/encoder.py", line 207, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib64/python2.7/json/encoder.py", line 270, in iterencode
return _iterencode(o, 0)
MemoryError

Are you able to help ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.