spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.25k stars 1.6k forks source link

Spyder Stopped Responding #13824

Closed evasmere closed 4 years ago

evasmere commented 4 years ago

Description

What steps will reproduce the problem?

I was writing code and Spyder stopped responding unexpectedly.

Traceback

  File "/Users/evasmerekanych/Downloads/Enter/lib/python3.7/site-packages/spyder/plugins/editor/utils/autosave.py", line 116, in do_autosave
    stack.autosave.autosave_all()
  File "/Users/evasmerekanych/Downloads/Enter/lib/python3.7/site-packages/spyder/plugins/editor/utils/autosave.py", line 375, in autosave_all
    self.maybe_autosave(index)
  File "/Users/evasmerekanych/Downloads/Enter/lib/python3.7/site-packages/spyder/plugins/editor/utils/autosave.py", line 335, in maybe_autosave
    orig_hash = self.file_hashes[orig_filename]
KeyError: '/Users/evasmerekanych/.spyder-py3/autosave/hangman-1.py'

Versions

Dependencies

applaunchservices >=0.1.7    :  0.2.1 (OK)
atomicwrites >=1.2.0         :  1.4.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.6.0 (OK)
diff_match_patch >=20181111  :  20200713 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.18.1 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  1.1.0 (OK)
pexpect >=4.4.0              :  4.8.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.7.2 (OK)
pygments >=2.0               :  2.6.1 (OK)
pylint >=0.25                :  2.6.0 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.7 (OK)
zmq >=17                     :  19.0.1 (OK)
qdarkstyle >=2.7             :  2.8.1 (OK)
qtawesome >=0.5.7            :  0.7.2 (OK)
qtconsole >=4.6.0            :  4.7.6 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
rtree >=0.8.3                :  0.9.4 (OK)
sphinx >=0.6.6               :  3.2.1 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  0.29.21 (OK)
matplotlib >=2.0.0           :  3.3.1 (OK)
numpy >=1.7                  :  1.19.1 (OK)
pandas >=0.13.1              :  1.1.1 (OK)
scipy >=0.17.0               :  1.5.2 (OK)
sympy >=0.7.3                :  1.6.2 (OK)
ccordoba12 commented 4 years ago

Hey @evasmere, thanks for reporting. We solved almost all freezes in our latest version. Please update by closing Spyder, opening Terminal.app and running there

conda update anaconda
conda install spyder=4.1.5

Let us know if that solves the problem for you.

ccordoba12 commented 4 years ago

Closing due to lack of response.