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

aws ec2 describe-images raises exception with unicode #3703

Closed
youngfeldt opened this issue Nov 6, 2018 · 7 comments
Closed

aws ec2 describe-images raises exception with unicode #3703

youngfeldt opened this issue Nov 6, 2018 · 7 comments

Comments

@youngfeldt
Copy link

aws ec2 describe-images —-owners aws-marketplace
usage: aws [options] [ ...] [parameters]
To see help text, you can run:

aws help
aws help
aws help

Traceback (most recent call last):
File "/bin/aws", line 27, in
sys.exit(main())
File "/bin/aws", line 23, in main
return awscli.clidriver.main()
File "/usr/lib/python2.7/site-packages/awscli/clidriver.py", line 60, in main
rc = driver.main()
File "/usr/lib/python2.7/site-packages/awscli/clidriver.py", line 212, in main
sys.stderr.write(str(e))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2014' in position 34: ordinal not in range(128)

@youngfeldt
Copy link
Author

aws --version
aws-cli/1.14.28 Python/2.7.5 Linux/3.10.0-862.3.2.el7.x86_64 botocore/1.8.35

@justnance justnance self-assigned this Nov 13, 2018
@justnance justnance added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Nov 13, 2018
@justnance
Copy link

justnance commented Nov 13, 2018

@youngfeldt - Thanks for reaching out and providing the output details. This looks like a unicode issue. I'm not able to reproduce this issue. Please provide the output after running the command locale.

@justnance justnance added locale unicode closing-soon This issue will automatically close in 4 days unless further comments are made. and removed response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Nov 13, 2018
@no-response
Copy link

no-response bot commented Nov 21, 2018

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Nov 21, 2018
@justnance justnance reopened this Nov 22, 2018
@justnance
Copy link

justnance commented Nov 22, 2018

@youngfeldt - is this still an issue?

@no-response
Copy link

no-response bot commented Nov 22, 2018

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

@no-response no-response bot closed this as completed Nov 22, 2018
@youngfeldt
Copy link
Author

Apologies for the delayed response. I was not aware an email filter was blocking these notificaitons.
I do still have an issue.
My locale is as follows:
╰─ ○ locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=

I did some digging and it seems this is related to an issue I found in 2015
#945
However, with something that old, I'm guessing there must be an adjustment i can/should make on my system.

@no-response no-response bot removed the closing-soon This issue will automatically close in 4 days unless further comments are made. label Nov 26, 2018
@no-response no-response bot reopened this Nov 26, 2018
@github-actions
Copy link

Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. Because it has been longer than one year since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment to prevent automatic closure, or if the issue is already closed, please feel free to reopen it.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants