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

Installing other jdtls version fails #1826

Open
2 tasks done
wwingyou opened this issue Nov 12, 2024 · 0 comments
Open
2 tasks done

Installing other jdtls version fails #1826

wwingyou opened this issue Nov 12, 2024 · 0 comments

Comments

@wwingyou
Copy link

wwingyou commented Nov 12, 2024

I've searched open issues for similar requests

  • Yes

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

  • Yes

Problem description

Downloading previous version of jdtls fails. The download url of previous versions seems to be wrong. It tries to download jdtls v1.39.0 from "https://download.eclipse.org/jdtls/milestones/1.39.0/jdt-language-server-1.39.0-202410311350.tar.gz", but actural url is "https://www.eclipse.org/downloads/download.php?file=/jdtls/milestones/1.39.0/jdt-language-server-1.39.0-202408291433.tar.gz". The date component is wrong.

Expected behavior

download success

Affected packages

jdtls

Mason output

Fetching available versions…
Downloading file "https://download.eclipse.org/jdtls/milestones/1.39.0/jdt-language-server-1.39.0-202410311350.tar.gz"…
spawn: wget failed with exit code 8 and signal 0. 
Failed to download file "https://download.eclipse.org/jdtls/milestones/1.39.0/jdt-language-server-1.39.0-202410311350.tar.gz".

Installation log

[WARN  화 11/12 12:52:33 2024] ...zy/mason.nvim/lua/mason-core/installer/registry/util.lua:50: Failed to fetch versions for package Package(name=jdtls)
[ERROR 화 11/12 12:52:35 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=jdtls) error='spawn: wget failed with exit code 8 and signal 0. \nFailed to download file "https://download.eclipse.org/jdtls/milestones/1.40.0/jdt-language-server-1.40.0-202410311350.tar.gz".'
[INFO  화 11/12 12:53:13 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:184: Executing installer for Package(name=jdtls) {
  version = "1.39.0"
}
[WARN  화 11/12 12:53:13 2024] ...zy/mason.nvim/lua/mason-core/installer/registry/util.lua:50: Failed to fetch versions for package Package(name=jdtls)
[ERROR 화 11/12 12:53:15 2024] ...e/nvim/lazy/mason.nvim/lua/mason-core/installer/init.lua:249: Installation failed for Package(name=jdtls) error='spawn: wget failed with exit code 8 and signal 0. \nFailed to download file "https://download.eclipse.org/jdtls/milestones/1.39.0/jdt-language-server-1.39.0-202410311350.tar.gz".'

Neovim version (>= 0.7)

NVIM v0.10.1
Build type: Release
LuaJIT 2.1.1724512491

Operating system/version

Darwin iseung-gyuui-MacBookPro.local 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:39:07 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6000 arm64

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-11-11-nappy-elephant` is installed.

mason.nvim [Core utils] ~
- OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send`
- OK wget: `GNU Wget 1.24.5. darwin23.2.0에 빌드함.`
- OK curl: `curl 8.7.1 (x86_64-apple-darwin24.0) libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.62.0`
- OK gzip: `Apple gzip 448.0.3`
- OK gtar: `tar (GNU tar) 1.34`
- OK bash: `GNU bash, version 3.2.57(1)-release (arm64-apple-darwin24)`
- OK sh: `Ok`

mason.nvim [Languages] ~
- OK Go: `go version go1.22.2 darwin/arm64`
- 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 cargo: `cargo 1.77.2 (e52e36006 2024-03-26)`
- OK Ruby: `ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [arm64-darwin23]`
- OK node: `v20.13.1`
- OK java: `openjdk version "21.0.2" 2024-01-16 LTS`
- WARNING julia: not available
  - ADVICE:
    - spawn: julia failed with exit code - and signal -. julia is not executable
- OK python: `Python 3.11.3`
- OK npm: `10.8.1`
- OK javac: `javac 21.0.2`
- OK JAVA_HOME: `openjdk version "21.0.2" 2024-01-16 LTS`
- OK luarocks: `/Users/dogchew/.asdf/installs/lua/5.1/luarocks/bin/luarocks 3.11.1`
- OK RubyGem: `3.2.33`
- OK pip: `pip 23.2.1 from /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/pip (python 3.11)`
- OK python venv: `Ok`

mason.nvim [GitHub] ~
- OK GitHub API rate limit. Used: 0. Remaining: 60. Limit: 60. Reset: 화 11/12 14:03:30 2024.
  Install and authenticate via gh-cli to increase rate limit.

Screenshots

스크린샷 2024-11-12 오후 12 53 40
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

1 participant