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

Method Not Found: textDocument/diagnostic #542

Open
luozhouyang opened this issue Mar 27, 2024 · 0 comments
Open

Method Not Found: textDocument/diagnostic #542

luozhouyang opened this issue Mar 27, 2024 · 0 comments

Comments

@luozhouyang
Copy link

Does python-lsp-server support textDocument/diagnostic method?
When I request a textDocument/diagnostic for a document, the server response error:

KeyError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/homebrew/Caskroom/miniconda/base/envs/debug-agent/lib/python3.10/site-packages/pylsp_jsonrpc/endpoint.py", line 117, in consume
    self._handle_request(message['id'], message['method'], message.get('params'))
  File "/opt/homebrew/Caskroom/miniconda/base/envs/debug-agent/lib/python3.10/site-packages/pylsp_jsonrpc/endpoint.py", line 195, in _handle_request
    raise JsonRpcMethodNotFound.of(method) from e
pylsp_jsonrpc.exceptions.JsonRpcMethodNotFound: Method Not Found: textDocument/diagnostic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant