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

Unable to download sonarlint-language-server version other than latest #1819

Open
2 tasks done
Alexandoooor opened this issue Oct 25, 2024 · 1 comment
Open
2 tasks done

Comments

@Alexandoooor
Copy link

I've searched open issues for similar requests

  • Yes

I've recently downloaded the latest plugin version of mason.nvim

  • Yes

Problem description

Trying to install any version of sonarlint-language-server other than the latest fails. Even if I specify release 4.9.0+76673 for example mason complains that wget can't find sonarlint-vscode-4.11.1.vsix. Which it will of course only find for release 4.11.1.

Expected behavior

Mason install command should fetch the sonarlint-vscode-x.y.z.vsix matching the requested release.

Affected packages

sonarlint-language-server

Mason output

Failed
    ◍ sonarlint-language-server
      ▼ Displaying full log
        Fetching available versions…
        Downloading file "https://github.com/sonarsource/sonarlint-vscode/releases/download/4.9.0+76673/sonarlint-vscode-4.11.1.vsix"…
        spawn: wget failed with exit code 8 and signal 0. 
        Failed to download file "https://github.com/sonarsource/sonarlint-vscode/releases/download/4.9.0+76673/sonarlint-vscode-4.11.1.vsix".

Installation log

[ERROR fre 25 okt 2024 13:27:36] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=sonarlint-language-server) error='spawn: wget failed with exit code 8 and signal 0. \nFailed to download file "https://github.com/sonarsource/sonarlint-vscode/releases/download/4.9.0+76673/sonarlint-vscode-4.11.1.vsix".'

Neovim version (>= 0.7)

NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1713484068

Operating system/version

6.8.0-47-generic #47~22.04.1-Ubuntu

Healthcheck

==============================================================================
mason: require("mason.health").check()

mason.nvim ~
- OK mason.nvim version v1.10.0
- OK PATH: prepend
- OK Providers: 
    mason.providers.registry-api
    mason.providers.client
- OK neovim version >= 0.7.0

mason.nvim [Registries] ~
- OK Registry `github.com/mason-org/mason-registry version: 2024-10-25-jaunty-flock` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.`
- OK wget: `GNU Wget 1.21.2 built on linux-gnu.`
- OK curl: `curl 7.81.0 (x86_64-pc-linux-gnu) libcurl/7.81.0 OpenSSL/3.0.2 zlib/1.2.11 brotli/1.0.9 zstd/1.4.8 libidn2/2.3.2 libpsl/0.21.0 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.43.0 librtmp/2.3 OpenLDAP/2.5.18`
- OK gzip: `gzip 1.10`
- OK tar: `tar (GNU tar) 1.34`
- OK bash: `GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- OK Go: `go version go1.18.1 linux/amd64`
- WARNING Composer: not available
  - ADVICE:
    - spawn: composer failed with exit code - and signal -. composer is not executable
- WARNING PHP: not available
  - ADVICE:
    - spawn: php failed with exit code - and signal -. php is not executable
- OK Ruby: `ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-linux-gnu]`
- OK node: `v18.20.3`
- OK cargo: `cargo 1.75.0 (1d8b05cdd 2023-11-20)`
- OK luarocks: `/usr/bin/luarocks 3.8.0`
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK RubyGem: `3.3.5`
- OK java: `openjdk version "17.0.12" 2024-07-16`
- OK python: `Python 3.10.12`
- OK npm: `10.7.0`
- OK javac: `javac 17.0.12`
- OK pip: `pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 4. Remaining: 56. Limit: 60. Reset: fre 25 okt 2024 14:30:47.
  Install and authenticate via gh-cli to increase rate limit.

Screenshots

No response

@qiyuewuyi2333
Copy link

I met a similiar issue like this. My mason couldn't download clangd by wget, and with exit code 4 and signal 0
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants