spyder: Editor repeatedly freezes when working with projects

It’s mostly fine but occasionally it’ll randomly freeze (Not responding) and require restarting. I’ve attached a bunch of logs from --debug-info verbose near the end of it happening, hope it helps. Environment info in this post; TLDR spyder 5.4.0, Windows 10, Python 10

Today for the first time it kept freezing as soon as it loaded up, and kept doing that even after restarting Anaconda Powershell Prompt. I only fixed it via --new-instance. Really unsure what’s causing it, but possibly Editor activity or [spyder.plugins.projects.utils.watcher] when files are frequently modified or created.

log0.txt log1.txt log2.txt log3.txt – freeze ‘immediately’, full log from start to finish

About this issue

  • Original URL
  • State: open
  • Created 4 years ago
  • Comments: 15 (10 by maintainers)

Most upvoted comments

@mluerig, since not many people have complained about it, we deferred it for a later released.

It’ll be fixed in 6.0.5 by allowing users to disable searching project files in the switcher. See PR #23965 for the option we added for that.

Thanks, had no idea there’s such interaction with the project directory but makes sense

Yep. I forgot to mention that the problem that appears in log1.txt and log2.txt is also caused by using a project.

If there’s other such caveats, might be worth adding to docs.

Good idea, but these are actually bugs that we need to solve so that our projects functionality works as expected. If we don’t manage to do it, then we’ll add the corresponding warnings.

Hey @OverLordGoldDragon, thanks for reporting. I also noticed this problem and have ready a small improvement for the bug that appears on log1.txt and log2.txt, which will be part of 5.4.1.

The problem I can see on log3.txt is that you’re copying a lot of npy files to a folder inside a Spyder project. That requires a bit more of work to fix, so I’ll try to address it in 5.4.2.