abingham/emacs-ycmd

Skip ycmd completion response deferred error

Opened this issue · 6 comments

Today have installed latest ycmd and lates emacs packages. Now I am completion is not working, I am getting this error. Any ideas?

Skip ycmd completion response [7 times]
deferred error : (wrong-type-argument number-or-marker-p nil)

Ycmd seems to be working fine.

I encountered this error recently and couldn't figured out why, until literally just now I figured out it was because I was accessing my machine over ssh ...
When accessing my machine directly, emacs-ycmd asks me to load my project ycm_extra_config, whereas it does not over ssh.

EDIT: Did just solve this by running emacs --daemon on my machine and accesing as emacsclient over ssh

I am working on the machine directly.

Is it possible to get more information about the bug, e.g. by using toggle-debug-on-error?

Hmm, weird, for some reasons I do not see any debug information in *Messages* buffer. Am I missing something?

I found out it was proxy on my site. It start working but I need env -u HTTPS_PROXY -u HTTP_PROXY -u https_proxy -u http_proxy emacs to make it work. I have

NO_PROXY=localhost,127.0.0.0/8,::1
no_proxy=localhost,127.0.0.0/8,::1

in my environment variables, but that does not help. How can I keep the proxy for everything except localhost?

This does not help

(setq url-proxy-services '(("no_proxy" . "^\\(localhost\\|127\\..*\\|192\\.168\\..*\\)")))

Maybe duplicate of #490