Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initialization crashed with error {compile_error, ...} #207

Open
ks opened this issue Dec 1, 2015 · 1 comment
Open

initialization crashed with error {compile_error, ...} #207

ks opened this issue Dec 1, 2015 · 1 comment

Comments

@ks
Copy link

ks commented Dec 1, 2015

Hi,

on Arch linux, version 18 (erts 7.1), I'm getting compile_error in edts_dist module (pretty printed):

[x@xmd vicuc(master)]$ /home/x/.emacs.d/elpa/edts-20150830.510/start 
Erlang/OTP 18 [erts-7.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V7.1  (abort with ^G)
(edts@xmd)1> 17:01:42.977 [debug] Lager installed handler lager_console_backend into lager_event
17:01:43.471 [debug] Lager installed handler lager_backend_throttle into lager_event
17:01:53.703 [error] vicuc@xmd initialization crashed with error:{compile_error,{"/home/x/.emacs.d/elpa/edts-20150830.510/lib/edts/src/edts_code",
                [{"/home/x/.emacs.d/elpa/edts-20150830.510/lib/edts/src/edts_code.erl",
                  [{34,epp,{include,lib,"eunit/include/eunit.hrl"}},
                   {798,epp,{undefined,'_assertEqual',2}},
                   {827,epp,{undefined,'_assert',1}},
                   {849,epp,{undefined,'_assertEqual',2}},
                   {896,epp,{undefined,'_assertEqual',2}},
                   {922,epp,{undefined,'_assertEqual',2}},
                   {936,epp,{undefined,'_assertEqual',2}},
                   {950,epp,{undefined,'_assertEqual',2}},
                   {973,epp,{undefined,'_assertEqual',2}},
                   {995,epp,{undefined,'_assertEqual',2}},
                   {1020,epp,{undefined,'_assertEqual',2}},
                   {1048,epp,{undefined,'_assertEqual',2}},
                   {1061,epp,{undefined,'_assertEqual',2}},
                   {1077,epp,{undefined,'_assertEqual',2}},
                   {1090,epp,{undefined,'_assertEqual',2}},
                   {1093,epp,{undefined,'_assertMatch',2}},
                   {1106,epp,{undefined,'_assertEqual',2}}]}]}}
Stacktrace:
[{edts_dist,remote_compile_module,2,
            [{file,"src/edts_dist.erl"},{line,278}]},
 {edts_dist,remote_load_module,2,
            [{file,"src/edts_dist.erl"},{line,224}]},
 {lists,foreach,2,[{file,"lists.erl"},{line,1337}]},
 {edts_server,do_init_node,7,
              [{file,"src/edts_server.erl"},{line,290}]},
 {edts_server,handle_call,3,
              [{file,"src/edts_server.erl"},{line,168}]},
 {gen_server,try_handle_call,4,
             [{file,"gen_server.erl"},{line,629}]},
 {gen_server,handle_msg,5,
             [{file,"gen_server.erl"},{line,661}]},
 {proc_lib,init_p_do_apply,3,
           [{file,"proc_lib.erl"},{line,240}]}]

This happens after I open emacs buffer with erlang file, followed by "Failed to initialized node vicuc@xmd".

Edts project file is quite normal:

:node-name "vicuc@xmd"
:lib-dirs '("deps" "deps/mochiweb_xpath/deps")
:erlang-cookie "xxx"

Let me know please if there's some workaround.

Thank you,
Karol

@timclassic
Copy link
Contributor

@ks The output tells me that the eunit app is not available target node, and this prevents EDTS from building and installing the edts_code module on the target node. I've encountered the same issue in the past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants