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
Some exceptions are not shown in qtconsole #6509
Comments
I think PyQt registers its own except hook for exceptions raised in Qt callbacks. |
But why are these exceptions then shown in the terminal and not in the console? (And can I route this somehow to the console?) |
Because it is the |
Ok. Now i'm trying to ouput the error to the frontend. But It does not work, when called from QT:
"print_excep" gets output on the console, but not the traceback |
I do this because I want to do the following to get it work to print errors from qt:
|
The following code (preceded by a
%gui qt
) doesn't print aNameError
exception in qtconsole every timefun
is called. Instead it's printed in the terminal where it was started:What is the reason for this?
The text was updated successfully, but these errors were encountered: