Comments (11)
Could you restart it and then when it crashes open the output bar (View: Toggle Output, the key binding should be C-K C-H), switch to 'julia Language Server' in the drop down on the right hand side and paste the output.
Cheers!
from julia-vscode.
The key binding for View: Toggle Output
is Ctrl+Shift+U on Windows.
from julia-vscode.
There you go.
INFO: Initializing package repository /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/julia_pkgdir/v0.5
INFO: Package directory /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/julia_pkgdir/v0.5 is already initialized.
INFO: Installing Lint v0.2.5
INFO: Removing JSON v0.8.0
ERROR: LoadError: KeyError: key "PATH" not found
in access_env(::Base.##339#340, ::String) at ./env.jl:45
in getindex(::Base.EnvHash, ::String) at ./env.jl:73
in getindex(::Base.EnvHash, ::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in load_juliarc() at ./client.jl:274
in process_options(::Base.JLOptions) at ./client.jl:216
in _start() at ./client.jl:318
in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
while loading /Applications/Julia-0.5.app/Contents/Resources/julia/etc/julia/juliarc.jl, in expression starting on line 9
INFO: Another julia language server process is currently updating packages, trying again in 1 second.
ERROR: LoadError: KeyError: key "params" not found
in getindex(::Dict{String,Any}, ::String) at ./dict.jl:688
in parse(::Type{JSONRPC.Request}, ::String) at /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/jsonrpc.jl:33
in run(::LanguageServer) at /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/languageserver.jl:28
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in process_options(::Base.JLOptions) at ./client.jl:262
in _start() at ./client.jl:318
in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
while loading /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/main.jl, in expression starting on line 43
[Info - 6:45:30 PM] Connection to server got closed. Server will restart.
INFO: Initializing package repository /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/julia_pkgdir/v0.5
INFO: Package directory /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/julia_pkgdir/v0.5 is already initialized.
INFO: Installing JSON v0.8.0
INFO: Removing Lint v0.2.5
ERROR: LoadError: KeyError: key "PATH" not found
in access_env(::Base.##339#340, ::String) at ./env.jl:45
in getindex(::Base.EnvHash, ::String) at ./env.jl:73
in getindex(::Base.EnvHash, ::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in load_juliarc() at ./client.jl:274
in process_options(::Base.JLOptions) at ./client.jl:216
in _start() at ./client.jl:318
in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
while loading /Applications/Julia-0.5.app/Contents/Resources/julia/etc/julia/juliarc.jl, in expression starting on line 9
INFO: Another julia language server process is currently updating packages, trying again in 1 second.
ERROR: LoadError: UndefVarError: LintContext not defined
in Block(::Bool, ::Expr, ::Range) at /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/parse.jl:23
in parseblocks(::String, ::LanguageServer, ::Bool) at /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/parse.jl:79
in process(::JSONRPC.Request{Val{Symbol("textDocument/didOpen")},DidOpenTextDocumentParams}, ::LanguageServer) at /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/provider_misc.jl:25
in run(::LanguageServer) at /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/languageserver.jl:30
in include_from_node1(::String) at ./loading.jl:488
in include_from_node1(::String) at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
in process_options(::Base.JLOptions) at ./client.jl:262
in _start() at ./client.jl:318
in _start() at /Applications/Julia-0.5.app/Contents/Resources/julia/lib/julia/sys.dylib:?
while loading /Users/ken/.vscode/extensions/julialang.language-julia-0.5.0-beta.2/scripts/languageserver/main.jl, in expression starting on line 43
[Error - 6:45:37 PM] Connection to server got closed. Server will not be restarted.
[Error - 6:45:37 PM] Connection to server is erroring. Shutting down server.
from julia-vscode.
Ah, this is somehow related to our package installation story. I'm trying something completely different for that now, hold tight.
from julia-vscode.
@davidanthoff this maybe related to this? I'm shooting in the dark here but is the PATH env not being passed in our spawnOptions
on Mac?
from julia-vscode.
Here is what I'm trying for now: put all the packages that we need as submodules into this git repo, so that they will be shipped in the VSIX file for the extension. If that works, we won't even need any setup code, all the package code would just be deployed with the extension itself. I hope that is more robust, and it would certainly speed up first-use things a lot.
from julia-vscode.
That sounds good
from julia-vscode.
from julia-vscode.
I'll keep the issue open until you report that things work.
from julia-vscode.
beta3 did the job, thank you very much @davidanthoff and @ZacLN !
from julia-vscode.
Excellent, thanks for testing!
from julia-vscode.
Related Issues (20)
- Request for improvement: Please STOP the cursor to move down in REPL while we get results inline on the editor HOT 1
- Linting functions located at extensions of julia package, i.e., at ext/ directory HOT 1
- Julia crash + hangs with large Plots.jl plot HOT 3
- Possible method call error reported for WebSockets.send
- Removing all breakpoints from file in the GUI does not remove them in Julia
- Linter gets confused by generated constructors HOT 2
- REPL crash on loading some packages in julia master HOT 1
- LoadError: UndefVarError: `is_GotoIfNot` not defined
- LS doesn't understand certain names
- 'Missing reference' for @with_kw with default values HOT 3
- Missing reference for all standard libraries HOT 1
- Debugger continues to breakpoint when if statement is false HOT 1
- delete the Insider extension from OpenVSX HOT 1
- the prerelease extension is not available for installation when using OpenVSX
- False `UnusedTypeParameter` Warning HOT 2
- Can't load Cthulhu inside vs-code REPL HOT 5
- Julia 1.11: Issues if REPLExt is not in global env HOT 1
- Julia 1.11: Stackoverflow in package_callbacks because of require calls
- neovim: LspFailed after external juliaup update command
- Julia VS code can't find abstract type definition
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from julia-vscode.