-
-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
Milestone
Description
version: 0dfa33a
rpc logs:
Starting project
Received request textDocument/codeAction before engine was initialized. Ignoring.
Received request textDocument/codeLens before engine was initialized. Ignoring.
Found elixir for hello at c:/Users/xxx/AppData/Local/mise/installs/elixir/1.19.3/bin/elixir.bat
Finding or building engine for project hello
[Project file:///d%3A/proj/hello] Failed to initialize: {:shutdown, {:failed_to_start_child, {XPExpert.Project.Node, "hello"}, {:error, :normal, ~c"done\r\n"}}}
hello is phoneix example project. generate with phx.new. Place on D:\proj\hello
some zed config
"lsp": {
"expert": {
"binary": {
"path": "C:\\Users\\xxx\\expert\\expert_windows_amd64.exe",
"arguments": ["--stdio"],
},
},
},
some extra logs
00:29:33.119 [debug] [name: XPExpert, buffer: XPExpert.Buffer, task_supervisor: :expert_task_queue, dynamic_supervisor: XPExpert.DynamicSupervisor, assigns: XPExpert.Assigns]
00:29:33.123 [info] Child XPExpert of Supervisor XPExpert.Supervisor started
Pid: #PID<0.166.0>
Start Call: XPExpert.start_link([name: XPExpert, buffer: XPExpert.Buffer, task_supervisor: :expert_task_queue, dynamic_supervisor: XPExpert.DynamicSupervisor, assigns: XPExpert.Assigns])
Restart: :permanent
Shutdown: 500
Type: :worker
00:29:33.123 [info] Application xp_expert started at :nonode@nohost
00:29:33.176 [info] [Project file:///d%3A/proj/hello] Starting project
00:29:33.176 [debug] sent notification server -> client window/logMessage
00:29:33.189 [info] Child {XPExpert.Project.Progress, "hello"} of Supervisor :"hello::supervisor" started
Pid: #PID<0.171.0>
Start Call: XPExpert.Project.Progress.start_link(%XPForge.Project{root_uri: "file:///d%3A/proj/hello", mix_exs_uri: "file:///d%3A/proj/hello/mix.exs", mix_project?: true, mix_env: nil, mix_target: nil, env_variables: %{}, project_module: nil, entropy: 14919})
Restart: :permanent
Shutdown: 5000
Type: :worker
00:29:33.190 [info] Child {XPExpert.EngineSupervisor, "hello"} of Supervisor :"hello::supervisor" started
Pid: #PID<0.172.0>
Start Call: XPExpert.EngineSupervisor.start_link(%XPForge.Project{root_uri: "file:///d%3A/proj/hello", mix_exs_uri: "file:///d%3A/proj/hello/mix.exs", mix_project?: true, mix_env: nil, mix_target: nil, env_variables: %{}, project_module: nil, entropy: 14919})
Restart: :permanent
Shutdown: 5000
Type: :worker
00:29:33.193 [debug] sent request server -> client window/workDoneProgress/create
00:29:33.196 [info] Child XPForge.EPMD of Supervisor :net_sup started
Pid: #PID<0.175.0>
Start Call: XPForge.EPMD.start_link()
Restart: :permanent
Shutdown: 2000
Type: :worker
00:29:33.197 [debug] sent notification server -> client $/progress
00:29:33.197 [info] Child :auth of Supervisor :net_sup started
Pid: #PID<0.176.0>
Start Call: :auth.start_link()
Restart: :permanent
Shutdown: 2000
Type: :worker
00:29:33.225 [debug] handled request client -> server initialize in 95ms
00:29:33.228 [debug] sent request server -> client client/registerCapability
00:29:33.231 [debug] handled notification client -> server workspace/didChangeConfiguration in 5ms
00:29:33.233 [info] Opened file:///D:/proj/hello/lib/hello/application.ex
00:29:33.233 [debug] handled notification client -> server textDocument/didOpen in 7ms
00:29:33.236 [debug] handled notification client -> server initialized in 10ms
00:29:33.507 [debug] sent notification server -> client window/logMessage
00:29:33.507 [debug] handled request client -> server textDocument/codeAction in 16ms
00:29:33.522 [debug] sent notification server -> client window/logMessage
00:29:33.522 [debug] handled request client -> server textDocument/codeLens in 2ms
00:29:35.229 [info] Child :net_kernel of Supervisor :net_sup started
Pid: #PID<0.177.0>
Start Call: :net_kernel.start_link(%{name: :"expert-manager-hello-14919@127.0.0.1", supervisor: :net_sup_dynamic, net_tickintensity: 4, net_ticktime: 60, name_domain: :longnames, clean_halt: false})
Restart: :permanent
Shutdown: 2000
Type: :worker
00:29:35.229 [debug] Child :net_sup_dynamic of Supervisor :kernel_sup started
Pid: #PID<0.174.0>
Start Call: :erl_distribution.start_link(%{name: :"expert-manager-hello-14919@127.0.0.1", supervisor: :net_sup_dynamic, net_tickintensity: 4, net_ticktime: 60, name_domain: :longnames, clean_halt: false})
Restart: :permanent
Shutdown: 1000
Type: :supervisor
00:29:35.238 [info] Found elixir for hello at c:/Users/xxx/AppData/Local/mise/installs/elixir/1.19.3/bin/elixir.bat
00:29:35.238 [debug] sent notification server -> client window/logMessage
00:29:35.238 [debug] sent notification server -> client window/logMessage
00:29:35.238 [debug] sent request server -> client window/workDoneProgress/create
00:29:35.239 [debug] sent notification server -> client $/progress
00:29:35.314 [debug] Building engine: Runtime terminating during boot ({'cannot get bootfile','C:\\Users\\xxx\\AppData\\Local\\.burrito\\expert_erts-15.2.7_0.1.0-0dfa33a/bin/start.boot'})
00:29:35.314 [debug] Building engine:
00:29:35.314 [debug] Building engine:
Crash dump is being written to:
00:29:35.314 [debug] Building engine: erl_crash.dump
00:29:35.314 [debug] Building engine: ...
00:29:35.438 [debug] Building engine: done
00:29:35.444 [error] Engine build script exited with reason: :normal done
00:29:35.445 [debug] sent notification server -> client $/progress
00:29:35.445 [error] Process #PID<0.173.0> terminating
** (exit) {:error, :normal, ~c"done\r\n"}
(stdlib 6.2.2.1) gen_server.erl:2210: :gen_server.init_it/6
(stdlib 6.2.2.1) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
Initial Call: XPExpert.Project.Node.init/1
Ancestors: [:"hello::supervisor", XPExpert.ProjectSupervisor, XPExpert.Supervisor, #PID<0.157.0>]
Message Queue Length: 0
Messages: []
Links: [#PID<0.170.0>]
Dictionary: []
Trapping Exits: false
Status: :running
Heap Size: 46422
Stack Size: 29
Reductions: 19605
00:29:35.445 [error] Child {XPExpert.Project.Node, "hello"} of Supervisor :"hello::supervisor" failed to start
** (exit) {:error, :normal, ~c"done\r\n"}
Start Call: XPExpert.Project.Node.start_link(%XPForge.Project{root_uri: "file:///d%3A/proj/hello", mix_exs_uri: "file:///d%3A/proj/hello/mix.exs", mix_project?: true, mix_env: nil, mix_target: nil, env_variables: %{}, project_module: nil, entropy: 14919})
Restart: :permanent
Shutdown: 5000
Type: :worker