question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder 4 Hangs/Freezes randomly when editing code

See original GitHub issue

Usually occurs when backspacing in code editing, with Keras (TensorFlow) model training running in background; simple non-responsiveness, screen greys out upon clicking (screenshot at bottom), with mousewheel spinning infinitely.

Interestingly, training continues seemingly unscathed, and model checkpoints itself as programmed (w/ files generated where expected) - nonetheless, it’s problematic.

Versions

  • Spyder version: 4.0.0
  • Python version: 3.7.5
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies

cloudpickle >=0.5.0          :  1.2.2 (OK)
pygments >=2.0               :  2.5.2 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
sphinx >=0.6.6               :  2.2.2 (OK)
pylint >=0.25                :  2.4.4 (OK)
psutil >=0.3                 :  5.6.7 (OK)
qtawesome >=0.5.7            :  0.6.0 (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.8.1;<2.0.0:  1.8.1 (OK)
qdarkstyle >=2.7             :  2.7 (OK)
atomicwrites >=1.2.0         :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
watchdog                     :  None (OK)
keyring                      :  None (OK)
pexpect >=4.4.0              :  4.7.0 (OK)
pympler                      :  None (OK)
sympy >=0.7.3                :  1.4 (OK)
cython >=0.21                :  0.29.14 (OK)
IPython >=4.0                :  7.10.1 (OK)
matplotlib >=2.0.0           :  3.1.1 (OK)
pandas >=0.13.1              :  0.25.3 (OK)
numpy >=1.7                  :  1.17.4 (OK)
scipy >=0.17.0               :  1.3.1 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.2 (OK)
rtree >=0.8.3                :  0.8.3 (OK)

Screenshot:

image

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:25 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
derekedencommented, Jan 27, 2020

any idea when the new release is coming? using 4.0.1 and this literally happens like every 20-30 minutes, makes it almost unusable - and I love Spyder please god don’t make me resort to VSCode XD

1reaction
OverLordGoldDragoncommented, Jan 9, 2020

@ccordoba12 To notify, reproduced in 4.0.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spyder IDE randomly freezes - python - Stack Overflow
It freezes while I'm trying to open a file, save a file, change preferences, and while looking at a code analysis error. I...
Read more >
spyder-ide/public - Gitter
Hi! I am using Spyder 3.3.6 with Python3.7 on Windows 10. After it worked perfectly for several weeks Spyder freezes randomly when I'm...
Read more >
spyder 4 keeps crashing unexpectedly - how can I create a ...
During coding, the whole IDE just freezes up, and I can only resolve this through killing the python process. To narrow in on...
Read more >
Spyder keeps crashing. Need an alernative IDE for learning ...
My proff recommended spyder to use as an IDE but I'm finding it really ... other syntax aware text editor and run your...
Read more >
20 best alternatives to Spyder as of 2022 - Slant.Co
Code runner is fantastic for shorter projects, although it can handle very large projects. It stops code completion when the program gets to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found