Spyder freezes when typing in editor
See original GitHub issueDescription
After using Spyder for some period of time, while typing in the editor Spyder suddenly becomes unresponsive and the cursor becomes the spinning beachball of death. The only way to proceed is to force quit Spyder (Activity Monitor confirms that the Python process is unresponsive).
FYI: I run Spyder from a dedicated Anaconda environment created by
>> conda create -n spyder-beta -c spyder-ide spyder
What steps will reproduce the problem?
I am uncertain what actions will reproduce the problem, other than to use Spyder for some period of time.
Versions
- Spyder version: 4.0.0b4
- Python version: 3.7.0
- Qt version: 5.9.6
- PyQt5 version: 5.9.2
- Operating System: Darwin 18.7.0
Dependencies
pygments >=2.0 : 2.4.2 (OK)
qdarkstyle >=2.6.4: 2.7 (OK)
sphinx >=0.6.6 : 2.1.2 (OK)
psutil >=0.3 : 5.6.3 (OK)
pyls >=0.27.0 : 0.28.0 (OK)
nbconvert >=4.0 : 5.5.0 (OK)
pandas >=0.13.1 : None (NOK)
numpy >=1.7 : None (NOK)
sympy >=0.7.3 : None (NOK)
cython >=0.21 : None (NOK)
qtconsole >=4.5.2 : 4.5.2 (OK)
IPython >=4.0 : 7.7.0 (OK)
matplotlib >=2.0.0: None (NOK)
pylint >=0.25 : 2.3.1 (OK)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:13 (10 by maintainers)
Top Results From Across the Web
When a letter is typed while coding, the spyder ide freezes for ...
I have an issue with typing the letter "i" in the code editor. When I type that letter, Spyder freezes for a moment...
Read more >Common Illnesses — Spyder 5 documentation
If you receive the message An error occurred while starting the kernel in the IPython Console, Spyder was unable to launch a new...
Read more >Spyder freezes 2 seconds after launch. Force quit is ... - Reddit
Spyder freezes 2 seconds after launch. Force quit is only option. Tried: spyder --reset, nothing works. r/ManjaroLinux - Spyder freezes 2 ...
Read more >slow code completion in editor (all of the sudden)
spyder2 for the rope.log.) Any other suggestions? Spyder freezes (not responding) for several seconds whenever I type a dot. It makes the ...
Read more >Resolved: Spider crashes when running input() command
I've installed the Anaconda Navigator on my Macbook Pro and with it came Spyder 5.1.5. Based on my research, this version has a...
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
I’ve had multiple freezes during past four weeks when typing in the Spyder editor . If I am working in Spyder longer than 1 hour it is almost guaranteed that I get a freeze. When I work in Spyder for multiple hours I usually have at least one freeze every 1-2 hours (I restart Spyder). My hunch is that it is related to code completions running in Spyder - I often got the freezes when a completion box was open/opening. Unfortunatelly it is hard to narrow this down as it happens approximately once an hour without very clear pattern.
I have the same problem. Spyder is often hanging when I am writing code, - I suspect it happens if I am typing too quickly. Maybe because the automatic syntax checking is not hanging on fast enough.