-
Notifications
You must be signed in to change notification settings - Fork 220
Description
Hello, when I switched to the new version 1.11.x from 1.10.8 of Julia on Win11(24H2), I got the error prompt "Julia Language Server client: couldn't create connection to server.", The outputs of my vscode are
[ Info: Starting LS with Julia 1.11.3
┌ Warning: attempting to remove probably stale pidfile
│ path = "C:\Users\dxd\AppData\Roaming\Code\User\globalStorage\julialang.language-julia\lsdepot\v1\compiled\v1.11\Pkg\tUTdb_o7TBS.ji.pidfile"
└ @ FileWatching.Pidfile D:\Program Files\Julia\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:249
ERROR: LoadError: RequestError: URL rejected: Malformed input to a URL function while requesting file://C:\Users\dxd\AppData\Local\Temp\jl_D42C.tmp
Stacktrace:
[1] (::Downloads.var"#9#19"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, Nothing, String, Bool, Bool})(easy::Downloads.Curl.Easy)
@ Downloads D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:452
[2] with_handle(f::Downloads.var"#9#19"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, Nothing, String, Bool, Bool}, handle::Downloads.Curl.Easy)
@ Downloads.Curl D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Curl\Curl.jl:105
[3] #8
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:363 [inlined]
[4] arg_write(f::Downloads.var"#8#18"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Bool, Nothing, String, Bool, Bool}, arg::IOStream)
@ ArgTools D:\Program Files\Julia\share\julia\stdlib\v1.11\ArgTools\src\ArgTools.jl:134
[5] #7
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:362 [inlined]
[6] arg_read
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\ArgTools\src\ArgTools.jl:76 [inlined]
[7] request(url::String; input::Nothing, output::IOStream, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Nothing, verbose::Bool, debug::Nothing, throw::Bool, downloader::Downloads.Downloader, interrupt::Nothing)
@ Downloads D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:361
[8] request
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:328 [inlined]
[9] #3
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:259 [inlined]
[10] arg_write(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, Downloads.Downloader, String}, arg::Nothing)
@ ArgTools D:\Program Files\Julia\share\julia\stdlib\v1.11\ArgTools\src\ArgTools.jl:123
[11] #download#2
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:258 [inlined]
[12] download
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:247 [inlined]
[13] top-level scope
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:512
[14] include
@ .\Base.jl:557 [inlined]
[15] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
@ Base .\loading.jl:2881
[16] top-level scope
@ stdin:6
in expression starting at D:\Program Files\Julia\share\julia\stdlib\v1.11\Downloads\src\Downloads.jl:1
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile Downloads [f43a241f-c20a-4ad4-852c-f6b1247861c6] to "c:\Users\dxd\AppData\Roaming\Code\User\globalStorage\julialang.language-julia\lsdepot\v1\compiled\v1.11\Downloads\jl_C036.tmp".
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base .\loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base .\loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile D:\Program Files\Julia\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:95
[5] #mkpidlock#6
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@kwargs{stale_age::Int64})
@ FileWatching.Pidfile D:\Program Files\Julia\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:116
[7] #invokelatest#2
@ .\essentials.jl:1057 [inlined]
[8] invokelatest
@ .\essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:3698
[10] maybe_cachefile_lock
@ .\loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[13] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[14] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[16] macro expansion
@ .\loading.jl:2314 [inlined]
[17] macro expansion
@ .\lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[19] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[20] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
[22] include(mod::Module, _path::String)
@ Base .\Base.jl:557
[23] include(x::String)
@ Pkg D:\Program Files\Julia\share\julia\stdlib\v1.11\Pkg\src\Pkg.jl:3
[24] top-level scope
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\Pkg\src\Pkg.jl:66
[25] include
@ .\Base.jl:557 [inlined]
[26] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::String)
@ Base .\loading.jl:2881
[27] top-level scope
@ stdin:6
in expression starting at D:\Program Files\Julia\share\julia\stdlib\v1.11\Pkg\src\PlatformEngines.jl:5
in expression starting at D:\Program Files\Julia\share\julia\stdlib\v1.11\Pkg\src\Pkg.jl:3
in expression starting at stdin:6
ERROR: LoadError: Failed to precompile Pkg [44cfe95a-1eb2-52ea-b672-e2afdf69b78f] to "c:\Users\dxd\AppData\Roaming\Code\User\globalStorage\julialang.language-julia\lsdepot\v1\compiled\v1.11\Pkg\jl_98F1.tmp".
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
[2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool; flags::Cmd, cacheflags::Base.CacheFlags, reasons::Dict{String, Int64}, loadable_exts::Nothing)
@ Base .\loading.jl:3174
[3] (::Base.var"#1110#1111"{Base.PkgId})()
@ Base .\loading.jl:2579
[4] mkpidlock(f::Base.var"#1110#1111"{Base.PkgId}, at::String, pid::Int32; kwopts::@kwargs{stale_age::Int64, wait::Bool})
@ FileWatching.Pidfile D:\Program Files\Julia\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:95
[5] #mkpidlock#6
@ D:\Program Files\Julia\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:90 [inlined]
[6] trymkpidlock(::Function, ::Vararg{Any}; kwargs::@kwargs{stale_age::Int64})
@ FileWatching.Pidfile D:\Program Files\Julia\share\julia\stdlib\v1.11\FileWatching\src\pidfile.jl:116
[7] #invokelatest#2
@ .\essentials.jl:1057 [inlined]
[8] invokelatest
@ .\essentials.jl:1052 [inlined]
[9] maybe_cachefile_lock(f::Base.var"#1110#1111"{Base.PkgId}, pkg::Base.PkgId, srcpath::String; stale_age::Int64)
@ Base .\loading.jl:3698
[10] maybe_cachefile_lock
@ .\loading.jl:3695 [inlined]
[11] _require(pkg::Base.PkgId, env::String)
@ Base .\loading.jl:2565
[12] __require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2388
[13] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[14] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[15] _require_prelocked(uuidkey::Base.PkgId, env::String)
@ Base .\loading.jl:2375
[16] macro expansion
@ .\loading.jl:2314 [inlined]
[17] macro expansion
@ .\lock.jl:273 [inlined]
[18] __require(into::Module, mod::Symbol)
@ Base .\loading.jl:2271
[19] #invoke_in_world#3
@ .\essentials.jl:1089 [inlined]
[20] invoke_in_world
@ .\essentials.jl:1086 [inlined]
[21] require(into::Module, mod::Symbol)
@ Base .\loading.jl:2260
in expression starting at c:\Users\dxd.vscode\extensions\julialang.language-julia-1.127.2\scripts\languageserver\main.jl:7
[Error - 3:26:51 PM] Server initialization failed.
Message: Pending response rejected since connection got disposed
Code: -32097
[Info - 3:26:51 PM] Connection to server got closed. Server will restart.
true
[Error - 3:26:51 PM] Julia Language Server client: couldn't create connection to server.
Message: Pending response rejected since connection got disposed
Code: -32097
[Error - 3:26:51 PM] Server process exited with code 1.
The version of julia extension I installed is 1.127.2. Any idea to solve it?