Open file from rich traceback in Pycharm #2102
-
Hey ! Rich traceback is awesome however it seems that we can't open the file where the exception was raised from pycharm anymore: example if __name__ == '__main__':
raise ValueError here the link is clickable (it is blue) and it is a really usefull shortcut for pycharm user from rich.traceback import install
if __name__ == '__main__':
install(show_locals=False)
raise ValueError But with rich it is not clickable anymore :( Any Idea ? |
Beta Was this translation helpful? Give feedback.
Answered by
willmcgugan
Mar 24, 2022
Replies: 1 comment 1 reply
-
It's PyCharm that makes it clickable. In most terminals the link is clickable and takes you to the line number as well. I think there was an old bug on PyCharm about this, but they haven't addressed it. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
samsja
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's PyCharm that makes it clickable. In most terminals the link is clickable and takes you to the line number as well.
I think there was an old bug on PyCharm about this, but they haven't addressed it.