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

vscode-clangd: "Check for language server update" failed #559

Open
jievince opened this issue Dec 1, 2023 · 4 comments
Open

vscode-clangd: "Check for language server update" failed #559

jievince opened this issue Dec 1, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@jievince
Copy link

jievince commented Dec 1, 2023

Please describe the problem.
For hints on what information is helpful, see: https://clangd.llvm.org/troubleshooting.html

If you can, provide a minimal chunk of code that shows the problem (either inline, or attach it if larger).

image

image

System information
Clangd version (from the log, or clangd --version):

clangd --version
Ubuntu clangd version 13.0.1-++20220120110924+75e33f71c2da-1~exp1~20220120231001.58
Features: linux
Platform: x86_64-pc-linux-gnu

clangd extension version:
Operating system:

cat /etc/issue
Ubuntu 20.04.4 LTS \n \l
@jievince jievince added the bug Something isn't working label Dec 1, 2023
@HighCommander4
Copy link
Contributor

clangd extension version:

You left this blank, can you post it please?

You can see the version when you hover over the extension in the Extensions panel, for example in this screenshot the version is v0.1.25:

vscode-clangd-version

@jievince
Copy link
Author

jievince commented Dec 1, 2023

clangd extension version:

You left this blank, can you post it please?

Hi, I use the latest version v0.1.25

@jievince
Copy link
Author

jievince commented Dec 1, 2023

Does this error have anything to do with the clangd installed on my computer? I found that its version number 13.0.1-++20220120110924+75e33f71c2da-1~exp1~20220120231001.58 looked very strange.

@HighCommander4
Copy link
Contributor

Does this error have anything to do with the clangd installed on my computer? I found that its version number 13.0.1-++20220120110924+75e33f71c2da-1~exp1~20220120231001.58 looked very strange.

Yes, I think the issue is related to the update check not handling the format of this version number correctly.

A fix related to this was landed a while ago in clangd/node-clangd@fd4795c, but there may be some cases it doesn't handle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants