You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to add the from rich.traceback import install in the code and run with os.system(), traceback error not be captured and shown in rich colorize display. as shown:
I tried to run an error code like try a not existing function, the traceback displays perfectly.
How to make all the traceback colorized? Thanks!
Platform
Click to expand
Arch Linux, VSCode
python -m rich.diagnose
pip freeze | grep rich
The text was updated successfully, but these errors were encountered:
The error is occurring in the command. There is no way for Rich to capture a traceback from a different process. Can you not add the traceback handler to your train module?
Describe the bug
I tried to add the
from rich.traceback import install
in the code and run withos.system()
, traceback error not be captured and shown in rich colorize display. as shown:I tried to run an error code like try a not existing function, the traceback displays perfectly.
How to make all the traceback colorized? Thanks!
Platform
Click to expand
Arch Linux, VSCode
The text was updated successfully, but these errors were encountered: