Closed 30atm closed 7 years ago
Solved the above problem after I installed zeromq
Now new problem "enif_send: called from non-scheduler thread on non-SMP VMAborted"
1) test doc at IElixir.Sandbox.execute_code/1 (6) (SandboxTest) test/sandbox_test.exs:5 Doctest failed code: IElixir.Sandbox.execute_code(%{"code" => "\"a\" + 5"}) === {:error, "ArithmeticError", ["* %ArithmeticError{}"]} lhs: {:error, "ArithmeticError", ["* %ArithmeticError{message: \"bad argument in arithmetic expression\"}"]} stacktrace: lib/ielixir/sandbox.ex:102: IElixir.Sandbox (module)
2016-09-23 12:29:20.635 [debug] State: %{binding: [a: 10, b: 25], env: %Macro.Env{aliases: [], context: nil, context_modules: [], export_vars: nil, file: "nofile", function: nil, functions: [{IEx.Helpers, [c: 1, c: 2, cd: 1, clear: 0, flush: 0, h: 0, i: 1, l: 1, ls: 0, ls: 1, nl: 1, nl: 2, pid: 1, pid: 3, pwd: 0, r: 1, recompile: 0, respawn: 0, v: 0, v: 1]}, {Kernel, [!=: 2, !==: 2, : 2, +: 1, +: 2, ++: 2, -: 1, -: 2, --: 2, /: 2, <: 2, <=: 2, ==: 2, ===: 2, =~: 2, >: 2, >=: 2, abs: 1, apply: 2, apply: 3, binary_part: 3, bit_size: 1, byte_size: 1, div: 2, elem: 2, exit: 1, function_exported?: 3, get_and_update_in: 3, get_in: 2, hd: 1, inspect: 1, inspect: 2, is_atom: 1, is_binary: 1, is_bitstring: 1, is_boolean: 1, is_float: 1, is_function: 1, is_function: 2, ...]}], lexical_tracker: nil, line: 1, macro_aliases: [], macros: [{IEx.Helpers, [b: 1, h: 1, import_file: 1, import_file: 2, import_file_if_available: 1, import_if_available: 1, import_if_available: 2, s: 1, t: 1]}, {Kernel, [!: 1, &&: 2, ..: 2, <>: 2, @: 1, alias!: 1, and: 2, binding: 0, binding: 1, def: 1, def: 2, defdelegate: 2, defexception: 1, defimpl: 2, defimpl: 3, defmacro: 1, defmacro: 2, defmacrop: 1, defmacrop: 2, defmodule: 2, defoverridable: 1, defp: 1, defp: 2, defprotocol: 2, defstruct: 1, destructure: 2, get_and_update_in: 2, if: 2, in: 2, is_nil: 1, match?: 2, or: 2, pop_in: 1, put_in: 2, raise: 1, ...]}], module: nil, requires: [IEx.Helpers, Kernel, Kernel.Typespec], vars: [a: nil, b: nil]}, execution_count: 4, scope: {:elixirscope, nil, nil, false, false, nil, nil, %{{:a, nil} => {:@0, 0, true}, {:b, nil} => {:@1, 0, true}}, nil, nil, nil, nil, %{: 2}, "nofile"}} 2016-09-23 12:29:20.635 [debug] Executing request: %{"code" => "a+b"} 2016-09-23 12:29:20.637 [debug] State: %{binding: [a: 10, b: 25], env: %Macro.Env{aliases: [], context: nil, context_modules: [], export_vars: nil, file: "nofile", function: nil, functions: [{IEx.Helpers, [c: 1, c: 2, cd: 1, clear: 0, flush: 0, h: 0, i: 1, l: 1, ls: 0, ls: 1, nl: 1, nl: 2, pid: 1, pid: 3, pwd: 0, r: 1, recompile: 0, respawn: 0, v: 0, v: 1]}, {Kernel, [!=: 2, !==: 2, : 2, +: 1, +: 2, ++: 2, -: 1, -: 2, --: 2, /: 2, <: 2, <=: 2, ==: 2, ===: 2, =~: 2, >: 2, >=: 2, abs: 1, apply: 2, apply: 3, binary_part: 3, bit_size: 1, byte_size: 1, div: 2, elem: 2, exit: 1, function_exported?: 3, get_and_update_in: 3, get_in: 2, hd: 1, inspect: 1, inspect: 2, is_atom: 1, is_binary: 1, is_bitstring: 1, is_boolean: 1, is_float: 1, is_function: 1, is_function: 2, ...]}], lexical_tracker: nil, line: 1, macro_aliases: [], macros: [{IEx.Helpers, [b: 1, h: 1, import_file: 1, import_file: 2, import_file_if_available: 1, import_if_available: 1, import_if_available: 2, s: 1, t: 1]}, {Kernel, [!: 1, &&: 2, ..: 2, <>: 2, @: 1, alias!: 1, and: 2, binding: 0, binding: 1, def: 1, def: 2, defdelegate: 2, defexception: 1, defimpl: 2, defimpl: 3, defmacro: 1, defmacro: 2, defmacrop: 1, defmacrop: 2, defmodule: 2, defoverridable: 1, defp: 1, defp: 2, defprotocol: 2, defstruct: 1, destructure: 2, get_and_update_in: 2, if: 2, in: 2, is_nil: 1, match?: 2, or: 2, pop_in: 1, put_in: 2, raise: 1, ...]}], module: nil, requires: [IEx.Helpers, Kernel, Kernel.Typespec], vars: [a: nil, b: nil]}, execution_count: 5, scope: {:elixirscope, nil, nil, false, false, nil, nil, %{{:a, nil} => {:@0, 0, true}, {:b, nil} => {:@1, 0, true}}, nil, nil, nil, nil, %{: 2}, "nofile"}} ...2016-09-23 12:29:20.641 [debug] Executing request: %{"allow_stdin" => true, "code" => "h()", "silent" => false, "stop_on_error" => true, "store_history" => true, "user_expressions" => %{}} 2016-09-23 12:29:20.654 [debug] State: %{binding: [], env: %Macro.Env{aliases: [], context: nil, context_modules: [], export_vars: nil, file: "nofile", function: nil, functions: [{IEx.Helpers, [c: 1, c: 2, cd: 1, clear: 0, flush: 0, h: 0, i: 1, l: 1, ls: 0, ls: 1, nl: 1, nl: 2, pid: 1, pid: 3, pwd: 0, r: 1, recompile: 0, respawn: 0, v: 0, v: 1]}, {Kernel, [!=: 2, !==: 2, *: 2, +: 1, +: 2, ++: 2, -: 1, -: 2, --: 2, /: 2, <: 2, <=: 2, ==: 2, ===: 2, =~: 2, >: 2, >=: 2, abs: 1, apply: 2, apply: 3, binary_part: 3, bit_size: 1, byte_size: 1, div: 2, elem: 2, exit: 1, function_exported?: 3, get_and_update_in: 3, get_in: 2, hd: 1, inspect: 1, inspect: 2, is_atom: 1, is_binary: 1, is_bitstring: 1, is_boolean: 1, is_float: 1, is_function: 1, is_function: 2, ...]}], lexical_tracker: nil, line: 1, macro_aliases: [], macros: [{IEx.Helpers, [b: 1, h: 1, import_file: 1, import_file: 2, import_file_if_available: 1, import_if_available: 1, import_if_available: 2, s: 1, t: 1]}, {Kernel, [!: 1, &&: 2, ..: 2, <>: 2, @: 1, alias!: 1, and: 2, binding: 0, binding: 1, def: 1, def: 2, defdelegate: 2, defexception: 1, defimpl: 2, defimpl: 3, defmacro: 1, defmacro: 2, defmacrop: 1, defmacrop: 2, defmodule: 2, defoverridable: 1, defp: 1, defp: 2, defprotocol: 2, defstruct: 1, destructure: 2, get_and_update_in: 2, if: 2, in: 2, is_nil: 1, match?: 2, or: 2, pop_in: 1, put_in: 2, raise: 1, ...]}], module: nil, requires: [IEx.Helpers, Kernel, Kernel.Typespec], vars: []}, execution_count: 2, scope: {:elixirscope, nil, nil, false, false, nil, nil, %{}, nil, nil, nil, nil, %{: 0}, "nofile"}} ..enif_send: called from non-scheduler thread on non-SMP VMAborted (core dumped)
Could you please tell me which version of elixir and otp do you use? I've tried to support many configurations but that's the point when something can crush some tests because of difference in messages between different versions. In fact, this failed test isn't as much important as it may looks like. I should add some kind of wildcard inside this test to cover different message descriptions.
Do IElixir run correctly even with this error or this "enif_send: called from non-scheduler thread on non-SMP VMAborted" is something more important?
Thanks for feedback!
Thanks for the response. Below are the version details. And my host is ubuntu 14.0 trusty 64 bit build
manas@elixirdev:~/IElixir$ iex --version Erlang/OTP 19 [erts-8.0.2] [source-753b9b9] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]
IEx 1.3.2 manas@elixirdev:~/IElixir$ elixir --version Erlang/OTP 19 [erts-8.0.2] [source-753b9b9] [64-bit] [async-threads:10] [hipe] [kernel-poll:false]
Elixir 1.3.2
And my zeromq is the latest version 4.1.5. Python is 3.5.2 that was installed from the latest Anaconda build
No errors spotted when i run iex. i am able to get into the shell fine
Hi, May I request you to see if you can spare some time to advise me on how to fix this issue thanks
I've reproduced this issue and it's hard for me to fix this in few hours. I'll try to do it but it's really time consuming as there are many dependencies which have also dependencies on different packages which require something.
Right now stable version are listed in .travis.yml file which are:
elixir:
- 1.1.0
- 1.2.3
otp_release:
- 17.5
- 18.1
- 18.2
in every combination.
thank you very much. For now, I will revert my installation to one of the stable versions you mentioned..
Yep, having the same issue as @pikeview. I assume it is because 1.3.2 is not currently supported. Will wait for the update.
@pikeview @jwogrady new elixir versions are supported now. I was handling erlzmq compiling problem for long time for newer versions, now it should work fine.
ielixir-plugin-install-log.txt
hi, i just installed a ubuntu 14.04 on my virtual box. i did apt-get update and apt-get upgrade ,followed by esl-erlang, elixir, anaconda installation
i cloned this repo and ran mix test. it failed miserably. i checked the log it is trying to use /bin/uname -X and other commands which are not supported on ubuntu. also my ubuntu does not have c++ (though it has /lib/cpp) please help to review my log and advise if i have to supply any additional packages.
thanks