-
Notifications
You must be signed in to change notification settings - Fork 55
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
Ruff Langauge Server crash #573
Comments
Interesting, the reproduction steps seems similar to astral-sh/ruff#12575 but here it's a panic instead. I think it's going to be a bit difficult to reproduce this without a code snippet. It's most likely occurring in this function (https://github.com/astral-sh/ruff/blob/1a8fd7fb91e110a1e559f7f028b710986df10666/crates/ruff_server/src/edit/range.rs#L174-L207). |
Does all the three cells contain Python code? Are there any cells that were markdown instead? |
Yeah there were markdown and python cells, I think the one I was dragging was Python. |
I'm playing around with a mix of markdown / code cells and moving them around randomly but I don't see crash :( |
Huh, this did give me the following (unrelated) panic though:
And, then the editor hangs at "Saving 'issue.ipynb'" |
Haven't managed to repeat it today, but instead I got this (which I cannot replicate at this stage either)
|
Yeah, I got that as well which I'm tracking it in #575 |
Sorry I cannot create code snippet for this, but I noticed these messages in my log. I think they occurred when I was dragging a vscode notebooks cell from one position to another (i.e. if I started with cells #1,#2 and #3 then I'm grabbing #2 with my mouse and moving it after #3)
I'm running
ruff==0.5.6
with ruff extension versionv2024.36.0
in vscode 1.92.0 on ubuntu 22.04The text was updated successfully, but these errors were encountered: