Closed PJUllrich closed 2 months ago
Check to see if start_lexical.sh
is executable.
Hey @scohen, thank you for your support 🧡 I made sure that the script is executable and that fixed the first error. However, the second error still persists unfortunately. Is it maybe related to the OTP bug that also broke ElixirLS? https://github.com/erlang/otp/issues/8510
Hmm, ah no hang on. I think it's not starting correctly:
2024-08-08T09:43:30.750716Z [INFO] Initializing default prettier with plugins {}
2024-08-08T09:43:30.750798Z [INFO] starting language servers for HEEX: lexical
2024-08-08T09:43:30.750846Z [INFO] starting language server "lexical", path: "/Users/peterullrich/Development/REDACTED", id: 1
2024-08-08T09:43:30.750892Z [INFO] starting language servers for Elixir: lexical
2024-08-08T09:43:30.753566Z [WARN] request completed with error: failed to connect to the server
2024-08-08T09:43:31.853061Z [INFO] starting language server. binary path: "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/bin/start_lexical.sh", working directory: "/Users/peterullrich/Development/REDACTED", args: []
2024-08-08T09:43:32.948597Z [INFO] skipping numeric progress token 8
2024-08-08T09:43:33.023142Z [INFO] skipping numeric progress token 8
2024-08-08T09:43:35.999578Z [WARN] failed to deserialize LSP message:
{"error":{"code":-32603,"message":"** (ErlangError) Erlang error: {:erpc, :noconnection}
(kernel 10.0) erpc.erl:1376: :erpc.call/5
(lx_server 0.5.0) lib/lexical/server/provider/handlers/code_action.ex:16: LXical.Server.Provider.Handlers.CodeAction.handle/2
(lx_server 0.5.0) lib/lexical/server/task_queue.ex:77: anonymous fn/4 in LXical.Server.TaskQueue.State.as_task/2
(elixir 1.17.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
(elixir 1.17.1) lib/task/supervised.ex:36: Task.Supervised.reply/4\n"},"id":2}
can you check the logs in the .lexical
directory in your project directory?
It doesn't look like your project node is booting correctly.
This is my lexical.log
file:
14:39:13.690 [info] Child {LoggerFileBackend, :general_log} of Supervisor Logger.Backends.Supervisor started
Pid: #PID<0.112.0>
Start Call: Logger.Backends.Watcher.start_link({{LoggerFileBackend, :general_log}, {LoggerFileBackend, :general_log}})
Restart: :transient
Shutdown: 5000
Type: :worker
14:39:13.690 [info] Child Logger.Backends.Supervisor of Supervisor Logger.Backends.Internal started
Pid: #PID<0.111.0>
Start Call: Logger.Backends.Supervisor.start_link([{LoggerFileBackend, :general_log}])
Restart: :permanent
Shutdown: :infinity
Type: :supervisor
14:39:13.690 [info] Child Logger.Backends.Internal of Supervisor Logger.Supervisor started
Pid: #PID<0.107.0>
Start Call: Logger.Backends.Internal.start_link([])
Restart: :permanent
Shutdown: :infinity
Type: :supervisor
14:39:13.690 [info] Application logger started at :nonode@nohost
14:39:14.225 [info] Child :ttb_autostart of Supervisor :runtime_tools_sup started
Pid: #PID<0.1520.0>
Start Call: :ttb_autostart.start_link()
Restart: :temporary
Shutdown: 3000
Type: :worker
14:39:14.225 [info] Application runtime_tools started at :nonode@nohost
14:39:14.225 [info] Application erts started at :nonode@nohost
14:39:14.225 [info] Application lx_lexical_shared started at :nonode@nohost
14:39:14.225 [info] Application lx_lexical_test started at :nonode@nohost
14:39:14.226 [info] Child LXSnowflake.Generator of Supervisor #PID<0.1523.0> (Supervisor.Default) started
Pid: #PID<0.1524.0>
Start Call: LXSnowflake.Generator.start_link(1704070800000, 1)
Restart: :permanent
Shutdown: 5000
Type: :worker
14:39:14.226 [info] Application lx_snowflake started at :nonode@nohost
14:39:14.226 [info] Application lx_sourceror started at :nonode@nohost
14:39:14.226 [info] Application lx_common started at :nonode@nohost
14:39:14.226 [info] Application lx_elixir_sense started at :nonode@nohost
14:39:14.226 [info] Application jason started at :nonode@nohost
14:39:14.226 [info] Application logger_file_backend started at :nonode@nohost
14:39:14.226 [info] Application lx_path_glob started at :nonode@nohost
14:39:14.226 [info] Application lx_proto started at :nonode@nohost
14:39:14.226 [info] Application lx_protocol started at :nonode@nohost
14:39:14.235 [info] Child LXical.Document.Store of Supervisor LXical.Server.Supervisor started
Pid: #PID<0.1528.0>
Start Call: LXical.Document.Store.start_link([derive: [analysis: &LXical.Ast.analyze/1]])
Restart: :permanent
Shutdown: 5000
Type: :worker
14:39:14.237 [info] Child LXical.Server of Supervisor LXical.Server.Supervisor started
Pid: #PID<0.1529.0>
Start Call: LXical.Server.start_link([])
Restart: :permanent
Shutdown: 5000
Type: :worker
14:39:14.237 [info] Child LXical.Server.ProjectSupervisor of Supervisor LXical.Server.Supervisor started
Pid: #PID<0.1530.0>
Start Call: DynamicSupervisor.start_link([name: LXical.Server.ProjectSupervisor, strategy: :one_for_one])
Restart: :permanent
Shutdown: :infinity
Type: :supervisor
14:39:14.237 [info] Child LXical.Server.TaskQueue.State.TaskSupervisor of Supervisor LXical.Server.Supervisor started
Pid: #PID<0.1531.0>
Start Call: Task.Supervisor.start_link([name: LXical.Server.TaskQueue.State.TaskSupervisor])
Restart: :permanent
Shutdown: :infinity
Type: :supervisor
14:39:14.237 [info] Child LXical.Server.TaskQueue of Supervisor LXical.Server.Supervisor started
Pid: #PID<0.1532.0>
Start Call: LXical.Server.TaskQueue.start_link([])
Restart: :permanent
Shutdown: 5000
Type: :worker
14:39:14.237 [info] Child LXical.Server.Transport.StdIO of Supervisor LXical.Server.Supervisor started
Pid: #PID<0.1533.0>
Start Call: LXical.Server.Transport.StdIO.start_link(:standard_io, &LXical.Server.protocol_message/1)
Restart: :permanent
Shutdown: 5000
Type: :worker
14:39:14.237 [info] Application lx_server started at :nonode@nohost
14:39:14.248 [info] Starting project at uri file:///Users/peterullrich/Development/REDACTED
14:39:14.259 [info] Child {LXical.Server.Project.Progress, "REDACTED"} of Supervisor :"REDACTED::supervisor" started
Pid: #PID<0.1535.0>
Start Call: LXical.Server.Project.Progress.start_link(%{__struct__: LXical.Project, entropy: 63282, project_module: nil, mix_exs_uri: "file:///Users/peterullrich/Development/REDACTED/mix.exs", mix_project?: true, root_uri: "file:///Users/peterullrich/Development/REDACTED", env_variables: %{}, mix_env: nil, mix_target: nil})
Restart: :permanent
Shutdown: 5000
Type: :worker
14:39:14.262 [info] Child {LXical.RemoteControl.ProjectNodeSupervisor, "REDACTED"} of Supervisor :"REDACTED::supervisor" started
Pid: #PID<0.1536.0>
Start Call: LXical.RemoteControl.ProjectNodeSupervisor.start_link(%{__struct__: LXical.Project, entropy: 63282, project_module: nil, mix_exs_uri: "file:///Users/peterullrich/Development/REDACTED/mix.exs", mix_project?: true, root_uri: "file:///Users/peterullrich/Development/REDACTED", env_variables: %{}, mix_env: nil, mix_target: nil})
Restart: :permanent
Shutdown: 5000
Type: :worker
14:39:14.274 [info] Child :erl_epmd of Supervisor :net_sup started
Pid: #PID<0.1539.0>
Start Call: :erl_epmd.start_link()
Restart: :permanent
Shutdown: 2000
Type: :worker
14:39:14.275 [info] Child :auth of Supervisor :net_sup started
Pid: #PID<0.1540.0>
Start Call: :auth.start_link()
Restart: :permanent
Shutdown: 2000
Type: :worker
14:39:14.278 [info] Child :net_kernel of Supervisor :net_sup started
Pid: #PID<0.1541.0>
Start Call: :net_kernel.start_link(%{name: :"manager-REDACTED-63282@127.0.0.1", supervisor: :net_sup_dynamic, name_domain: :longnames, clean_halt: false})
Restart: :permanent
Shutdown: 2000
Type: :worker
14:39:14.278 [info] Child :net_sup_dynamic of Supervisor :kernel_sup started
Pid: #PID<0.1538.0>
Start Call: :erl_distribution.start_link(%{name: :"manager-REDACTED-63282@127.0.0.1", supervisor: :net_sup_dynamic, name_domain: :longnames, clean_halt: false})
Restart: :permanent
Shutdown: 1000
Type: :supervisor
14:39:14.337 [error] GenServer :"REDACTED::node_process" terminating
** (stop) :eacces
(erts 15.0) :erlang.open_port({:spawn_executable, "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv/port_wrapper.sh"}, [env: [{~c"LaunchInstanceID", ~c"71E0CDBC-D5F2-442F-9B0B-A6C6C434AF9D"}, {~c"PATH", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0/erts-15.0/bin:/Users/peterullrich/.asdf/installs/erlang/27.0/bin:/Users/peterullrich/.asdf/plugins/elixir/shims:/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/bin:/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix/escripts:/opt/homebrew/opt/postgresql@15/bin:/opt/homebrew/opt/postgresql@16/bin:/Users/peterullrich/.pyenv/shims:/Users/peterullrich/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/Users/peterullrich/.mix/escripts:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/peterullrich/.orbstack/bin:/Users/peterullrich/Library/Python/3.9/bin"}, {~c"BINDIR", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0/erts-15.0/bin"}, {~c"__CFBundleIdentifier", ~c"dev.zed.Zed"}, {~c"ZSH", ~c"/Users/peterullrich/.oh-my-zsh"}, {~c"PYENV_ROOT", ~c"/Users/peterullrich/.pyenv"}, {~c"HOME", ~c"/Users/peterullrich"}, {~c"COMMAND_MODE", ~c"unix2003"}, {~c"ROOTDIR", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0"}, {~c"PAGER", ~c"less"}, {~c"PWD", ~c"/Users/peterullrich/Development/REDACTED"}, {~c"SHELL", ~c"/bin/zsh"}, {~c"HOMEBREW_PREFIX", ~c"/opt/homebrew"}, {~c"TMPDIR", ~c"/var/folders/j9/515ltdpd4txcrxbc08zz4xs40000gn/T/"}, {~c"LS_COLORS", ~c"di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43"}, {~c"PYENV_SHELL", ~c"zsh"}, {~c"SECURITYSESSIONID", ~c"186b1"}, {~c"ASDF_DATA_DIR", ~c"/Users/peterullrich/.asdf"}, {~c"__CF_USER_TEXT_ENCODING", ~c"0x1F5:0x0:0x0"}, {~c"MANPATH", ~c"/opt/homebrew/share/man::"}, {~c"LSCOLORS", ~c"Gxfxcxdxbxegedabagacad"}, {~c"LESS", ~c"-R"}, {~c"SHLVL", ~c"2"}, {~c"TERM", ~c"xterm-256color"}, {~c"XPC_FLAGS", ~c"0x0"}, {~c"MIX_ARCHIVES", ~c"/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix/archives"}, {~c"HOMEBREW_REPOSITORY", ~c"/opt/homebrew"}, {~c"HOMEBREW_CELLAR", ~c"/opt/homebrew/Cellar"}, {~c"ASDF_CONFIG_FILE", ~c"/Users/peterullrich/.asdfrc"}, {~c"PROGNAME", ~c"erl"}, {~c"MIX_HOME", ~c"/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix"}, {~c"XPC_SERVICE_NAME", ~c"0"}, {~c"COLORTERM", ~c"truecolor"}, {~c"LOGNAME", ~c"peterullrich"}, {~c"EMU", ~c"beam"}, {~c"ASDF_DEFAULT_TOOL_VERSIONS_FILENAME", ~c".tool-versions"}, {~c"INFOPATH", ~c"/opt/homebrew/share/info:"}, {~c"SSH_AUTH_SOCK", ~c"/private/tmp/com.apple.launchd.pZIVVe4x43/Listeners"}, {~c"ZSH_AUTOSUGGEST_HISTORY_IGNORE", ~c"fly secrets*,docker login*"}, {~c"ASDF_DIR", ~c"/opt/homebrew/opt/asdf/libexec"}, {~c"USER", ~c"peterullrich"}], cd: "/Users/peterullrich/Development/REDACTED", args: ["/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/bin/elixir", "--name", "project-REDACTED-63282@127.0.0.1", "--cookie", "lexical", "--no-halt", "-e", "Node.connect(:\"manager-REDACTED-63282@127.0.0.1\")", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_common.ez/lx_common/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_elixir_sense.ez/lx_elixir_sense/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_plugin.ez/lx_lexical_plugin/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_shared.ez/lx_lexical_shared/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_test.ez/lx_lexical_test/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_path_glob.ez/lx_path_glob/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_remote_control.ez/lx_remote_control/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_snowflake.ez/lx_snowflake/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_sourceror.ez/lx_sourceror/ebin"]])
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:43: LXical.RemoteControl.ProjectNode.State.start/3
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:161: LXical.RemoteControl.ProjectNode.handle_call/3
(stdlib 6.0) gen_server.erl:2209: :gen_server.try_handle_call/4
(stdlib 6.0) gen_server.erl:2238: :gen_server.handle_msg/6
(stdlib 6.0) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
Last message (from :"REDACTED::node"): {:start, [~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_common.ez/lx_common/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_elixir_sense.ez/lx_elixir_sense/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_plugin.ez/lx_lexical_plugin/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_shared.ez/lx_lexical_shared/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_test.ez/lx_lexical_test/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_path_glob.ez/lx_path_glob/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_remote_control.ez/lx_remote_control/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_snowflake.ez/lx_snowflake/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_sourceror.ez/lx_sourceror/ebin"]}
State: %{port: nil, status: :initializing, __struct__: LXical.RemoteControl.ProjectNode.State, project: %{__struct__: LXical.Project, entropy: 63282, project_module: nil, mix_exs_uri: "file:///Users/peterullrich/Development/REDACTED/mix.exs", mix_project?: true, root_uri: "file:///Users/peterullrich/Development/REDACTED", env_variables: %{}, mix_env: nil, mix_target: nil}, started_by: nil, stopped_by: nil, cookie: :lexical, stop_timeout: nil}
Client :"REDACTED::node" is alive
(stdlib 6.0) gen.erl:260: :gen.do_call/4
(elixir 1.17.2) lib/gen_server.ex:1125: GenServer.call/3
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:116: LXical.RemoteControl.ProjectNode.start/2
(lx_remote_control 0.5.0) lib/lexical/remote_control.ex:72: LXical.RemoteControl.start_link/1
(lx_server 0.5.0) lib/lexical/server/project/node.ex:94: LXical.Server.Project.Node.start_node/1
(lx_server 0.5.0) lib/lexical/server/project/progress/support.ex:18: LXical.Server.Project.Progress.Support.with_progress/3
(lx_server 0.5.0) lib/lexical/server/project/node.ex:52: LXical.Server.Project.Node.init/1
(stdlib 6.0) gen_server.erl:2057: :gen_server.init_it/2
14:39:14.343 [error] Process :"REDACTED::node_process" (#PID<0.1544.0>) terminating
** (ErlangError) Erlang error: :eacces:
* 1st argument: invalid port name
(erts 15.0) :erlang.open_port({:spawn_executable, "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv/port_wrapper.sh"}, [env: [{~c"LaunchInstanceID", ~c"71E0CDBC-D5F2-442F-9B0B-A6C6C434AF9D"}, {~c"PATH", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0/erts-15.0/bin:/Users/peterullrich/.asdf/installs/erlang/27.0/bin:/Users/peterullrich/.asdf/plugins/elixir/shims:/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/bin:/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix/escripts:/opt/homebrew/opt/postgresql@15/bin:/opt/homebrew/opt/postgresql@16/bin:/Users/peterullrich/.pyenv/shims:/Users/peterullrich/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/Users/peterullrich/.mix/escripts:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/peterullrich/.orbstack/bin:/Users/peterullrich/Library/Python/3.9/bin"}, {~c"BINDIR", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0/erts-15.0/bin"}, {~c"__CFBundleIdentifier", ~c"dev.zed.Zed"}, {~c"ZSH", ~c"/Users/peterullrich/.oh-my-zsh"}, {~c"PYENV_ROOT", ~c"/Users/peterullrich/.pyenv"}, {~c"HOME", ~c"/Users/peterullrich"}, {~c"COMMAND_MODE", ~c"unix2003"}, {~c"ROOTDIR", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0"}, {~c"PAGER", ~c"less"}, {~c"PWD", ~c"/Users/peterullrich/Development/REDACTED"}, {~c"SHELL", ~c"/bin/zsh"}, {~c"HOMEBREW_PREFIX", ~c"/opt/homebrew"}, {~c"TMPDIR", ~c"/var/folders/j9/515ltdpd4txcrxbc08zz4xs40000gn/T/"}, {~c"LS_COLORS", ~c"di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43"}, {~c"PYENV_SHELL", ~c"zsh"}, {~c"SECURITYSESSIONID", ~c"186b1"}, {~c"ASDF_DATA_DIR", ~c"/Users/peterullrich/.asdf"}, {~c"__CF_USER_TEXT_ENCODING", ~c"0x1F5:0x0:0x0"}, {~c"MANPATH", ~c"/opt/homebrew/share/man::"}, {~c"LSCOLORS", ~c"Gxfxcxdxbxegedabagacad"}, {~c"LESS", ~c"-R"}, {~c"SHLVL", ~c"2"}, {~c"TERM", ~c"xterm-256color"}, {~c"XPC_FLAGS", ~c"0x0"}, {~c"MIX_ARCHIVES", ~c"/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix/archives"}, {~c"HOMEBREW_REPOSITORY", ~c"/opt/homebrew"}, {~c"HOMEBREW_CELLAR", ~c"/opt/homebrew/Cellar"}, {~c"ASDF_CONFIG_FILE", ~c"/Users/peterullrich/.asdfrc"}, {~c"PROGNAME", ~c"erl"}, {~c"MIX_HOME", ~c"/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix"}, {~c"XPC_SERVICE_NAME", ~c"0"}, {~c"COLORTERM", ~c"truecolor"}, {~c"LOGNAME", ~c"peterullrich"}, {~c"EMU", ~c"beam"}, {~c"ASDF_DEFAULT_TOOL_VERSIONS_FILENAME", ~c".tool-versions"}, {~c"INFOPATH", ~c"/opt/homebrew/share/info:"}, {~c"SSH_AUTH_SOCK", ~c"/private/tmp/com.apple.launchd.pZIVVe4x43/Listeners"}, {~c"ZSH_AUTOSUGGEST_HISTORY_IGNORE", ~c"fly secrets*,docker login*"}, {~c"ASDF_DIR", ~c"/opt/homebrew/opt/asdf/libexec"}, {~c"USER", ~c"peterullrich"}], cd: "/Users/peterullrich/Development/REDACTED", args: ["/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/bin/elixir", "--name", "project-REDACTED-63282@127.0.0.1", "--cookie", "lexical", "--no-halt", "-e", "Node.connect(:\"manager-REDACTED-63282@127.0.0.1\")", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_common.ez/lx_common/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_elixir_sense.ez/lx_elixir_sense/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_plugin.ez/lx_lexical_plugin/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_shared.ez/lx_lexical_shared/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_test.ez/lx_lexical_test/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_path_glob.ez/lx_path_glob/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_remote_control.ez/lx_remote_control/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_snowflake.ez/lx_snowflake/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_sourceror.ez/lx_sourceror/ebin"]])
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:43: LXical.RemoteControl.ProjectNode.State.start/3
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:161: LXical.RemoteControl.ProjectNode.handle_call/3
(stdlib 6.0) gen_server.erl:2209: :gen_server.try_handle_call/4
(stdlib 6.0) gen_server.erl:2238: :gen_server.handle_msg/6
(stdlib 6.0) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
Initial Call: LXical.RemoteControl.ProjectNode.init/1
Ancestors: [LXical.RemoteControl.ProjectNodeSupervisor, :"REDACTED::supervisor", LXical.Server.ProjectSupervisor, LXical.Server.Supervisor, #PID<0.1526.0>]
Message Queue Length: 1
Messages: [{:EXIT, #Port<0.6>, :normal}]
Links: [#PID<0.1536.0>]
Dictionary: []
Trapping Exits: true
Status: :running
Heap Size: 17731
Stack Size: 29
Reductions: 86556
14:39:14.344 [error] Process #PID<0.1537.0> terminating
** (exit) exited in: GenServer.call(:"REDACTED::node_process", {:start, [~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_common.ez/lx_common/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_elixir_sense.ez/lx_elixir_sense/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_plugin.ez/lx_lexical_plugin/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_shared.ez/lx_lexical_shared/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_test.ez/lx_lexical_test/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_path_glob.ez/lx_path_glob/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_remote_control.ez/lx_remote_control/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_snowflake.ez/lx_snowflake/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_sourceror.ez/lx_sourceror/ebin"]}, 3500)
** (EXIT) an exception was raised:
** (ErlangError) Erlang error: :eacces:
* 1st argument: invalid port name
(erts 15.0) :erlang.open_port({:spawn_executable, "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv/port_wrapper.sh"}, [env: [{~c"LaunchInstanceID", ~c"71E0CDBC-D5F2-442F-9B0B-A6C6C434AF9D"}, {~c"PATH", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0/erts-15.0/bin:/Users/peterullrich/.asdf/installs/erlang/27.0/bin:/Users/peterullrich/.asdf/plugins/elixir/shims:/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/bin:/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix/escripts:/opt/homebrew/opt/postgresql@15/bin:/opt/homebrew/opt/postgresql@16/bin:/Users/peterullrich/.pyenv/shims:/Users/peterullrich/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/Users/peterullrich/.mix/escripts:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/peterullrich/.orbstack/bin:/Users/peterullrich/Library/Python/3.9/bin"}, {~c"BINDIR", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0/erts-15.0/bin"}, {~c"__CFBundleIdentifier", ~c"dev.zed.Zed"}, {~c"ZSH", ~c"/Users/peterullrich/.oh-my-zsh"}, {~c"PYENV_ROOT", ~c"/Users/peterullrich/.pyenv"}, {~c"HOME", ~c"/Users/peterullrich"}, {~c"COMMAND_MODE", ~c"unix2003"}, {~c"ROOTDIR", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0"}, {~c"PAGER", ~c"less"}, {~c"PWD", ~c"/Users/peterullrich/Development/REDACTED"}, {~c"SHELL", ~c"/bin/zsh"}, {~c"HOMEBREW_PREFIX", ~c"/opt/homebrew"}, {~c"TMPDIR", ~c"/var/folders/j9/515ltdpd4txcrxbc08zz4xs40000gn/T/"}, {~c"LS_COLORS", ~c"di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43"}, {~c"PYENV_SHELL", ~c"zsh"}, {~c"SECURITYSESSIONID", ~c"186b1"}, {~c"ASDF_DATA_DIR", ~c"/Users/peterullrich/.asdf"}, {~c"__CF_USER_TEXT_ENCODING", ~c"0x1F5:0x0:0x0"}, {~c"MANPATH", ~c"/opt/homebrew/share/man::"}, {~c"LSCOLORS", ~c"Gxfxcxdxbxegedabagacad"}, {~c"LESS", ~c"-R"}, {~c"SHLVL", ~c"2"}, {~c"TERM", ~c"xterm-256color"}, {~c"XPC_FLAGS", ~c"0x0"}, {~c"MIX_ARCHIVES", ~c"/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix/archives"}, {~c"HOMEBREW_REPOSITORY", ~c"/opt/homebrew"}, {~c"HOMEBREW_CELLAR", ~c"/opt/homebrew/Cellar"}, {~c"ASDF_CONFIG_FILE", ~c"/Users/peterullrich/.asdfrc"}, {~c"PROGNAME", ~c"erl"}, {~c"MIX_HOME", ~c"/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix"}, {~c"XPC_SERVICE_NAME", ~c"0"}, {~c"COLORTERM", ~c"truecolor"}, {~c"LOGNAME", ~c"peterullrich"}, {~c"EMU", ~c"beam"}, {~c"ASDF_DEFAULT_TOOL_VERSIONS_FILENAME", ~c".tool-versions"}, {~c"INFOPATH", ~c"/opt/homebrew/share/info:"}, {~c"SSH_AUTH_SOCK", ~c"/private/tmp/com.apple.launchd.pZIVVe4x43/Listeners"}, {~c"ZSH_AUTOSUGGEST_HISTORY_IGNORE", ~c"fly secrets*,docker login*"}, {~c"ASDF_DIR", ~c"/opt/homebrew/opt/asdf/libexec"}, {~c"USER", ~c"peterullrich"}], cd: "/Users/peterullrich/Development/REDACTED", args: ["/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/bin/elixir", "--name", "project-REDACTED-63282@127.0.0.1", "--cookie", "lexical", "--no-halt", "-e", "Node.connect(:\"manager-REDACTED-63282@127.0.0.1\")", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_common.ez/lx_common/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_elixir_sense.ez/lx_elixir_sense/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_plugin.ez/lx_lexical_plugin/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_shared.ez/lx_lexical_shared/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_test.ez/lx_lexical_test/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_path_glob.ez/lx_path_glob/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_remote_control.ez/lx_remote_control/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_snowflake.ez/lx_snowflake/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_sourceror.ez/lx_sourceror/ebin"]])
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:43: LXical.RemoteControl.ProjectNode.State.start/3
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:161: LXical.RemoteControl.ProjectNode.handle_call/3
(stdlib 6.0) gen_server.erl:2209: :gen_server.try_handle_call/4
(stdlib 6.0) gen_server.erl:2238: :gen_server.handle_msg/6
(stdlib 6.0) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
(elixir 1.17.2) lib/gen_server.ex:1128: GenServer.call/3
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:116: LXical.RemoteControl.ProjectNode.start/2
(lx_remote_control 0.5.0) lib/lexical/remote_control.ex:72: LXical.RemoteControl.start_link/1
(lx_server 0.5.0) lib/lexical/server/project/node.ex:94: LXical.Server.Project.Node.start_node/1
(lx_server 0.5.0) lib/lexical/server/project/progress/support.ex:18: LXical.Server.Project.Progress.Support.with_progress/3
(lx_server 0.5.0) lib/lexical/server/project/node.ex:52: LXical.Server.Project.Node.init/1
(stdlib 6.0) gen_server.erl:2057: :gen_server.init_it/2
(stdlib 6.0) gen_server.erl:2012: :gen_server.init_it/6
Initial Call: LXical.Server.Project.Node.init/1
Ancestors: [:"REDACTED::supervisor", LXical.Server.ProjectSupervisor, LXical.Server.Supervisor, #PID<0.1526.0>]
Message Queue Length: 0
Messages: []
Links: [#PID<0.1534.0>]
Dictionary: []
Trapping Exits: false
Status: :running
Heap Size: 10958
Stack Size: 29
Reductions: 223152
14:39:14.344 [error] Child :undefined of Supervisor LXical.RemoteControl.ProjectNodeSupervisor terminated
** (exit) an exception was raised:
** (ErlangError) Erlang error: :eacces:
* 1st argument: invalid port name
(erts 15.0) :erlang.open_port({:spawn_executable, "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv/port_wrapper.sh"}, [env: [{~c"LaunchInstanceID", ~c"71E0CDBC-D5F2-442F-9B0B-A6C6C434AF9D"}, {~c"PATH", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0/erts-15.0/bin:/Users/peterullrich/.asdf/installs/erlang/27.0/bin:/Users/peterullrich/.asdf/plugins/elixir/shims:/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/bin:/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix/escripts:/opt/homebrew/opt/postgresql@15/bin:/opt/homebrew/opt/postgresql@16/bin:/Users/peterullrich/.pyenv/shims:/Users/peterullrich/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/Users/peterullrich/.mix/escripts:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/peterullrich/.orbstack/bin:/Users/peterullrich/Library/Python/3.9/bin"}, {~c"BINDIR", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0/erts-15.0/bin"}, {~c"__CFBundleIdentifier", ~c"dev.zed.Zed"}, {~c"ZSH", ~c"/Users/peterullrich/.oh-my-zsh"}, {~c"PYENV_ROOT", ~c"/Users/peterullrich/.pyenv"}, {~c"HOME", ~c"/Users/peterullrich"}, {~c"COMMAND_MODE", ~c"unix2003"}, {~c"ROOTDIR", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0"}, {~c"PAGER", ~c"less"}, {~c"PWD", ~c"/Users/peterullrich/Development/REDACTED"}, {~c"SHELL", ~c"/bin/zsh"}, {~c"HOMEBREW_PREFIX", ~c"/opt/homebrew"}, {~c"TMPDIR", ~c"/var/folders/j9/515ltdpd4txcrxbc08zz4xs40000gn/T/"}, {~c"LS_COLORS", ~c"di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43"}, {~c"PYENV_SHELL", ~c"zsh"}, {~c"SECURITYSESSIONID", ~c"186b1"}, {~c"ASDF_DATA_DIR", ~c"/Users/peterullrich/.asdf"}, {~c"__CF_USER_TEXT_ENCODING", ~c"0x1F5:0x0:0x0"}, {~c"MANPATH", ~c"/opt/homebrew/share/man::"}, {~c"LSCOLORS", ~c"Gxfxcxdxbxegedabagacad"}, {~c"LESS", ~c"-R"}, {~c"SHLVL", ~c"2"}, {~c"TERM", ~c"xterm-256color"}, {~c"XPC_FLAGS", ~c"0x0"}, {~c"MIX_ARCHIVES", ~c"/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix/archives"}, {~c"HOMEBREW_REPOSITORY", ~c"/opt/homebrew"}, {~c"HOMEBREW_CELLAR", ~c"/opt/homebrew/Cellar"}, {~c"ASDF_CONFIG_FILE", ~c"/Users/peterullrich/.asdfrc"}, {~c"PROGNAME", ~c"erl"}, {~c"MIX_HOME", ~c"/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix"}, {~c"XPC_SERVICE_NAME", ~c"0"}, {~c"COLORTERM", ~c"truecolor"}, {~c"LOGNAME", ~c"peterullrich"}, {~c"EMU", ~c"beam"}, {~c"ASDF_DEFAULT_TOOL_VERSIONS_FILENAME", ~c".tool-versions"}, {~c"INFOPATH", ~c"/opt/homebrew/share/info:"}, {~c"SSH_AUTH_SOCK", ~c"/private/tmp/com.apple.launchd.pZIVVe4x43/Listeners"}, {~c"ZSH_AUTOSUGGEST_HISTORY_IGNORE", ~c"fly secrets*,docker login*"}, {~c"ASDF_DIR", ~c"/opt/homebrew/opt/asdf/libexec"}, {~c"USER", ~c"peterullrich"}], cd: "/Users/peterullrich/Development/REDACTED", args: ["/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/bin/elixir", "--name", "project-REDACTED-63282@127.0.0.1", "--cookie", "lexical", "--no-halt", "-e", "Node.connect(:\"manager-REDACTED-63282@127.0.0.1\")", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_common.ez/lx_common/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_elixir_sense.ez/lx_elixir_sense/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_plugin.ez/lx_lexical_plugin/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_shared.ez/lx_lexical_shared/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_test.ez/lx_lexical_test/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_path_glob.ez/lx_path_glob/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_remote_control.ez/lx_remote_control/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_snowflake.ez/lx_snowflake/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_sourceror.ez/lx_sourceror/ebin"]])
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:43: LXical.RemoteControl.ProjectNode.State.start/3
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:161: LXical.RemoteControl.ProjectNode.handle_call/3
(stdlib 6.0) gen_server.erl:2209: :gen_server.try_handle_call/4
(stdlib 6.0) gen_server.erl:2238: :gen_server.handle_msg/6
(stdlib 6.0) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
Pid: #PID<0.1544.0>
Start Call: LXical.RemoteControl.ProjectNode.start_link(%{__struct__: LXical.Project, entropy: 63282, project_module: nil, mix_exs_uri: "file:///Users/peterullrich/Development/REDACTED/mix.exs", mix_project?: true, root_uri: "file:///Users/peterullrich/Development/REDACTED", env_variables: %{}, mix_env: nil, mix_target: nil})
Restart: :transient
Shutdown: 5000
Type: :worker
14:39:14.344 [error] Child {LXical.Server.Project.Node, "REDACTED"} of Supervisor :"REDACTED::supervisor" failed to start
** (exit) exited in: GenServer.call(:"REDACTED::node_process", {:start, [~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_common.ez/lx_common/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_elixir_sense.ez/lx_elixir_sense/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_plugin.ez/lx_lexical_plugin/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_shared.ez/lx_lexical_shared/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_test.ez/lx_lexical_test/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_path_glob.ez/lx_path_glob/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_remote_control.ez/lx_remote_control/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_snowflake.ez/lx_snowflake/ebin", ~c"/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_sourceror.ez/lx_sourceror/ebin"]}, 3500)
** (EXIT) an exception was raised:
** (ErlangError) Erlang error: :eacces:
* 1st argument: invalid port name
(erts 15.0) :erlang.open_port({:spawn_executable, "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv/port_wrapper.sh"}, [env: [{~c"LaunchInstanceID", ~c"71E0CDBC-D5F2-442F-9B0B-A6C6C434AF9D"}, {~c"PATH", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0/erts-15.0/bin:/Users/peterullrich/.asdf/installs/erlang/27.0/bin:/Users/peterullrich/.asdf/plugins/elixir/shims:/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/bin:/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix/escripts:/opt/homebrew/opt/postgresql@15/bin:/opt/homebrew/opt/postgresql@16/bin:/Users/peterullrich/.pyenv/shims:/Users/peterullrich/.asdf/shims:/opt/homebrew/opt/asdf/libexec/bin:/Users/peterullrich/.mix/escripts:/usr/local/sbin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/peterullrich/.orbstack/bin:/Users/peterullrich/Library/Python/3.9/bin"}, {~c"BINDIR", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0/erts-15.0/bin"}, {~c"__CFBundleIdentifier", ~c"dev.zed.Zed"}, {~c"ZSH", ~c"/Users/peterullrich/.oh-my-zsh"}, {~c"PYENV_ROOT", ~c"/Users/peterullrich/.pyenv"}, {~c"HOME", ~c"/Users/peterullrich"}, {~c"COMMAND_MODE", ~c"unix2003"}, {~c"ROOTDIR", ~c"/Users/peterullrich/.asdf/installs/erlang/27.0"}, {~c"PAGER", ~c"less"}, {~c"PWD", ~c"/Users/peterullrich/Development/REDACTED"}, {~c"SHELL", ~c"/bin/zsh"}, {~c"HOMEBREW_PREFIX", ~c"/opt/homebrew"}, {~c"TMPDIR", ~c"/var/folders/j9/515ltdpd4txcrxbc08zz4xs40000gn/T/"}, {~c"LS_COLORS", ~c"di=1;36:ln=35:so=32:pi=33:ex=31:bd=34;46:cd=34;43:su=30;41:sg=30;46:tw=30;42:ow=30;43"}, {~c"PYENV_SHELL", ~c"zsh"}, {~c"SECURITYSESSIONID", ~c"186b1"}, {~c"ASDF_DATA_DIR", ~c"/Users/peterullrich/.asdf"}, {~c"__CF_USER_TEXT_ENCODING", ~c"0x1F5:0x0:0x0"}, {~c"MANPATH", ~c"/opt/homebrew/share/man::"}, {~c"LSCOLORS", ~c"Gxfxcxdxbxegedabagacad"}, {~c"LESS", ~c"-R"}, {~c"SHLVL", ~c"2"}, {~c"TERM", ~c"xterm-256color"}, {~c"XPC_FLAGS", ~c"0x0"}, {~c"MIX_ARCHIVES", ~c"/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix/archives"}, {~c"HOMEBREW_REPOSITORY", ~c"/opt/homebrew"}, {~c"HOMEBREW_CELLAR", ~c"/opt/homebrew/Cellar"}, {~c"ASDF_CONFIG_FILE", ~c"/Users/peterullrich/.asdfrc"}, {~c"PROGNAME", ~c"erl"}, {~c"MIX_HOME", ~c"/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/.mix"}, {~c"XPC_SERVICE_NAME", ~c"0"}, {~c"COLORTERM", ~c"truecolor"}, {~c"LOGNAME", ~c"peterullrich"}, {~c"EMU", ~c"beam"}, {~c"ASDF_DEFAULT_TOOL_VERSIONS_FILENAME", ~c".tool-versions"}, {~c"INFOPATH", ~c"/opt/homebrew/share/info:"}, {~c"SSH_AUTH_SOCK", ~c"/private/tmp/com.apple.launchd.pZIVVe4x43/Listeners"}, {~c"ZSH_AUTOSUGGEST_HISTORY_IGNORE", ~c"fly secrets*,docker login*"}, {~c"ASDF_DIR", ~c"/opt/homebrew/opt/asdf/libexec"}, {~c"USER", ~c"peterullrich"}], cd: "/Users/peterullrich/Development/REDACTED", args: ["/Users/peterullrich/.asdf/installs/elixir/1.17.2-otp-27/bin/elixir", "--name", "project-REDACTED-63282@127.0.0.1", "--cookie", "lexical", "--no-halt", "-e", "Node.connect(:\"manager-REDACTED-63282@127.0.0.1\")", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_common.ez/lx_common/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_elixir_sense.ez/lx_elixir_sense/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_plugin.ez/lx_lexical_plugin/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_shared.ez/lx_lexical_shared/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_lexical_test.ez/lx_lexical_test/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_path_glob.ez/lx_path_glob/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_remote_control.ez/lx_remote_control/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_snowflake.ez/lx_snowflake/ebin", "-pa", "/Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/lib/lx_sourceror.ez/lx_sourceror/ebin"]])
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:43: LXical.RemoteControl.ProjectNode.State.start/3
(lx_remote_control 0.5.0) lib/lexical/remote_control/project_node.ex:161: LXical.RemoteControl.ProjectNode.handle_call/3
(stdlib 6.0) gen_server.erl:2209: :gen_server.try_handle_call/4
(stdlib 6.0) gen_server.erl:2238: :gen_server.handle_msg/6
(stdlib 6.0) proc_lib.erl:329: :proc_lib.init_p_do_apply/3
Start Call: LXical.Server.Project.Node.start_link(%{__struct__: LXical.Project, entropy: 63282, project_module: nil, mix_exs_uri: "file:///Users/peterullrich/Development/REDACTED/mix.exs", mix_project?: true, root_uri: "file:///Users/peterullrich/Development/REDACTED", env_variables: %{}, mix_env: nil, mix_target: nil})
Restart: :permanent
Shutdown: 5000
Type: :worker
14:39:14.346 [info] Lexical Initialized
14:39:14.347 [info] opened file:///Users/peterullrich/Development/REDACTED/mix.exs
14:39:22.665 [info] opened file:///Users/peterullrich/Development/REDACTED/lib/REDACTED.ex
14:39:23.032 [info] Child of Supervisor :inet_gethost_native_sup started
Pid: #PID<0.1548.0>
Start Call: :inet_gethost_native.init([])
14:39:23.032 [info] Child :inet_gethost_native_sup of Supervisor :kernel_safe_sup started
Pid: #PID<0.1547.0>
Start Call: :inet_gethost_native.start_link()
Restart: :temporary
Shutdown: 1000
Type: :worker
14:39:23.044 [error] ** (ErlangError) Erlang error: {:erpc, :noconnection}
(kernel 10.0) erpc.erl:1376: :erpc.call/5
(lx_server 0.5.0) lib/lexical/server/provider/handlers/code_action.ex:16: LXical.Server.Provider.Handlers.CodeAction.handle/2
(lx_server 0.5.0) lib/lexical/server/task_queue.ex:77: anonymous fn/4 in LXical.Server.TaskQueue.State.as_task/2
(elixir 1.17.2) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
(elixir 1.17.2) lib/task/supervised.ex:36: Task.Supervised.reply/4
14:39:23.532 [error] ** (ErlangError) Erlang error: {:erpc, :noconnection}
(kernel 10.0) erpc.erl:1376: :erpc.call/5
(lx_server 0.5.0) lib/lexical/server/provider/handlers/code_action.ex:16: LXical.Server.Provider.Handlers.CodeAction.handle/2
(lx_server 0.5.0) lib/lexical/server/task_queue.ex:77: anonymous fn/4 in LXical.Server.TaskQueue.State.as_task/2
(elixir 1.17.2) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
(elixir 1.17.2) lib/task/supervised.ex:36: Task.Supervised.reply/4
14:39:23.680 [error] GenServer LXical.Server terminating
** (stop) {:erpc, :noconnection}
(kernel 10.0) erpc.erl:1376: :erpc.call/5
(elixir 1.17.2) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2
(lx_server 0.5.0) lib/lexical/server/state.ex:237: LXical.Server.State.apply/2
(lx_server 0.5.0) lib/lexical/server.ex:154: LXical.Server.apply_to_state/2
(lx_server 0.5.0) lib/lexical/server.ex:117: LXical.Server.handle_message/2
(lx_server 0.5.0) lib/lexical/server.ex:59: LXical.Server.handle_cast/2
(stdlib 6.0) gen_server.erl:2199: :gen_server.try_handle_cast/3
(stdlib 6.0) gen_server.erl:2261: :gen_server.handle_msg/6
Last message: {:"$gen_cast", {:protocol_message, %{__struct__: LXical.Protocol.Notifications.DidChangeWatchedFiles, lsp: %{__struct__: LXical.Protocol.Notifications.DidChangeWatchedFiles.LSP, method: "workspace/didChangeWatchedFiles", jsonrpc: "2.0", changes: [#Protocol.Types.FileEvent<[type: :deleted, uri: "file:///Users/peterullrich/Development/REDACTED/lib/REDACTED.ex"]>, #Protocol.Types.FileEvent<[type: :created, uri: "file:///Users/peterullrich/Development/REDACTED/lib/REDACTED.ex"]>]}, method: "workspace/didChangeWatchedFiles", jsonrpc: "2.0", changes: nil}}}
State: %{__struct__: LXical.Server.State, configuration: %{__struct__: LXical.Server.Configuration, project: %{__struct__: LXical.Project, entropy: 63282, project_module: nil, mix_exs_uri: "file:///Users/peterullrich/Development/REDACTED/mix.exs", mix_project?: true, root_uri: "file:///Users/peterullrich/Development/REDACTED", env_variables: %{}, mix_env: nil, mix_target: nil}, support: %{deprecated: false, __struct__: LXical.Server.Configuration.Support, snippet: true, work_done_progress: true, tags: false, signature_help: #Protocol.Types.SignatureHelp.ClientCapabilities<[signature_information: #Protocol.Types.SignatureHelp.ClientCapabilities.SignatureInformation<[documentation_format: [:markdown, :plain_text], active_parameter_support: true, parameter_information: #Protocol.Types.SignatureHelp.ClientCapabilities.ParameterInformation<[label_offset_support: true]>]>]>, code_action_dynamic_registration: false, hierarchical_symbols: false}, client_name: "Zed", dialyzer_enabled?: false, additional_watched_extensions: nil}, in_flight_requests: %{}, initialized?: true, shutdown_received?: false}
14:39:23.687 [error] Process LXical.Server (#PID<0.1529.0>) terminating
** (ErlangError) Erlang error: {:erpc, :noconnection}
(kernel 10.0) erpc.erl:1376: :erpc.call/5
(elixir 1.17.2) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2
(lx_server 0.5.0) lib/lexical/server/state.ex:237: LXical.Server.State.apply/2
(lx_server 0.5.0) lib/lexical/server.ex:154: LXical.Server.apply_to_state/2
(lx_server 0.5.0) lib/lexical/server.ex:117: LXical.Server.handle_message/2
(lx_server 0.5.0) lib/lexical/server.ex:59: LXical.Server.handle_cast/2
(stdlib 6.0) gen_server.erl:2199: :gen_server.try_handle_cast/3
(stdlib 6.0) gen_server.erl:2261: :gen_server.handle_msg/6
Initial Call: LXical.Server.init/1
Ancestors: [LXical.Server.Supervisor, #PID<0.1526.0>]
Message Queue Length: 0
Messages: []
Links: [#PID<0.1527.0>]
Dictionary: [rand_seed: {%{type: :exsss, next: #Function<0.40079776/1 in :rand.exsss_next>, bits: 58, uniform: #Function<1.40079776/1 in :rand.exsss_uniform>, uniform_n: #Function<2.40079776/2 in :rand.exsss_uniform>, jump: #Function<3.40079776/1 in :rand.exsplus_jump>}, [220504724494595811 | 2751510190493252]}]
Trapping Exits: false
Status: :running
Heap Size: 6772
Stack Size: 29
Reductions: 27118
14:39:23.687 [error] Child LXical.Server of Supervisor LXical.Server.Supervisor terminated
** (exit) an exception was raised:
** (ErlangError) Erlang error: {:erpc, :noconnection}
(kernel 10.0) erpc.erl:1376: :erpc.call/5
(elixir 1.17.2) lib/enum.ex:987: Enum."-each/2-lists^foreach/1-0-"/2
(lx_server 0.5.0) lib/lexical/server/state.ex:237: LXical.Server.State.apply/2
(lx_server 0.5.0) lib/lexical/server.ex:154: LXical.Server.apply_to_state/2
(lx_server 0.5.0) lib/lexical/server.ex:117: LXical.Server.handle_message/2
(lx_server 0.5.0) lib/lexical/server.ex:59: LXical.Server.handle_cast/2
(stdlib 6.0) gen_server.erl:2199: :gen_server.try_handle_cast/3
(stdlib 6.0) gen_server.erl:2261: :gen_server.handle_msg/6
Pid: #PID<0.1529.0>
Start Call: LXical.Server.start_link([])
Restart: :permanent
Shutdown: 5000
Type: :worker
14:39:23.688 [info] Child LXical.Server of Supervisor LXical.Server.Supervisor started
Pid: #PID<0.1556.0>
Start Call: LXical.Server.start_link([])
Restart: :permanent
Shutdown: 5000
Type: :worker
14:39:23.728 [error] Received textDocument/didSave before server was initialized
14:39:23.729 [error] Failed to handle Elixir.LXical.Protocol.Notifications.DidSave, {{:error, :not_initialized}, %{__struct__: LXical.Server.State, configuration: nil, in_flight_requests: %{}, initialized?: false, shutdown_received?: false}}
14:39:23.729 [error] Could not handle message LXical.Protocol.Notifications.DidSave :ok
14:40:19.915 [error] Received textDocument/didChange before server was initialized
14:40:19.919 [error] Failed to handle Elixir.LXical.Protocol.Notifications.DidChange, {{:error, :not_initialized}, %{__struct__: LXical.Server.State, configuration: nil, in_flight_requests: %{}, initialized?: false, shutdown_received?: false}}
14:40:19.919 [error] Could not handle message LXical.Protocol.Notifications.DidChange :ok
14:40:20.203 [error] ** (FunctionClauseError) no function clause matching in LXical.Server.Provider.Handlers.CodeAction.handle/2
(lx_server 0.5.0) lib/lexical/server/provider/handlers/code_action.ex:12: LXical.Server.Provider.Handlers.CodeAction.handle(%{id: 4, context: #Protocol.Types.CodeAction.Context<[only: [:quick_fix, :source_organize_imports], diagnostics: []]>, range: LxRange[<<17, 5>>...<<17, 5>>], __struct__: LXical.Protocol.Requests.CodeAction, document: #Inspect.Error<
got UndefinedFunctionError with message:
"""
function Code.Identifier.inspect_as_atom/1 is undefined or private
"""
while inspecting:
%{
version: 0,
path: "/Users/peterullrich/Development/REDACTED/lib/REDACTED.ex",
uri: "file:///Users/peterullrich/Development/REDACTED/lib/REDACTED.ex",
__struct__: LXical.Document,
lines: %Lines<"defmodule REDACTED do..."(60 lines)>,
dirty?: false,
language_id: "elixir"
}
Stacktrace:
(elixir 1.17.2) Code.Identifier.inspect_as_atom(LXical.Document)
(lx_lexical_shared 0.5.0) lib/lexical/document.ex:25: Inspect.LXical.Document.inspect/2
(elixir 1.17.2) lib/inspect/algebra.ex:347: Inspect.Algebra.to_doc/2
(elixir 1.17.2) lib/inspect.ex:287: Inspect.List.keyword/2
(elixir 1.17.2) lib/inspect/algebra.ex:478: Inspect.Algebra.container_each/6
(elixir 1.17.2) lib/inspect/algebra.ex:455: Inspect.Algebra.container_doc/6
(elixir 1.17.2) lib/inspect/algebra.ex:347: Inspect.Algebra.to_doc/2
(elixir 1.17.2) lib/kernel.ex:2381: Kernel.inspect/2
>, lsp: %{id: 4, context: #Protocol.Types.CodeAction.Context<[only: [:quick_fix, :source_organize_imports], diagnostics: []]>, range: #Protocol.Types.Range<[start: #Protocol.Types.Position<[line: 16, character: 4]>, end: #Protocol.Types.Position<[line: 16, character: 4]>]>, __struct__: LXical.Protocol.Requests.CodeAction.LSP, text_document: #Protocol.Types.TextDocument.Identifier<[uri: "file:///Users/peterullrich/Development/REDACTED/lib/REDACTED.ex"]>, method: "textDocument/codeAction", jsonrpc: "2.0", partial_result_token: nil, work_done_token: nil}, text_document: #Protocol.Types.TextDocument.Identifier<[uri: "file:///Users/peterullrich/Development/REDACTED/lib/REDACTED.ex"]>, method: "textDocument/codeAction", jsonrpc: "2.0", partial_result_token: nil, work_done_token: nil}, nil)
(lx_server 0.5.0) lib/lexical/server/task_queue.ex:77: anonymous fn/4 in LXical.Server.TaskQueue.State.as_task/2
(elixir 1.17.2) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
(elixir 1.17.2) lib/task/supervised.ex:36: Task.Supervised.reply/4
14:40:20.254 [error] ** (FunctionClauseError) no function clause matching in LXical.Server.Provider.Handlers.Formatting.handle/2
(lx_server 0.5.0) lib/lexical/server/provider/handlers/formatting.ex:10: LXical.Server.Provider.Handlers.Formatting.handle(%{id: 5, options: #Protocol.Types.Formatting.Options<[insert_final_newline: false, insert_spaces: true, tab_size: 2, trim_final_newlines: false, trim_trailing_whitespace: true]>, __struct__: LXical.Protocol.Requests.Formatting, document: #Inspect.Error<
got UndefinedFunctionError with message:
"""
function Code.Identifier.inspect_as_atom/1 is undefined or private
"""
while inspecting:
%{
version: 0,
path: "/Users/peterullrich/Development/REDACTED/lib/REDACTED.ex",
uri: "file:///Users/peterullrich/Development/REDACTED/lib/REDACTED.ex",
__struct__: LXical.Document,
lines: %Lines<"defmodule REDACTED do..."(60 lines)>,
dirty?: false,
language_id: "elixir"
}
Stacktrace:
(elixir 1.17.2) Code.Identifier.inspect_as_atom(LXical.Document)
(lx_lexical_shared 0.5.0) lib/lexical/document.ex:25: Inspect.LXical.Document.inspect/2
(elixir 1.17.2) lib/inspect/algebra.ex:347: Inspect.Algebra.to_doc/2
(elixir 1.17.2) lib/inspect.ex:287: Inspect.List.keyword/2
(elixir 1.17.2) lib/inspect/algebra.ex:478: Inspect.Algebra.container_each/6
(elixir 1.17.2) lib/inspect/algebra.ex:455: Inspect.Algebra.container_doc/6
(elixir 1.17.2) lib/inspect/algebra.ex:347: Inspect.Algebra.to_doc/2
(elixir 1.17.2) lib/kernel.ex:2381: Kernel.inspect/2
>, lsp: %{id: 5, options: #Protocol.Types.Formatting.Options<[insert_final_newline: false, insert_spaces: true, tab_size: 2, trim_final_newlines: false, trim_trailing_whitespace: true]>, __struct__: LXical.Protocol.Requests.Formatting.LSP, text_document: #Protocol.Types.TextDocument.Identifier<[uri: "file:///Users/peterullrich/Development/REDACTED/lib/REDACTED.ex"]>, method: "textDocument/formatting", jsonrpc: "2.0", work_done_token: nil}, text_document: #Protocol.Types.TextDocument.Identifier<[uri: "file:///Users/peterullrich/Development/REDACTED/lib/REDACTED.ex"]>, method: "textDocument/formatting", jsonrpc: "2.0", work_done_token: nil}, nil)
(lx_server 0.5.0) lib/lexical/server/task_queue.ex:77: anonymous fn/4 in LXical.Server.TaskQueue.State.as_task/2
(elixir 1.17.2) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2
(elixir 1.17.2) lib/task/supervised.ex:36: Task.Supervised.reply/4
14:40:21.851 [error] Received workspace/didChangeWatchedFiles before server was initialized
14:40:21.853 [error] Failed to handle Elixir.LXical.Protocol.Notifications.DidChangeWatchedFiles, {{:error, :not_initialized}, %{__struct__: LXical.Server.State, configuration: nil, in_flight_requests: %{}, initialized?: false, shutdown_received?: false}}
14:40:21.853 [error] Could not handle message LXical.Protocol.Notifications.DidChangeWatchedFiles :ok
14:40:21.853 [error] Received textDocument/didSave before server was initialized
14:40:21.854 [error] Failed to handle Elixir.LXical.Protocol.Notifications.DidSave, {{:error, :not_initialized}, %{__struct__: LXical.Server.State, configuration: nil, in_flight_requests: %{}, initialized?: false, shutdown_received?: false}}
14:40:21.854 [error] Could not handle message LXical.Protocol.Notifications.DidSave :ok
14:40:22.272 [error] Received workspace/didChangeWatchedFiles before server was initialized
14:40:22.274 [error] Failed to handle Elixir.LXical.Protocol.Notifications.DidChangeWatchedFiles, {{:error, :not_initialized}, %{__struct__: LXical.Server.State, configuration: nil, in_flight_requests: %{}, initialized?: false, shutdown_received?: false}}
14:40:22.274 [error] Could not handle message LXical.Protocol.Notifications.DidChangeWatchedFiles :ok
14:40:22.274 [error] Received textDocument/didSave before server was initialized
14:40:22.275 [error] Failed to handle Elixir.LXical.Protocol.Notifications.DidSave, {{:error, :not_initialized}, %{__struct__: LXical.Server.State, configuration: nil, in_flight_requests: %{}, initialized?: false, shutdown_received?: false}}
14:40:22.275 [error] Could not handle message LXical.Protocol.Notifications.DidSave :ok
Ensure all the files in this directory are executable: /Users/peterullrich/Library/Application Support/Zed/extensions/work/elixir/lexical-v0.7.0/lexical/priv/
That worked 🎉
But now I encounter another problem. It seems that the working directory isn't set correctly when the dependencies are compiled. For example, in my mix.exs
file, I read my project version from a VERSION
file which lies at the project's root. Everything works if I compile my project manually, but when Lexical tries to compile it, I receive this error:
stderr: == Compilation error in file lib/blankable.ex ==
stderr: ** (File.Error) could not read file "/Users/peterullrich/Development/REDACTED/deps/blankable/VERSION": no such file or directory
stderr: (elixir 1.17.2) lib/file.ex:385: File.read!/1
stderr: /Users/peterullrich/Development/REDACTED/mix.exs:41: REDACTED.MixProject.project_version/0
stderr: /Users/peterullrich/Development/REDACTED/mix.exs:8: REDACTED.MixProject.project/0
stderr: (lx_lexical_shared 0.5.0) lib/lexical/project.ex:92: LXical.Project.config/1
stderr: (lx_lexical_shared 0.5.0) lib/lexical/project.ex:105: LXical.Project.display_name/1
stderr: (lx_remote_control 0.5.0) lib/lexical/remote_control/build/state.ex:201: LXical.RemoteControl.Build.State.building_label/1
stderr: (lx_remote_control 0.5.0) lib/lexical/remote_control/compilation/tracer.ex:78: LXical.RemoteControl.Compilation.Tracer.progress_message/1
stderr: (lx_remote_control 0.5.0) lib/lexical/remote_control/compilation/tracer.ex:62: LXical.RemoteControl.Compilation.Tracer.maybe_report_progress/1
stderr: could not compile dependency :blankable, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile blankable --force", update it with "mix deps.update blankable" or clean it with "mix deps.clean blankable"
The code that loads the file looks like this:
# mix.exs
defp project_version do
"./VERSION"
|> Path.expand() # <- I added this one after the error occurred, but it didn't fix it
|> File.read!()
|> String.trim()
end
I read my project version from a VERSION file which lies at the project's root.
You can't assume that VERSION is in the current directory while building, and lexical can't set the directory to be your project's directory, or its build will clobber yours. The correct way to do this is the following:
__ENV__.file
|> Path.dirname()
|> Path.join("VERSION")
|> File.read!()
|> String.trim()
Hey there, I just installed Lexical in my Zed editor (
0.146.5
), but unfortunately, Lexical seems to crash upon start. I found these errors in the log-file. The first error occurs when I start Zed, the second when I save a file.