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 freezes regularly

See original GitHub issue

Issue 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 (or pip, 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 issue I’m facing is a bit of a strange one…

I’ve been using Spyder for years now, but since the update of Spyder 4 the editor is regularly freezing (infinitely) and up to now I could not figure out the cause. (By regularly I mean this is happening at least once but usually multiple times a day!)

posting a video of it is quite difficult as I have so far not been able to track down the cause of it and it is happening completely out of nowhere (e.g. the editor freezes simply while I’m writing code) I could start making a video of a whole days work but i don’t think that this would really help…

I’ve tried to see if other people experience similar issues and it seems like those ones could be related to the same problem (experiencing freezing while being similarly vague in the cause) #11451 #11414 #11480) However, I’ve not been able to reproduce the freezing by simply copying something while a process is runnning as described in #11414

So far the only things that could be a start are the following:

  1. It seems that spyder is having troubles with the network-drive where the spyder-project is located… (e.g. in case the drive is disconnected for a very short instance of time) This manifests itself as shown in the following image which shows 2 states of the file-explorer: spyderissue

  2. the code-folding is regularly showing rather strange behaviour

    • it takes quite some time to initialize the fold-indicators when a file is first opened
    • after some time of coding, the folds start to become “misplaced” (e.g. they show up at wrong positions or they don’t get updated correctly)

Any help in tracking down this issue would be great since I would very much like to continue using sypder 4 but working with an editor that shuts itself down every couple of hours is not suitable… (while using spyder 3 i did not experience those issues)

What steps reproduce the problem?

nothing special… just simple coding for a couple of hours

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

Paste Traceback/Error Below (if applicable)


PASTE TRACEBACK HERE

Versions

  • Spyder version: 4.0.1
  • Python version: 3.6.7
  • Qt version: 5.12.5
  • PyQt version: 5.12.3
  • Operating System name/version: windows 10 64bit

Dependencies

PASTE DEPENDENCIES HERE

atomicwrites >=1.2.0 : 1.3.0 (OK) chardet >=2.0.0 : 3.0.4 (OK) cloudpickle >=0.5.0 : 1.2.2 (OK) diff_match_patch >=20181111 : 20181111 (OK) intervaltree : None (OK) IPython >=4.0 : 7.11.1 (OK) jedi =0.14.1 : 0.14.1 (OK) nbconvert >=4.0 : 5.6.1 (OK) numpydoc >=0.6.0 : 0.9.2 (OK) pexpect >=4.4.0 : 4.7.0 (OK) pickleshare >=0.4 : 0.7.5 (OK) psutil >=0.3 : 5.6.7 (OK) pygments >=2.0 : 2.5.2 (OK) pylint >=0.25 : 2.4.4 (OK) pyls >=0.31.2;<0.32.0 : 0.31.2 (OK) zmq >=17 : 18.1.0 (OK) qdarkstyle >=2.7 : 2.7 (OK) qtawesome >=0.5.7 : 0.6.0 (OK) qtconsole >=4.6.0 : 4.6.0 (OK) qtpy >=1.5.0 : 1.9.0 (OK) rtree >=0.8.3 : 0.8.3 (OK) sphinx >=0.6.6 : 2.3.1 (OK) spyder_kernels >=1.8.1;<2.0.0: 1.8.1 (OK) watchdog : None (OK) cython >=0.21 : None (NOK) matplotlib >=2.0.0 : 2.2.2 (OK) numpy >=1.7 : 1.17.3 (OK) pandas >=0.13.1 : 0.25.3 (OK) scipy >=0.17.0 : 1.3.1 (OK) sympy >=0.7.3 : 1.5.1 (OK)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
raphaelquastcommented, Mar 11, 2020

good news 😃 looking forward to it… Thanks!!

1reaction
ccordoba12commented, Mar 11, 2020

Almost there. It should be ready in a couple of days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

First Steps — Spyder 5 documentation
If Spyder crashes or you receive an error message, please read the following troubleshooting steps before opening a new issue. There's a good...
Read more >
Spyder IDE randomly freezes - python - Stack Overflow
After using Spyder for some time, it randomly freezes and I am forced to close it via task manager. It freezes while I'm...
Read more >
[jammy] spyder does not start because of kite install widget
On clean install, python3-spyder crashes on startup. This is caused by a float variable which should be an integer in file ...
Read more >
Spyder Women's Moxie jacket 36 (S) White / Frozen Freeze ...
**NWT** Spyder Syncere Ski Jacket Waterproof Burst/Burst/Freeze, Size 6. Sponsored ... Regular. Manufacturer Part Number: NA. UK Shoe size: check EU size.
Read more >
[Bug 1972112] [NEW] spyder does not start in jelly because of ...
Public bug reported: On clean install, python3-spyder crashes on ... part of the regular spyder repo at github (https://github.com/spyder- ...
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