halfbrained / cuda_lsp

LSP Client plugin for CudaText
6 stars 4 forks source link

problems with Red server on Win10 #109

Closed Alexey-T closed 2 years ago

Alexey-T commented 2 years ago
Python 3.9.2
Init: cuda_lsp
Startup: 280ms, plugins: 80ms (lsp 78ms)
LSP: starting server - Red; root: None
Init: cuda_breadcrumbs
Init: cudatext
ReadLoopError: LSP: Red - module 'os' has no attribute 'WNOHANG'
Init: cuda_hilite_occurrences
hiiamboris commented 2 years ago

For whatever reason, I'm getting different errors:

Python 3.6.8
Init: cuda_macros
Init: cuda_git_status
Init: cuda_lsp
Loaded session: "history session.json", 0ms, 2 file(s)
LSP: starting server - Red; root: None
Startup: 450ms, plugins: 230ms (macros 47ms, lsp 187ms)
Init: cudatext
BodyReadError: LSP: Red - decode error int() argument must be a string, a bytes-like object or a number, not 'NoneType'
ReadLoopError: LSP: Red - local variable 'body' referenced before assignment
Alexey-T commented 2 years ago

I made the fix (2 fixes), they are in my fork https://github.com/cudatext-addons/cuda_lsp Published LSP Client from that repo. @halfbrained Pls sync with my repo