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

Error: Timed out waiting for language servers to shutdown #4551

Closed
geometryolife opened this issue Nov 1, 2022 · 2 comments
Closed

Error: Timed out waiting for language servers to shutdown #4551

geometryolife opened this issue Nov 1, 2022 · 2 comments
Labels
C-bug Category: This is a bug

Comments

@geometryolife
Copy link

Summary

This bug was introduced in the commit d706194 or later.
It caused the following two problems:

First: Open the .toml file, the time to use the :q to exit becomes very long, it takes about 3 seconds
Second: After exiting helix, Error: Timed out waiting for language servers to shutdown is output on stdout

Reproduction Steps

I tried this:

  1. hx languages.toml

I expected this to happen:

Exit normally, no error output

Instead, this happened: as mentioned above

image

Helix log

~/.cache/helix/helix.log
2022-11-01T08:48:47.549 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"initialize\"\n"
2022-11-01T08:48:47.549 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"textDocument/foldingRange\"\n"
2022-11-01T08:48:47.549 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"textDocument/documentSymbol\"\n"
2022-11-01T08:48:47.549 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"textDocument/formatting\"\n"
2022-11-01T08:48:47.549 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"textDocument/completion\"\n"
2022-11-01T08:48:47.549 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"textDocument/hover\"\n"
2022-11-01T08:48:47.549 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"textDocument/documentLink\"\n"
2022-11-01T08:48:47.549 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"textDocument/semanticTokens/full\"\n"
2022-11-01T08:48:47.549 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"textDocument/prepareRename\"\n"
2022-11-01T08:48:47.549 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"textDocument/rename\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered notification handler method=\"textDocument/didOpen\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered notification handler method=\"textDocument/didChange\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered notification handler method=\"textDocument/didSave\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered notification handler method=\"textDocument/didClose\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered notification handler method=\"workspace/didChangeConfiguration\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered notification handler method=\"workspace/didChangeWorkspaceFolders\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"taplo/convertToJson\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"taplo/convertToToml\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"taplo/listSchemas\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered request handler method=\"taplo/associatedSchema\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered notification handler method=\"taplo/associateSchema\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: registered notification handler method=\"initialized\"\n"
2022-11-01T08:48:47.550 helix_lsp::transport [ERROR] err <- " INFO taplo: LSP server listening transport=\"stdio\"\n"
2022-11-01T08:48:56.475 helix_term::application [ERROR] Timed out waiting for language servers to shutdown
2022-11-01T08:52:48.296 helix_view::editor [ERROR] editor error: 1 unsaved buffer(s) remaining: ["helix.log"]

Platform

WSL2 of Ubuntu

Terminal Emulator

windows-terminal

Helix Version

helix 22.08.1 (756253b)

@geometryolife geometryolife added the C-bug Category: This is a bug label Nov 1, 2022
@archseer
Copy link
Member

archseer commented Nov 1, 2022

This is essentially a duplicate of #4468

@dead10ck dead10ck closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2022
@emilyyyylime
Copy link
Contributor

I'm also facing this; happens on pretty much any language, quite annoying indeed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

4 participants