-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Kernel Busy
and cell status running ([*]
) on Windows, after closing TK dialog a second time
#16001
Comments
Posting here in case it is relevant:
|
I can see in the code you posted that you are not enabling the Tk event loop before running your code, which could be the cause of this problem. To do that you need to run this magic in another cell:
|
Hello Carlos, Adding the above statement - %gui tk - doesn't help - kernel still remains in a busy state. Thank you! |
Does this happen in Jupyter Console as well? This may be a bug in ipykernel rather than JupyterLab if so. |
Still need feedback about whether this happens in Jupyter Console. |
I have verified that this issue is reproducible in Jupyter Console. As mentioned adding However, changing the order of the two statements |
Closing this issue as it appears to not be an issue with JupyterLab itself but rather an issue with how matplotlib backends are set by a user. |
Description
In Windows, after opening and closing a TK dialog for the second time the kernel status remains busy. The cell status symbol
[ ]:
remains in running mode[*]
.This issue is not present when running this code on an M1 Mac.
min_kernel_busy.mov
Reproduce
1). Run the code below.
2). A TK dialog will appear with a 'Test' button on it.
4). Close the dialog box.
5). The kernel is now idle as expected
6). Try the same thing again - now the kernel stays in busy state and does not go back to 'idle' state.
Expected behavior
Expect the kernel to update to 'idle' state and the cell status to update indicating it has finished running after closing the dialog box.
Context
Code to Reproduce
Command Line Output
No command line error messageBrowser Output
No browser error messageThe text was updated successfully, but these errors were encountered: