edts icon indicating copy to clipboard operation
edts copied to clipboard

Fail to get edts working properly

Open mping opened this issue 9 years ago • 1 comments

Hi, I'm using emacs:

GNU Emacs 24.5.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21)
 of 2015-04-10 on builder10-9.porkrind.org

I tried installing edts from elpa, it wouldn't start. These are the steps that I took to fix the compilation error:

  • edit lib/webmachine/rebar.config, remove the line {erl_opts, [warnings_as_errors]}.
  • edit lib/edts/rebar.config, put lager_transform in front {lager_transform, parse_transform}
  • call make on edts root folder

But it is still not working, the edts buffer complains:

Protocol 'inet_tcp': invalid node name: edts-20160812.729@Miguels-MacBook-Pro
;; I tried with a different host name
Protocol 'inet_tcp': invalid node name: [email protected]

Starting emacs in another directory shows a different error:

;; messages buffer
Package iswitchb is obsolete!
File mode specification error: (error "EDTS: Could not start main server")
EDTS [error]: Unexpected reply: nil [2 times]

;; edts buffer
11:14:16.618 [error] CRASH REPORT Process <0.130.0> with 0 neighbours exited with reason: no such process or port in call to [{gen,do_for_proc,2,[{file,[103,101,110,46,101,114,108]},{line,261}]},{gen_event,rpc,2,[{file,[103,101,110,95,101,118,101,110,116,46,101,114,108]},{line,197}]},{webmachine_error_handler,render_error_body,3,[{file,[115,114,99,47,119,101,98,109,97,99,104,105,110,101,95,101,114,114,111,114,95,104,97,110,100,108,101,114,46,101,114,108]},{line,42}]},{webmachine_mochiweb,handle_error,3,[{file,[115,114,99,47,119,101,98,109,97,99,104,105,110,101,95,109,111,99,104,105,119,101,98,46,101,114,108]},{line,87}]},{mochiweb_http,parse_headers,5,[{file,[115,114,99,47,109,111,99,104,105,119,101,98,95,104,116,116,112,46,101,114,108]},{line,180}]},{proc_lib,init_p_do_apply,3,[{file,[112,114,111,99,95,108,105,98,46,101,114,108]},{line,247}]}]
λ erl --version
Erlang/OTP 19 [erts-8.1] [source] [64-bit] [smp:8:8] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Eshell V8.1  (abort with ^G)

Please advise.

mping avatar Nov 16 '16 11:11 mping

I compile edts use erlang 18, and change to 19 when I use emacs.

getong avatar Jan 22 '17 07:01 getong