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

Client Even Better TOML LSP: connection to server is erroring. Cannot call write after a stream was destroyed #718

Open
tgrushka opened this issue Dec 21, 2024 · 1 comment

Comments

@tgrushka
Copy link

Keeps occurring constantly since I switched away from the bundled version (since the bundled version seems out of date).

Taplo Version

/home/tom/.cargo/bin/taplo -V
taplo 0.9.3

VS Code User Settings

    "evenBetterToml.taplo.bundled": false,
    "evenBetterToml.taplo.path": "/home/tom/.cargo/bin/taplo",

VS Code Info

Version: 1.97.0-insider
Commit: 89f808979a5151bd91324e65d4f7ab1b62896983
Date: 2024-12-20T05:04:19.167Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 6.8.0-51-generic

Extension Output

[Error - 2:54:26 PM] Server process exited with code 1.
[Error - 2:54:26 PM] Client Even Better TOML LSP: connection to server is erroring.
Cannot call write after a stream was destroyed
[Error - 2:54:26 PM] Server initialization failed.
  Message: Cannot call write after a stream was destroyed
  Code: -32099 
[Error - 2:54:26 PM] Even Better TOML LSP client: couldn't create connection to server.
  Message: Cannot call write after a stream was destroyed
  Code: -32099 
[Info  - 2:54:26 PM] Connection to server got closed. Server will restart.
true
ERROR operation failed error=the LSP is not part of this build, please consult the documentation about enabling the functionality
[Error - 2:54:27 PM] Server process exited with code 1.
[Error - 2:54:27 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 2:54:27 PM] Connection to server got closed. Server will restart.
true
[Error - 2:54:27 PM] Even Better TOML LSP client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 2:54:27 PM] Server process exited with code 1.
[Error - 2:54:27 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 2:54:27 PM] Connection to server got closed. Server will restart.
true
[Error - 2:54:27 PM] Even Better TOML LSP client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 2:54:27 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 2:54:27 PM] Server process exited with code 1.
[Error - 2:54:27 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 2:54:27 PM] Connection to server got closed. Server will restart.
true
[Error - 2:54:27 PM] Even Better TOML LSP client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 2:54:27 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 2:54:27 PM] Server process exited with code 1.
[Error - 2:54:27 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 2:54:27 PM] The Even Better TOML LSP server crashed 5 times in the last 3 minutes. The server will not be restarted. See the output for more information.
[Error - 2:54:27 PM] Even Better TOML LSP client: couldn't create connection to server.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Error - 2:54:27 PM] Restarting server failed
  Message: Pending response rejected since connection got disposed
  Code: -32097 
@panekj
Copy link
Collaborator

panekj commented Dec 22, 2024

ERROR operation failed error=the LSP is not part of this build, please consult the documentation about enabling the functionality

It seems you have installed taplo without LSP feature

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

2 participants