Skip to content
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

vscode.dev lsp fails time to time #2743

Closed
heejaechang opened this issue Apr 27, 2022 · 4 comments
Closed

vscode.dev lsp fails time to time #2743

heejaechang opened this issue Apr 27, 2022 · 4 comments
Assignees
Labels
bug Something isn't working fixed in next version (main) A fix has been implemented and will appear in an upcoming version

Comments

@heejaechang
Copy link
Contributor

type

import os

and then go to definitino on os

once __init__.pyi is opened, move around to see hover info while the file is still in the middle of processing.

bunch of requests fails

[Error - 1:57:09 PM] Request textDocument/foldingRange failed.
  Message: Request textDocument/foldingRange failed with message: request cancelled
  Code: -32603 
[Error - 1:59:41 PM] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: request cancelled
  Code: -32603 
[Error - 1:59:41 PM] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: request cancelled
  Code: -32603 
[Error - 1:59:41 PM] Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: request cancelled
  Code: -32603 

need to figure out why it is happening

@heejaechang
Copy link
Contributor Author

it looks like cancellation becomes request failure in browser. it works as expected in nodejs/vscode.

@judej judej added the needs decision Do we want this enhancement? label Jun 7, 2022
@luabud
Copy link
Member

luabud commented Jun 8, 2022

Is #2888 a dupe of this?

@debonte
Copy link
Contributor

debonte commented Jun 8, 2022

Is #2888 a dupe of this?

No, that's something different. Rather than request cancelled it says Cannot read properties of undefined (reading 'startOffset')

@heejaechang heejaechang added the fixed in next version (main) A fix has been implemented and will appear in an upcoming version label Jun 8, 2022
@judej judej removed needs decision Do we want this enhancement? needs investigation Could be an issue - needs investigation labels Jun 8, 2022
@debonte
Copy link
Contributor

debonte commented Jun 9, 2022

This issue has been fixed in version 2022.6.10, which we've just released. You can find the changelog here: CHANGELOG.md

@debonte debonte closed this as completed Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed in next version (main) A fix has been implemented and will appear in an upcoming version
Projects
None yet
Development

No branches or pull requests

4 participants