-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Starting a standalone Elixir runtime fails on Windows 10 #1042
Comments
This has the same error as #194 |
No. the steps didn't fix my problem. I am thinking if my locale causes it. |
Original reporter of #194 here. Probably not going to help much, but I can confirm that running the latest Livebook on the same commit you referenced works for me on Windows 10. Per your point on locale, my locale as printed by
|
As for the point on tests failing, I'm actually seeing some tests fail, but those don't seem to be related the issue at hand. Gist of output here: https://gist.github.com/juhalehtonen/5f45c55940d3583514b733fd5f09c5be . It's worth noting that I don't typically develop on Windows, and so it might be I should be configuring something in my environment that I'm currently not doing. In either case, probably not relevant here :). |
I reverted back to en-us. No lucky. I tried to start a new iex process in command and use "Attach to Node". It works for me. Looks like some issue during process startup. |
I reinstall erlang and elixir fixed the problem, although I still don't know root cause. |
Environment
Erlang/OTP 24 [erts-12.2.1] [source] [64-bit] [smp:20:20] [ds:20:20:10] [async-threads:1] [jit]
Elixir 1.13.2 (compiled with Erlang/OTP 22)
git rev-parse HEAD
if running with mix): 6b78258Current behavior
F:\livebook>elixir --cookie "COOKIEFORTESTS" -S mix test
Compiling 4 files (.ex)
.......................................................................
test/livebook/runtime/elixir_standalone_test.exs:23
match (=) failed
code: assert {:ok, %{node: node} = runtime} = Runtime.ElixirStandalone.init()
left: {:ok, %{node: node} = runtime}
right: {:error, "Elixir process terminated unexpectedly"}
stacktrace:
test/livebook/runtime/elixir_standalone_test.exs:24: (test)
Expected behavior
the test should pass.
I hit the same problem if i am using browser to use livebook. When I click evaluate, i got the same error:
Elixir process terminated unexpectedly
The text was updated successfully, but these errors were encountered: