Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

YCM error. The ycmd server SHUT DOWN (restart wit...the instructions in the documentation

I installed YCM with vim plug, but I may have shut down before process finished. Now when I start vim I get this error "The ycmd server SHUT DOWN (restart wit...the instructions in the documentation."

I've googled but can not find workable solution. I don't see anything in the documentation that helps. But I am new to vim and coding in general so may be missing something.

:YcmDebugInfo comes back with "Server errored, no debug info from server".

I have tried :YcmRestartServer, but to no result -- it pauses then returns the same error. I have also run :PlugInstall and :PlugUpdate, and all plug ins, including YCM, are coming back as up to date.

like image 674
AgentConfusedLlama Avatar asked Dec 06 '17 05:12

AgentConfusedLlama


People also ask

What to do when ycmd server shut down?

The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected error while loading the YCM core library. Type ':YcmToggleLogs ycmd_49739_stderr_rbhx3wqr.log' to check the logs.

What is the unexpected exit code for ycmd server?

Unexpected exit code 1. #2831 The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code 1. #2831 I have read and understood YCM's CONTRIBUTING document. I have read and understood YCM's CODE_OF_CONDUCT document. Frequently Asked Questions section. about to report and couldn't find an answer to my problem. ( Example Google

How do I check the logs of a YCM server?

then start vim look ycmd server shut down and go look at te logs (I'm not completely sure if let g:ycm_server_keep_logfiles = 1 is needed but it wouldn't harm). To see where the logs are located run the command :YcmDebugInfo. Then post the logs and the remaining points of writing good issue reports in CONTRIBUTING.md

Why are my ycmd logfiles empty?

If the ycmd logfiles are empties, this means that the server crashed before redirecting its standard streams to the logfiles. You should try to start ycmd manually. Run these commands in a terminal: and paste the output. Sorry, something went wrong. Sorry, something went wrong. @micbou Thanks for your response...


1 Answers

I ran into the same issue with Vundle and fixed it like this:
After installing cmake, I cd'd into ~.vim/bundle/YouCompleteMe and ran python install.py

like image 189
Anushka--x Avatar answered Sep 21 '22 10:09

Anushka--x