sebastiw / edts

Erlang Development Tool Suite
GNU Lesser General Public License v3.0
354 stars 82 forks source link

edts-api-ensure-server-started: EDTS: Could not start main server #195

Closed srikanthkyatham closed 9 years ago

srikanthkyatham commented 9 years ago

Hi

I am trying to get the edts working,

I have installed erlang 18 on linux mint 17.2

My .edts

:lib-dirs '("deps") :app-include-dirs '("include")

.emacs

(setq load-path (cons "/usr/lib/erlang/lib/tools-2.8/emacs" load-path)) (setq erlang-root-dir "/usr/lib/erlang") (setq exec-path (cons "/usr/lib/erlang/bin" exec-path)) (require 'erlang-start)

(add-hook 'after-init-hook 'my-after-init-hook) (defun my-after-init-hook () (require 'edts-start))

Could you let me know what am I doing wrong

srikanthkyatham commented 9 years ago

More info

Process ./start exited abnormally with code 1 Erlang/OTP 18 [erts-7.0] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false]

Eshell V7.0 (abort with ^G) (edts@sriky-Lenovo-ThinkStation-S20)1> 13:15:27.354 [debug] Lager installed handler lager_console_backend into lager_event {"init terminating in do_boot",{{badmatch,{error,{"no such file or directory","edts.app"}}},[{edts_app,start,0,[{file,"src/edts_app.erl"},{line,58}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump is being written to: erl_crash.dump...done
init terminating in do_boot ()

srikanthkyatham commented 9 years ago

I switched back to erlang 16B

Still facing same issue

Erlang R16B03 (erts-5.10.4) [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false]

Eshell V5.10.4 (abort with C-q C-g RET) (edts@sriky-Lenovo-ThinkStation-S20)1> 15:11:11.196 [debug] Lager installed handler lager_console_backend into lager_event {"init terminating in do_boot",{{badmatch,{error,{"no such file or directory","edts.app"}}},[{edts_app,start,0,[{file,"src/edts_app.erl"},{line,58}]},{init,start_it,1,[]},{init,start_em,1,[]}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

Process ./start exited abnormally with code 1

srikanthkyatham commented 9 years ago

Resolved the issue edts started to work, after I manually did a make clean, make. For some reason, when i installed erlang 18 and then edts, it could not compile.

Well its working now