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

Colours alternating in python stack trace #8

Open
jeshan opened this issue Dec 15, 2019 · 3 comments
Open

Colours alternating in python stack trace #8

jeshan opened this issue Dec 15, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jeshan
Copy link

jeshan commented Dec 15, 2019

I'm seeing this with Sceptre (python-based cli):
image

It's alternating between red and white. Is this expected?

@JoshuaJWilborn
Copy link
Owner

I believe it is. Can you run the same script on your local terminal to compare? If not, you can hit the colorize icon in the browser bar and it will toggle to show the original escape codes and I can look at them to compare with what you are seeing.

@jeshan
Copy link
Author

jeshan commented Dec 15, 2019

Toggling the button shows this:
image

So, I agree that this is the expected behaviour for my scenario.
Later, I could put a pattern of my own when you implement #5

@jeshan jeshan closed this as completed Dec 15, 2019
@JoshuaJWilborn
Copy link
Owner

After reviewing some images online of python logs I believe this is a color code case that I have no handled. If the previous line has no color clearing escape code, the current codes should continue onto the next line. I will work on this this week when I have time.

@JoshuaJWilborn JoshuaJWilborn self-assigned this Dec 15, 2019
@JoshuaJWilborn JoshuaJWilborn added the bug Something isn't working label Dec 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants