abingham / emacs-ycmd

Emacs client for ycmd, the code completion system.
MIT License
384 stars 46 forks source link

Possible breakage; ycmd-deferred:timeout #425

Closed quicknir closed 7 years ago

quicknir commented 7 years ago

I updated all packages just a couple of days ago on my other machine and everything was working fine. Today, same setup on another machine and I'm getting the following error while trying to complete using company-ycmd:

Company: backend company-ycmd error "Invalid function: ycmd-deferred:timeout" with args (candidates )

I see that my ycmd is from 20170514, i..e yesterday, so I wonder if it is possible that a bug was just pushed? ycmd-flycheck continues to work fine so I'm pretty sure the file is getting parsed correctly.

ptrv commented 7 years ago

Which version is company-ycmd? Should also be 20170514.

quicknir commented 7 years ago

It is.

ptrv commented 7 years ago

which emacs version?

quicknir commented 7 years ago

25.1.1

quicknir commented 7 years ago

It is possible that something got corrupted, I could try to clear the cache and re-download.

ptrv commented 7 years ago

yes please, try to clear and re-download

quicknir commented 7 years ago

Strange, works now. My apologies I should have tried that before bothering you.

ptrv commented 7 years ago

Ok, I am glad it works again.

drott commented 7 years ago

I faced the same probably, and it started working after updating company-ycmd and ycmd, then removing all precompiled ycmd.elc files.