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 5.1.1 freezes trying open file

See original GitHub issue

Problem Description

Spyder completely freezes when clicking open file.

What steps reproduce the problem?

  1. Install the latest miniconda (python 3.9).
  2. Install spyder 5.1.1 from conda-forge:
  3. Click on open file.

What is the expected output? What do you see instead?

Spyder should show the file browser.

Spyder window completely freeezes, no log on terminal, no errors, no anything. The only possible thing to do is killing the process.

“spyder --safe-mode” changes nothing. “spyder --reset” changes nothing. Removing the entire .config/spyder-py3 folder changes nothing.

Versions

  • Spyder version: 5.1.1
  • Python version: Python 3.9.5 64-bit
  • Qt version: Qt 5.9.7
  • PyQt version: PyQt5 5.9.
  • Operating System name/version: Kde neon

Dependencies


# Mandatory:
atomicwrites >=1.2.0          :  1.4.0 (OK)
chardet >=2.0.0               :  4.0.0 (OK)
cloudpickle >=0.5.0           :  1.6.0 (OK)
cookiecutter >=1.6.0          :  1.7.3 (OK)
diff_match_patch >=20181111   :  20200713 (OK)
intervaltree >=3.0.2          :  3.0.2 (OK)
IPython >=7.6.0               :  7.26.0 (OK)
jedi >=0.17.2;<0.19.0         :  0.18.0 (OK)
jsonschema >=3.2.0            :  3.2.0 (OK)
keyring >=17.0.0              :  23.1.0 (OK)
nbconvert >=4.0               :  6.1.0 (OK)
numpydoc >=0.6.0              :  1.1.0 (OK)
parso >=0.7.0;<0.9.0          :  0.8.2 (OK)
pexpect >=4.4.0               :  4.8.0 (OK)
pickleshare >=0.4             :  0.7.5 (OK)
psutil >=5.3                  :  5.8.0 (OK)
pygments >=2.0                :  2.10.0 (OK)
pylint >=2.5.0                :  2.7.2 (OK)
pyls_spyder >=0.4.0           :  0.4.0 (OK)
pylsp >=1.2.1;<1.3.0          :  1.2.1 (OK)
pylsp_black >=1.0.0           :  None (OK)
qdarkstyle =3.0.2             :  3.0.2 (OK)
qstylizer >=0.1.10            :  0.2.1 (OK)
qtawesome >=1.0.2             :  1.0.3 (OK)
qtconsole >=5.1.0             :  5.1.1 (OK)
qtpy >=1.5.0                  :  1.10.0 (OK)
rtree >=0.9.7                 :  0.9.7 (OK)
setuptools >=49.6.0           :  52.0.0.post20210125 (OK)
sphinx >=0.6.6                :  4.1.2 (OK)
spyder_kernels >=2.1.0;<2.2.0 :  2.1.0 (OK)
textdistance >=4.2.0          :  4.2.1 (OK)
three_merge >=0.1.1           :  0.1.1 (OK)
watchdog >=0.10.3             :  2.1.3 (OK)
xdg >=0.26                    :  0.27 (OK)
zmq >=17                      :  19.0.2 (OK)

# Optional:
cython >=0.21                 :  None (OK)
matplotlib >=2.0.0            :  None (OK)
numpy >=1.7                   :  None (OK)
pandas >=1.1.1                :  None (OK)
scipy >=0.17.0                :  None (OK)
sympy >=0.7.3                 :  None (OK)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Zincr0commented, Aug 23, 2021

If you leave some hints here about what and where to look, maybe i can find a better workaround or even tweak some code

0reactions
ccordoba12commented, Aug 21, 2022

@derek-v-s, problems with Linux distros need to be reported with them because we don’t have control on the way they package Spyder and its dependencies.

If you want to avoid that error, please install Spyder in a virtualenv with pip or download Anaconda/Miniconda.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Illnesses — Spyder 5 documentation
If using Anaconda, open a terminal (Anaconda Prompt on Windows) and run: ... file to something other than one of these names, and...
Read more >
pencilgraphite - Discussions on Python.org
Upon opening and coding for roughly 15 minutes today the Application started freezing mid program constantly.
Read more >
Spyder Debugger hangs (not debugging) - Stack Overflow
Open the console or, if you're working on Windows, the Anaconda Prompt, and type the following commands in order to first uninstall spyder,...
Read more >
Product Help - Anaconda Community
Restarting the kernal unfreezes it, then upon running code same issue. Starts freezing. I uninstalled all Anaconda related software and ...
Read more >
Spyder freezes 2 seconds after launch. Force quit is ... - Reddit
EDIT: solved it. See other comment. I installed from "Official Repository (community)". I tried various things, also tried this given ...
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