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

Does not work with python colored traceback #29

Open
gregdingle opened this issue Oct 25, 2016 · 1 comment
Open

Does not work with python colored traceback #29

gregdingle opened this issue Oct 25, 2016 · 1 comment

Comments

@gregdingle
Copy link

See https://pypi.python.org/pypi/colored-traceback/0.2.0 .

I got it working with mocha test output, but not this python package. The ANSI escape codes are stripped but no colors appear.

Repro steps:

  1. pip install colored-traceback
  2. write python script with raise
  3. Build in sublime
  4. See no colors in traceback output

This is with the public release on package manager.

@Dakta
Copy link

Dakta commented Jun 5, 2018

Python colored-traceback uses RGB terminal colors via curses. RGB colors are currently not supported by this project. Example colored-traceback output, showing RGB color escapes (e.g. �[38;5;26m):

$ python test.py
�[38;5;26mTraceback (most recent call last):�[39m
  File �[38;5;28m"test.py"�[39m, line �[38;5;241m3�[39m, in <module>
    �[38;5;28;01mraise�[39;00m
�[38;5;9mRuntimeError�[39m: No active exception to reraise

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

2 participants