You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many thanks for that python library. I was looking for something like this for easy LSP server testing using Python. This project seems quite idle though - are you still interested in this?
Also, I keep getting an exception wrt the above referenced line in LSP endpoint at the very end of my tests (i'm still trying to understand your library, not done yet).
# python client script is sending event exit:# LspEndpoint.run: message received: {}# {'jsonrpc': '2.0', 'result': 0}
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/home/trapni/.local/lib/python3.8/site-packages/pylspclient/lsp_endpoint.py", line 62, in run
self.handle_result(rpc_id, result, error)
File "/home/trapni/.local/lib/python3.8/site-packages/pylspclient/lsp_endpoint.py", line 22, in handle_result
ReadPipe: terminating
cond = self.event_dict[rpc_id]
KeyError: None
What can I do in this situation? Mind, I may potentially use your library entirely wrong, however, my script is actually based upon your example.
One last question I'd like to sneak into, if I may: What's the ReadPipe required for? It seems that if I comment out the print(line)-line, it still seems to work. Is it just to detect when the underlying process exits?
The text was updated successfully, but these errors were encountered:
pylspclient/pylspclient/lsp_endpoint.py
Line 22 in fc6e645
Hey.
Many thanks for that python library. I was looking for something like this for easy LSP server testing using Python. This project seems quite idle though - are you still interested in this?
Also, I keep getting an exception wrt the above referenced line in LSP endpoint at the very end of my tests (i'm still trying to understand your library, not done yet).
What can I do in this situation? Mind, I may potentially use your library entirely wrong, however, my script is actually based upon your example.
One last question I'd like to sneak into, if I may: What's the ReadPipe required for? It seems that if I comment out the
print(line)
-line, it still seems to work. Is it just to detect when the underlying process exits?The text was updated successfully, but these errors were encountered: