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

[v2] Table output format broken in Windows #4989

Closed
silverhero13 opened this issue Feb 21, 2020 · 7 comments
Closed

[v2] Table output format broken in Windows #4989

silverhero13 opened this issue Feb 21, 2020 · 7 comments
Labels
bug This issue is a bug. p3 This is a minor priority issue windows

Comments

@silverhero13
Copy link

I was trying out AWS CLI v2 on my Windows machine. However when I choose table as the output format, the table displays what I suppose as escape sequences of the colours.

Sample output

-------------------------------------------------------------------------------------
|                                  DescribeImages                                   |
+-----------------------------------------------------------------------------------+
�[2m�[33m|�[0m|                                     Images                                      |�[2m�[33m|�[0m
�[2m�[33m|�[0m+-----------------------------------+---------------------------------------------+�[2m�[33m|�[0m
�[2m�[33m|�[0m|  �[1m�[34mArchitecture�[0m                     |  �[1m�[34mx86_64�[0m                                     |�[2m�[33m|�[0m
�[2m�[33m|�[0m|  �[1m�[34mCreationDate�[0m                     |  �[1m�[34m2020-02-19T10:23:45.000Z�[0m                   |�[2m�[33m|�[0m

AWS CLI Version

> aws --version
aws-cli/2.0.0 Python/3.7.5 Windows/10 botocore/2.0.0dev4

Related image

Screenshot (5)_LI

@KaibaLopez
Copy link
Contributor

Hi @silverhero13 ,
Yea, it seems to work fine on linux style consoles but I can see the same problem on the windows command line.
Thanks for pointing it out!

@KaibaLopez KaibaLopez added the bug This issue is a bug. label Feb 24, 2020
@itamarka9
Copy link

Hi,
I have contacted AWS support and the suggested to add --color off at the end of the command.
It helped.
My os is Windows 10 2004
He told me they are looking at the problem.

@cmonks119
Copy link

Is there any fix for this yet?

@jebbenbow
Copy link

jebbenbow commented Feb 26, 2021 via email

@kdaily kdaily added the windows label Apr 21, 2021
@geragfg
Copy link

geragfg commented May 25, 2021

I agree the --color off workaround works for me too

justindho added a commit to justindho/aws-cli that referenced this issue May 2, 2022
@tim-finnigan tim-finnigan added the p3 This is a minor priority issue label Nov 3, 2022
@tim-finnigan
Copy link
Contributor

Closing as this should be fixed in recent versions of Windows Terminal.

Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p3 This is a minor priority issue windows
Projects
None yet
Development

No branches or pull requests

8 participants