-
Notifications
You must be signed in to change notification settings - Fork 296
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
Display some error message about the fact that some remote kernels are no longer usable to avoid long spinnings of kernels in kernel picker #15911
Comments
Sorry you are running into this and thanks for filing this issue
Lets assume the kernel spinner is a non issue. i.e. lets assume this is always spinning, and you can ignore this. Please can you confirm this. Finally, please can you share the full logs, I'd like to see exactly whats going on and see whats slow.
Finally, please enable trace logging before sharing the logs again (again, please share the full logs)
|
Most likely due to the fact that you have some remote jupyter servers that are no longer available.
|
@DonJayamanne Thankyou for your attention.
I followed this instruction; there was indeed one item, which I deleted. I forgot to take a screenshot first, but I'm pretty sure it started with 10.3.... and was the Restarting VSCode the issue is gone. Unfortunately this does mean I can't collect logs that would indicate what is chewing up at the time. The previous log except that I posted WERE already at Why do I even have such a rogue kernel? Last year I did some contract work in involving connecting to a client's remote machine, but I've been using VSCode ONLY for my own local Python projects this year. Also, why did this problem just suddenly spring up today? Yesterday I played with https://github.com/ConGustoAI/friendlly -- I've sent this thread to the author in case he can shine some light on this. So, I'm now back to the original problem I was trying to fix before this issue: that if I create a fresh notebook and set a breakpoint and debug-run the cell, it appears to hang; it should reach the breakpoint and highlight that line red, but doesn't. I will file that as a separate issue. One takeaway I can see from this is that it would be very nice if VSCode was more transparent about what's going on. I had to file an issue and follow an instruction to remove this timing-out kernel. it would have been nice to be able to see this information upon clicking the spinning kernel-picker icon. Maybe see a dropdown of kernels with a tick next to each item that has completed, and a spinner next to each item that hasn't. Then I would naturally have observed that the currently selected kernel was FINE, but a rogue one was timing out, and would have investigated/removed the rogue one. What actually happened is that I was experiencing a DIFFERENT problem (debugger-fail) together with THIS one (spinning), and looking at the logs saw TWO more potentially related symptoms:
(for 2., I think it should either say Just as a thought, wouldn't it help to have log messages hyperlink to knowledge-base articles? Some of your extensions have 5M+ downloads, which reflects a huge user base. I would imagine such a policy would significantly reduce the load on staffing issue tickets. |
fwiw This is the problem I was actually trying to solve: #15914 |
Remote Jupyter servers used at any point are always linked to your user profile. Possible you never enabled symcing of profiles and you logged into your githu account or the like in VS Code just recently.
Lets close in favour of #15914
This is caused by Python extension, see here microsoft/vscode-python#23901 |
Wait, this is a completely separate issue AFAICS. I fixed the spinning kernel-picker--icon by removing a rogue kernel. I think this ticket is still actionable -- VSCode should indicate which kernel(s) are causing the spinning kernel-picker icon when you click on it, no? i.e. I had to be told where to look to find this rogue kernel, which means many other users may experience the same frustration point. The issue you've closed this in favour of is nothing to do with this issue. I know this because AFTER deleting the rogue kernel I restarted VSCode in a fresh folder, and STILL got the debugger-fail. That one's related to the non-default setting of PS Maybe remove the |
The assumption is that if you have any remote kernels that you are no longer using then they'd be removed. |
Type: Bug
Kernel-picker icon is spinning
Output -> Python:
^ Maybe this is the issue -- it never starts? I've tried reinstalling Jupyter and Pylance extensions, no luck.
Output -> Jupyter:
This all started because I was trying to set a breakpoint on a line of an .ipynb cell in another folder.
fwiw I'm seeing in same above log:
(hmm I don't have conda)
I haven't been in this arc2/ folder for several vscode restarts now. Could be related?
AH -- at this point, after writing all of the above, it has finally stopped spinning & gives the correct ".venv (Python 3.12.3)".
Here's the tail-end of the Output -> Jupyter:
And here's the tail-end of the Output -> Python:
(i.e. THAT hasn't changed, so looks like the Pylance was a red-herring)
One thing that still bugs me is:
(... in the Output -> Python)
I don't know what this pixi thing is, and the message doesn't easily google. First hit goes to an issue that's an AB problem (user can't get Hello World working)
TLDR:
Please fix this. I've lost 2 hours restarting, reinstalling, digging thru logs, composing this.
fwiw I was able to execute a cell & get output before the picker stopped spinning.
Extension version: 2024.7.0
VS Code version: Code 1.92.0 (b1c0a14de1414fcdaa400695b4db1c0799bc3124, 2024-07-31T23:26:45.634Z)
OS version: Darwin arm64 23.5.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: