Skip to content

Failed to handle requests after exit #314

Closed
@eyalk11

Description

@eyalk11

It doesn't function well. I am on windows.
It write root dir not found, and I can't do renaming. Saw this error:

[ERROR][2022-12-14 22:07:46] .../vim/lsp/rpc.lua:733	"rpc"	"pylsp"	"stderr"	"2022-12-14 22:07:46,297 Jerusalem Standard Time - ERROR - pylsp_jsonrpc.endpoint - Failed to handle request 3
Traceback (most recent call last):
  File \"C:\\Users\\ekarni\\AppData\\Local\\nvim-data\\lsp_servers\\pylsp\\venv\\lib\\site-packages\\pylsp_jsonrpc\\endpoint.py\", line 181, in _handle_request
    handler = self._dispatcher[method]
  File \"C:\\Users\\ekarni\\AppData\\Local\\nvim-data\\lsp_servers\\pylsp\\venv\\lib\\site-packages\\pylsp\\python_lsp.py\", line 200, in __getitem__
    raise KeyError
KeyError

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

Traceback (most recent call last):
  File \"C:\\Users\\ekarni\\AppData\\Local\\nvim-data\\lsp_servers\\pylsp\\venv\\lib\\site-packages\\pylsp_jsonrpc\\endpoint.py\", line 116, in consume
    self._handle_request(message['id'], message['method'], message.get('params'))
  File \"C:\\Users\\ekarni\\AppData\\Local\\nvim-data\\lsp_servers\\pylsp\\venv\\lib\\site-packages\\pylsp_jsonrpc\\endpoint.py\", line 183, in _handle_request
    raise JsonRpcMethodNotFound.of(method) from e
pylsp_jsonrpc.exceptions.JsonRpcMethodNotFound: Method Not Found: shutdown
"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions