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
Disable IPython bug message #12139
Comments
Maybe it makes sense to remove those messages from IPython and instead add them to the issue template. |
We do actually have bug reports that are genuine crash in IPython. We might be able to have a flag that deactivate this. What behavior would you expect ? Just no messages ? |
Yes, I would expect no messages. |
Hi, I'm new here. If there's any thing need to be fixed, I'd love to help out! |
when running "interact" on ipdb ( |
for some reason, |
Any update on this? I use interact mode in ipdb on a daily basis for work and it would be nice to see the actual python errors at the bottom of my console instead of the "if you suspect.." message. I appreciate your efforts. |
This errors is just an annoying thing. |
Any update please? |
Thanks for the ping, unfortunately this is an open-source project on which I work for free, and I already do not have enough time to keep track of existing PRs and issue. If you encounter this error message it is likely a real unexpected code path in IPython; so please list your complete error message or how you triggered it. If you really want to get rid of it and are annoyed; The code that set the excepthook is likely in IPython/core/application.py line 256:
and Line 247:
Line 214 is how to add a configuration flag example:
You are welcome to open a PR. |
Solution is simply disabling last line in #print(_lite_message_template.format(email=author_email, config=config, version=version), file=sys.stderr) |
@Twallace51 thanks for finding it, it surely helps. But I think that, rather than disabling it completely, it should be configurable. |
Is there a way to suppress this message?
I never encountered an IPython bug and probably will not encounter one in the future.
The text was updated successfully, but these errors were encountered: