Skip to content
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

PR: Add benign error when debugpy is not available (IPython console) #21926

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

ccordoba12
Copy link
Member

Description of Changes

  • debugpy is an optional dependency of IPykernel, so it is not necessarily installed with it.
  • Also, fix showing an error message in panes connected to the IPython console when something is printed to the kernel stderr stream after it starts but before the prompt is shown.

Issue(s) Resolved

Fixes #21900.

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

…ainWidget

This problem happened when the console started as expected but something
was printed to the kernel stderr stream after that, which we display as
an error in the console.
@ccordoba12
Copy link
Member Author

@penguinpee, you can apply the patch in commit cdad870 to fix the error you reported in #21900. The other commit here was done to improve how we show an error message in the panes connected to the IPython console.

@ccordoba12 ccordoba12 merged commit 28e0802 into spyder-ide:master Mar 25, 2024
14 checks passed
@ccordoba12 ccordoba12 deleted the issue-21900 branch March 25, 2024 02:42
@penguinpee
Copy link

Thanks! I applied this PR as a patch and can confirm that it solves #21900. 👍

PS: s/bening/benign/ - probably too late to fix 😉

@ccordoba12 ccordoba12 changed the title PR: Add bening error when debugpy is not available (IPython console) PR: Add benign error when debugpy is not available (IPython console) Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IPython Console does not start if debugpy is not available (6.0 alpha4)
2 participants