-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spyder process does not terminate on Windows 10 #6672
Comments
As far as I'm aware, I haven't experienced the same trouble with all the same Spyder, Python, Qt/PyQt, OS, and main dependency versions as you, other than if I quit it when the kernel was hung or something. Does it always happen, or only sometimes? When did it start? Are you sure you aren't leaving any variable explorer windows open when closing Spyder (this prevents it from closing all the way)? What happens if you try enabling single instance mode? Starting with |
Until last update it seemed to happen occassionally, I only noticed when Anaconda Navigator was notifying me and usually that was because I was trying to close it down directly after Spyder. Waiting a bit would solve the problem. But now after the latest update the process is staying there even minutes after exiting the window. Right now it seems to always happen. I do have a variable explorer tab in my setup (not a separate window) but I was expecting that when I'm closing down Spyder the console also closes down and with it the variable explorer. The only unusual about my system is that it's a company system and some settings can't be changed by myself. Also Kaspersky Endpoint Security 10 is running on here. I will try out your suggestions and come back to here later. |
Trying to do |
I already have been in single instance mode the entire time as I just noticed. I disabled it but the behaviour stays the same. |
Thanks for all the information.
Nope. As I stated above, this keeps Spyder open. Therefore, this issue appears to be a duplicate of my #5696 ; however, the fix seems rather simple. I'll take a look at it sometime soon, since its bothered me for a while now. |
This is another side effect of Tornado 5. Please downgrade to Tornado 4.5.3 to temporarily fix it with:
|
Hmm, interesting...I've always had it stay open whenever I left a Var explorer window open. |
This also happens when you have a view a VarExp viewer open, but @Khris777 didn't mention that. |
@ccordoba12 Oh, sorry. I misread the OP's statement that I quoted above
and didn't see the part that they didn't have it as a separate window. My mistake, sorry; thanks for the catch. So is this a duplicate of #6627 or a separate issue that should be reopened? |
It's a different issue but not something we can fix in Spyder. It's been worked out in |
Thanks |
Problem Description
After closing Spyder on Windows 10 the process does not terminate and remains in the process manager (I'm using System Explorer here).
After starting Spyder the process tree looks like this:
When quitting the application the four plugin_server.py instances are terminated, but the
spyder-script.py
instance remains and has to be terminated manually in the process manager.Starting a new Spyder instance while the old one is still there starts a completely new process tree, after quitting Spyder again now two zombie instances remain. Interestingly the second process I had started is displaying the following parameters in System Explorer:
0 764 768 776 8192 772
The first process does not display any parameters. Maybe that helps in some way.
When started using Anaconda Navigator, Navigator will detect Spyder still running when quitting Navigator and ask you it should terminate it.
Package Versions
Dependencies
The text was updated successfully, but these errors were encountered: