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: Filter 'This version of python seems to be incorrectly compiled...' pydev_log.critical message #16849

Merged
merged 2 commits into from
Nov 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion installers/macOS/req-build.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
py2app==0.22
dmgbuild>=1.4.2
jupyter-core<4.9 # remove after py2app update
ipython<7.28.0 # remove after py2app update
10 changes: 7 additions & 3 deletions spyder/plugins/ipythonconsole/widgets/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,9 +485,13 @@ def stop_button_click_handler(self):
def show_kernel_error(self, error):
"""Show kernel initialization errors in infowidget."""
self.error_text = error
if "issue1666807" not in error:
# TODO: remove the above if, see spyder-ide/spyder#16828
InstallerIPythonKernelError(error)

# Filter out benign errors
if "http://bugs.python.org/issue1666807" in error:
# See spyder-ide/spyder#16828
return

InstallerIPythonKernelError(error)

# Replace end of line chars with <br>
eol = sourcecode.get_eol_chars(error)
Expand Down