SublimeANSI icon indicating copy to clipboard operation
SublimeANSI copied to clipboard

Does not work with python colored traceback

Open gregdingle opened this issue 8 years ago • 1 comments

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.

gregdingle avatar Oct 25 '16 21:10 gregdingle

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

Dakta avatar Jun 05 '18 16:06 Dakta