emacs-ycmd icon indicating copy to clipboard operation
emacs-ycmd copied to clipboard

Skip ycmd completion response deferred error

Open ChoppinBlockParty opened this issue 7 years ago • 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.

ChoppinBlockParty avatar Nov 08 '18 17:11 ChoppinBlockParty

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

LoveGlitchCoffee avatar Nov 09 '18 08:11 LoveGlitchCoffee

I am working on the machine directly.

ChoppinBlockParty avatar Nov 09 '18 09:11 ChoppinBlockParty

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

abingham avatar Nov 09 '18 09:11 abingham

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

ChoppinBlockParty avatar Nov 09 '18 12:11 ChoppinBlockParty

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\\..*\\)")))

ChoppinBlockParty avatar Nov 12 '18 15:11 ChoppinBlockParty

Maybe duplicate of #490

dvzubarev avatar Nov 12 '19 13:11 dvzubarev