williamboman / nvim-lsp-installer

Further development has moved to https://github.com/williamboman/mason.nvim!
https://github.com/williamboman/mason.nvim
Apache License 2.0
2k stars 123 forks source link

error downloading arduino-language-server #861

Closed lmascelli closed 2 years ago

lmascelli commented 2 years ago

Problem description

arduino_language_server (failed) Downloading file "https://github.com/arduino/arduino-language-server/releases/download/0.7.0/arduino-language-server_0.6.0_Windows_64bit.zip"... ...taller/lua/nvim-lsp-installer/core/managers/std/init.lua:61: Failed to download file "https://github.com/arduino/arduino-language-server/releases/download/0.7.0/arduino-language-server_0.6.0_Windows_64bit.zip". spawn: curl failed with exit code 22. curl: (22) The requested URL returned error: 404

Neovim version (>= 0.7)

0.7.0

Operating system/version

Windows

I've recently downloaded the latest plugin version of both nvim-lsp-installer and nvim-lspconfig

Affected language servers

arduino

Actual behavior

as you can see in the link where it tries to download the server there is a discrepance between the version of the release (0.7.0) and the version in the filename (/arduino-language-server_0.6.0_Windows_64bit.zip)

Expected behavior

download the arduino-language-server

LspInstallInfo output

◍ arduino_language_server (failed)
        Downloading file "https://github.com/arduino/arduino-language-server/releases/download/0.7.0/arduino-language-server_0.6.0_Windows_64bit.zip"...
        ...taller/lua/nvim-lsp-installer/core/managers/std/init.lua:61: Failed to download file "https://github.com/arduino/arduino-language-server/releases/download/0.7.0/arduino-language-server_0.6.0_Windows_64bit.zip".
        spawn: curl failed with exit code 22. curl: (22) The requested URL returned error: 404

Installation log

[ERROR 13/07/2022 16:43:33] ...installer/lua/nvim-lsp-installer/core/installer/init.lua:79: Installation failed, name="arduino_language_server", error='...taller/lua/nvim-lsp-installer/core/managers/std/init.lua:61: Failed to download file "https://github.com/arduino/arduino-language-server/releases/download/0.7.0/arduino-language-server_0.6.0_Windows_64bit.zip".\nspawn: curl failed with exit code 22. curl: (22) The requested URL returned error: 404\r\n'
[INFO  13/07/2022 16:43:33] ...rt\nvim-lsp-installer/lua/nvim-lsp-installer/ui/init.lua:754: Installation completed server_name="arduino_language_server", success=false

Healthcheck

nvim-lsp-installer: require("nvim-lsp-installer.health").check()
========================================================================
## nvim-lsp-installer report
  - OK: neovim version >= 0.7.0
  - WARNING: **Go**: not available
  - WARNING: **cargo**: not available
  - WARNING: **luarocks**: not available
  - WARNING: **Ruby**: not available
  - WARNING: **RubyGem**: not available
  - WARNING: **Composer**: not available
  - WARNING: **PHP**: not available
  - OK: **npm**: `8.5.0`
  - OK: **node**: `v16.14.2
`
  - WARNING: **python3**: not available
  - WARNING: **pip3**: not available
  - OK: **javac**: `javac 16.0.2
`
  - OK: **java**: `openjdk version "16.0.2" 2021-07-20
`
  - WARNING: **julia**: not available
  - ERROR: **wget**: not available
  - OK: **curl**: `curl 7.83.1 (Windows) libcurl/7.83.1 Schannel
`
  - ERROR: **gzip**: not available
  - OK: **tar**: `bsdtar 3.5.2 - libarchive 3.5.2 zlib/1.2.5.f-ipp bz2lib/1.0.6 
`
  - OK: **python**: `Ok`
  - OK: **pip**: `pip 21.2.4 from D:\Program Files\miniconda3\lib\site-packages\pip (python 3.10)

`
  - OK: GitHub API rate limit. Used: 9. Remaining: 4991. Limit: 5000. Reset: 13/07/2022 17:18:41.

Screenshots

No response

williamboman commented 2 years ago

Hello! Woops, should be fixed in #862.