Issues with Pylance/Python Language Server After Update

Hey, not sure if this is happening for anyone else, but seemingly just after this update a couple of hours ago, the language server stopped working, and now I am getting no completions. I have tried a reboot, disabling all add-ons, reinstalling each Python/Intellicode add-on, swapping from Pylance to Jedi – surprisingly, this doesn’t error, but still no IDE tab/preview functionality.

Attached are a bunch of the relevant outputs from the different extensions/tabs.






Only seems to be Pylance & Intellicode. Anyway, figured I would share just in case it was a thing.

1 Like

I’m having similar issues. All of a sudden I’m not seeing Python errors highlighted in the code.

1 Like

Just came back to comment that this seems to be something with Intellicode potentially. Looking at the GitHub issues for the intellicode repo, many people are making the same complaints. From all I can gather, it does seem somewhat selective, however. Pretty odd/frustrating though because I just tried to downgrade both Intellicode and Pylance (or more specifically, the Python extension for VS Code) but no luck with that either.

Furthermore, it seems to work fine in regular VS Code, so I really have no idea at this point.

github issues here

1 Like

facing the same issue. Tried downgrading the Pylance extension. No luck.

Any possible way to downgrade cursor back to 0.10.4?

1 Like

I have exactly the same issue. The regular VS Code is work fine. so I think it is a Cursor issue, please fix it. Currently, I can only switch back to vscode for now.

I’m also having this issue. It started about an hour ago. I’m seeing this in the output console under “Window”

2023-09-21 22:59:18.935 [error] No remotes found: Error: No remotes found
    at M.repositoryToInfo (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:21131:14533)
    at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:21131:10790
    at s (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:17:96794)
    at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:17:97021
    at Ie (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:17:67256)
    at te (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:17:62188)
    at bo.V [as setWorkspaceUserPersistentStorage] (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:17:96989)
    at Z (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:21131:10720)
    at g.invoke (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:281:145)
    at s.deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:281:2121)
    at o.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:281:1729)
    at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20469:26247
    at g.invoke (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:281:145)
    at s.deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:281:2121)
    at o.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:281:1729)
    at i.$updateSourceControl (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20796:24994)
    at e.MainThreadSCM.$updateSourceControl (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20796:27520)
    at S.N (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20803:15385)
    at S.M (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20803:15103)
    at S.H (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20803:14196)
    at S.G (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20803:13177)
    at vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20803:11965
    at g.invoke (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:281:145)
    at s.deliver (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:281:2121)
    at o.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:281:1729)
    at c.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:752:15112)
    at X.onmessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:20906:1494)
2023-09-21 22:59:19.683 [info] [perf] Render performance baseline is 21ms
2023-09-21 23:00:09.260 [error] Error invoking remote method 'vscode:do-update': Error: Cannot restart and install. There is no update downloaded: Error: Error invoking remote method 'vscode:do-update': Error: Cannot restart and install. There is no update downloaded

Yep, here you go: Can't connect to remote ssh server after recent update - #5 by truell20

Actively looking into this.

Have a fix and should be released in an hour

2 Likes

thanks!

Fix is out. Thank you all for reporting. Please let me know if you have any issues.

3 Likes

Dear all, how to solve similar problem… I am in my first day with cursor…

image

solved… it is problem of network…

Hi all - i’m hitting this issue (i’m using a poetry .venv), have tried every variation I can think of for reinstalling and reloading extensions, works fine in VSCode, but on both my M2 and M4 macbooks I can just not get Cursor’s LSP features working for Python. While I can see my .venv activated, I’m just getting an endless spinning “Discovering python interpreters” at the same time, and my extensions aren’t able to find it (such as Mypy which throws an error)

Cursor Version: 0.42.5
VSCode Version: 1.93.1
Commit: 001668006cc714afd397f4ef0d52862f5a095530
Date: 2024-11-14T00:33:36.512Z (1 wk ago)
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.1.0

Hi,

Having exactly the same issue as @nsbradford. Macbook M1 Pro here. Same versions as his.

^in the end, I was able to get the LSP working by completely deleting all cursor metadata, and then manually rebuilding my VSCode settings instead of trying to use the importer.

The MyPy extension, however, still doesn’t work properly (started working briefly and now fails to find interpreter again after the most recent upgrade)