-
-
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
KeyboardInterrupt error in waitingspinner #5114
Comments
Thanks for reporting. We'll take a look at this in a future release. |
I think this is caused because the waiting spinner is started in the creation of find in files, and never stopped (only the progress bar is hidden/shown) https://github.com/spyder-ide/spyder/blob/3.x/spyder/widgets/findinfiles.py#L784 |
Thanks for noticing @rlaverde! Should we stop it then after it's hidden? |
Yes, start it when progress bar is shown and stop it when progress bar is hidden. Although if you press Ctrl+C while it's shown and spinning (i.e. searching in files) the error will occur |
We should be able to prevent this. https://forum.qt.io/topic/532/how-to-catch-ctrl-c-on-a-widget/3 |
ahhh @rlaverde ok I understand. Actually I think that is a spyder bug, we should be able to kill spyder from the console. |
Description
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Please provide any additional information below
File "/Users/Leo/anaconda/lib/python3.6/site-packages/spyder/widgets/waitingspinner.py", line 177, in rotate
def rotate(self):
KeyboardInterrupt
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: