wrong-type-argument

97 views
Skip to first unread message

jilen nil

unread,
Jun 16, 2013, 11:25:29 PM6/16/13
to emacs...@googlegroups.com

System info:
archlinux latest
emacs 24.3.1
eclimd 2.2.6
emacs-eclim up-to-date master branch

Error messages is posted below


 locate-file-internal(nil ("/usr/local/sbin" "/usr/local/bin" "/usr/bin" "/usr/bin/core_perl" "/usr/lib/emacs/24.3/x86_64-unknown-linux-gnu") ("") 1)
  locate-file(nil ("/usr/local/sbin" "/usr/local/bin" "/usr/bin" "/usr/bin/core_perl" "/usr/lib/emacs/24.3/x86_64-unknown-linux-gnu") ("") 1)
  executable-find(nil)
  (let ((eclim-prog (executable-find eclim-executable))) (expand-file-name "eclimd" (file-name-directory eclim-prog)))
  (if eclimd-executable (executable-find eclimd-executable) (let ((eclim-prog (executable-find eclim-executable))) (expand-file-name "eclimd" (file-name-directory eclim-prog))))
  eclimd--executable-path()
  (let ((eclimd-prog (eclimd--executable-path))) (if (not eclimd-prog) (message "Cannot start eclimd: check eclimd-executable variable.") (if (eclimd--running-p) (message "Cannot start eclimd: eclimd is already running.") (message (concat "Starting eclimd for workspace: " workspace-dir "...")) (setq eclimd-process-buffer (make-comint eclimd-process-buffer-name eclimd-prog nil (concat "-Dosgi.instance.area.default=" (replace-regexp-in-string "~" "@user.home" workspace-dir)))) (setq eclimd-process (get-buffer-process eclimd-process-buffer)) (if eclimd-wait-for-process (progn (wait-eclimd-start))))))
  start-eclimd("~/workspace")
  call-interactively(start-eclimd record nil)
  command-execute(start-eclimd record)
  execute-extended-command(nil "start-eclimd")
  call-interactively(execute-extended-command nil nil)

 

jilen nil

unread,
Jun 17, 2013, 12:36:00 AM6/17/13
to emacs...@googlegroups.com
I found the eclim-executable is modified to nil(that is strange), so I set the eclim-executable to my install path, and everything is fine! 

fred-o

unread,
Jul 16, 2013, 11:44:05 AM7/16/13
to emacs...@googlegroups.com
Good to hear that :)

Did you set eclim-executable explicitly before, or did you use eclim-eclipse-dirs? The reason I'm asking is that another guy reported a problem finding the eclipse executable here: https://github.com/senny/emacs-eclim/issues/104

I'm thinking that there may be a problem with eclim-eclipse-dirs.

Cheers,
-- Fredrik

Eric Van Dewoestine

unread,
Jul 16, 2013, 12:05:37 PM7/16/13
to emacs...@googlegroups.com
On 2013-07-16 08:44:05, fred-o wrote:
> Good to hear that :)
>
> Did you set eclim-executable explicitly before, or did you use
> eclim-eclipse-dirs? The reason I'm asking is that another guy reported a
> problem finding the eclipse executable
> here: https://github.com/senny/emacs-eclim/issues/104
>
> I'm thinking that there may be a problem with eclim-eclipse-dirs.
>
> Cheers,
> -- Fredrik

It may be worth pointing out that as of eclim 2.2.6 / 1.7.14 the
~/.eclim/.eclimd_instances file that the eclim daemon will register
itself in, now consists of a json entry per line for each running
daemon, which includes a 'home' property (in addition to the 'port'
and 'workspace' properties) pointing to the eclim plugin location
which can then be appended with 'bin/eclimd' or 'bin/eclim' to access
those scripts.

Note that the .eclimd_instances file will be deleted when the last
daemon stops, so the file only exists when there is at least one
eclimd running.
> --
> You received this message because you are subscribed to the Google Groups "emacs-eclim" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to emacs-eclim...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

--
eric
Reply all
Reply to author
Forward
0 new messages