crash in 4.0.0b5 related to non-ascii characters and tooltips
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole
(if console-related) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset
- Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
The program crashes as described below. It seems to be related to the non-ascii character in the function signature; when I tried replacing blah(λ,x)
with blah(w,x)
, everything works fine.
What steps reproduce the problem?
- Copy the following into a new python file, and save it:
# -*- coding: utf-8 -*-
def blah(λ,x):
return λ + x
-
On a new line, type “bla”. The tooltip / autocomplete thing will prompt with the completion:
blah(λ,x)
. -
Press tab to accept this suggestion.
What is the expected output? What do you see instead?
It should fill in the missing letter “h” to make the word “blah”. Instead, the program crashed.
Versions
- Spyder version: 4.0.0b5
- Python version: 3.7.4 64-bit
- Qt version: 5.9.6
- PyQt version: 5.9.2
- Operating System name/version: Windows 10
Dependencies
cloudpickle >=0.5.0 : 1.2.2 (OK)
pygments >=2.0 : 2.4.2 (OK)
qtconsole >=4.5.5 : 4.5.5 (OK)
nbconvert >=4.0 : 5.5.0 (OK)
sphinx >=0.6.6 : 2.1.2 (OK)
pylint >=0.25 : 2.3.1 (OK)
psutil >=0.3 : 5.6.3 (OK)
qtawesome >=0.5.7 : 0.5.7 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
zmq >=17 : 18.1.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
numpydoc >=0.6.0 : 0.9.1 (OK)
spyder_kernels >=1.5.0;<2.0.0: 1.5.0 (OK)
qdarkstyle >=2.7 : 2.7 (OK)
atomicwrites >=1.2.0 : 1.3.0 (OK)
diff_match_patch >=20181111 : 20181111 (OK)
watchdog : None (OK)
keyring : None (OK)
pexpect >=4.4.0 : 4.7.0 (OK)
pympler : None (OK)
sympy >=0.7.3 : None (NOK)
cython >=0.21 : None (NOK)
IPython >=4.0 : 7.8.0 (OK)
matplotlib >=2.0.0 : 3.1.0 (OK)
pandas >=0.13.1 : 0.25.0 (OK)
numpy >=1.7 : 1.16.4 (OK)
scipy >=0.17.0 : 1.3.1 (OK)
pyls >=0.28.2;<0.29.0 : 0.28.3 (OK)
rtree >=0.8.3 : 0.8.3 (OK)
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
What's new in Unity 2022.2.0 Beta 5
Linux: Crash on DebugStringToFile when starting Editor due to an ... Editor: Fixed that Undo does not work when GameObject is replaced with ......
Read more >SourceTree Release Notes - Download Developer Software
Display special characters known as Unicode bidirectional characters. ... Add tooltips to repository toolbar items; Fix crash if system git is ...
Read more >06c205f49492310fa568d0257ba...
... 0145-cli-remove-useless-code-from-print_crash.patch ... anaconda-centos-skip-retry-if-not-connected.patch anaconda.spec ...
Read more >Untitled
Basic home bar setup, Crash site black ops walkthrough, How to calculate n factor of ... Ikang healthcare stock, Zvezda metalac rezultat, Ascii...
Read more >QA/Plugins - MozillaWiki
Plug-ins, Mac System 9.x. 65524 · Going to the webpage will sometimes crash mozilla. Related to not having the shockwave plugin. Plug-ins, Linux....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ccordoba12 after testing PR https://github.com/spyder-ide/spyder/pull/10256 Spyder doesn’t hang but the symbols are encoded incorrectly:
@dalthviz, please test PR #10256. @andfoy’s last change there should fix this problem.