spyder: Spyder crash when locking screen
Problem Description
Spyder keep crashing when the locking/unlocking the pc
What steps reproduce the problem?
- Start Spyder
- Lock the PC (win+L)
- Unlock the PC
- Spyder is no longer open (or it’s open and closes immediately)
Versions
- Spyder version: 3.3.3
- Python version: 3.7.1 64-bit
- Qt version: 5.9.6
- PyQt version: PyQt5 5.9.2
- Operating System name/version: Window 10 Enterprise (version 1803 build 17134.523)
Dependencies
IPython >=4.0 : 7.2.0 (OK)
cython >=0.21 : 0.29.2 (OK)
jedi >=0.9.0 : 0.13.2 (OK)
matplotlib >=2.0.0: 3.0.2 (OK)
nbconvert >=4.0 : 5.4.0 (OK)
numpy >=1.7 : 1.15.4 (OK)
pandas >=0.13.1 : 0.23.4 (OK)
pycodestyle >=2.3 : 2.4.0 (OK)
pyflakes >=0.6.0 : 2.0.0 (OK)
pygments >=2.0 : 2.3.1 (OK)
pylint >=0.25 : 2.2.2 (OK)
qtconsole >=4.2.0 : 4.4.3 (OK)
rope >=0.9.4 : 0.11.0 (OK)
sphinx >=0.6.6 : 1.8.2 (OK)
sympy >=0.7.3 : 1.3 (OK)
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 34 (19 by maintainers)
The culprit ended up being a faulty Wacom driver service called: Wacom Tablet Service for ISD
Disabling that solved the issue. The fun part is that I don’t use touch-screen features, nor have a Wacom tablet. Nonetheless, this solved the issue.
Sorry for bothering you for this issue. The first thing I obviously thought of was a problem with spyder, but this ended up being completely innocent.
Thank you for the support Luca
Glad you found the culprit and thanks for letting us know about it.
I guess you fought a lot to finally uncover the real cause.
@pj1989 I’m baffled; maybe some edge case in your graphics stack. I cannot reproduce the problem on Win 8.1 Pro x64 with the same versions of Python, Qt, PyQt, and Spyder. We’ve had reported issues in the past (which I was able to reproduce at the time) with autocompletion/help/introspection/real-time analysis crashing in the past when the user locked the screen or put to computer to sleep, but I can’t recall a specific instance where that happened with Spyder itself. I seem to distantly remember someone reporting somewhere about something similar happening with the lock screen, but I can’t seem to find it anywhere.
Since you’ve already tried the most likely fix (downgrading Qt), you should upgrade it again with
conda update qt pyqtand then try the following potential steps that have a chance of resolving this particular issue. Before you do, runset SPYDER_DEBUG=3in Anaconda prompt to enable debug output for Spyder. If none of the above work, copy and paste any messages that look like errors, as well as the last 20 lines or so before them (or just the last 20 lines, if there are no obvious error messages) here inside a literal block (with triple backticks,```, above and below it). Then, try each of the following in order, stopping if one of them fixes the issue:conda install pyopenglspyder --reset, just in case. If you value your preferences (e.g. a custom syntax theme or shortcuts), make a copy of thespyder-py3directory in your user/home folder and restore if it resetting fails to fix the issue.If that does work while previous steps have failed, provide me the output of
conda listto see if I can spot an obvious culprit. Otherwise, try doing a clean uninstall and reinstall of Anaconda. Thanks, and hope this works.Ok, @CAM-Gerlach has more experience dealing with this kind of problems, so let’s wait for he to give you more advice.
That’s the problem, I have almost no more suggestions. My last one is try to downgrade Qt with by running these commands in the Anaconda prompt
There are none, as far as I’m aware. And nobody else has reported an error like yours before. So we’re even more in the dark.