-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"The ycmd server SHUT DOWN (restart with :YcmRestartServer)" #914
Comments
Please see CONTRIBUTING.md. |
I already saw this, but I haven't gvim/macvim. Unfortunately, my YCM is useless now and I'll have to find another plugin which comes close to this quality... I wish luck to those with this same problem. |
Are you sure you saw CONTRIBUTING.md? Because from the issue it doesn't seem so. And if you are not using vim then what are you using? |
Terminal Vim... |
which is vim... but still I don't see any point regarding writing good issue reports in CONTRIBUTING.md |
"Then start gvim/macvim"...? |
If you are unable to install them then just put this in your vimrc
then start vim look ycmd server shut down and go look at te logs (I'm not completely sure if |
Oh! Now we're moving on! :-) I stalled all packages pointed in README ( 1. Write a step-by-step procedure that when performed repeatedly reproduces your issue.I just upgraded the plugin and now it stop to work... When I open Vim, I always see the message "The ycmd server SHUT DOWN (restart with :YcmRestartServer)". When I run that command, the message "Restarting ycmd server..." appears, but in no time "The ycmd server SHUT DOWN (restart with :YcmRestartServer). Stderr (last 30 lines):" (no lines are shown). 2. ycmd debug output stream in the consoleRuntimeError: Error importing ycm_core. Are you sure you have placed a version 3.2+ libclang.[so|dll|dylib] in folder "/home/tarciozemel/.vim/bundle/YouCompleteMe/python"? See the Installation Guide in the docs. Full error: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /home/tarciozemel/.vim/bundle/YouCompleteMe/python/ycm/server/../../libclang.so) 3. Create a test case for your issueHappening in all files I try to edit. 4. Include your OS and OS versionLinux debian 3.2.0-4-amd64 # 1 SMP Debian 3.2.54-2 x86_64 GNU/Linux 5. Include the output of vim --versionVIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jan 19 2014 14:02:52) |
Thats the error, and as suggested you should have seen the docs first i-get-glibc_2xx-not-found-required-by-libclangso-when-starting-vim |
I found this through ycm-core#914, but it should probably be in the docs here.
I know I'm late to this party, but I had same issue for vim & neovim after update/upgrade.
It was extremely frustrating & annoying! BUT it now works! |
@yelled1 |
@yelled1 |
Also, clearly documented int he README. |
Not using Vundle / using plug. So, took me a bit to try the install.py after multiple rm -rf YCM* PlugInstall, PlugUpdate, etc... |
@yelled1 Thanks. I am using vundle to manage plugins (Ubuntu 16.04, kernel 4.10). So the path is
|
If you are getting this error on Ubuntu 17.10, Please install python-dev package. By default, Python 3.6 is shipped with this version of Ubuntu. Re-run the install.py file from the installed directory. |
@yelled1 |
sounds like your autocomplete package is missing the ycmd server that it requires. You need to install the YCM server. Follow the instructions from: |
This worked for me... cd /usr/local/share/vim/vim80/plugged/YouCompleteMe
sudo python3 install.py --clang-completer --js-completer |
I had the same issue on Mac and the problem was because
|
Cause I installed anaconda python replacing the system default python, when I run Then I run And, does anyone know what the script does to the python environments? |
Not sure if this is an issue. The installation instructions in the documentation seem to cover the solutions suggested in this thread. |
@yelled1 Thank you! This worked for me, except I needed to go to
as @linlinzhao said, and my issue was that
And perfect! Tried opening Vim, now works like a charm :) |
I also had problems with this error on MacOS, caused by installing with Anaconda Python 3.6.4. So, I removed the YouCompleteMe folder with
All systems are go. Request: support for Anaconda Python would be excellent, as it is inefficient to have three separate installations of Python to manage. |
It turns out that this issue happens every time after I update YCM using Vundle. |
@yelled1 ty |
cd ~/.vim/bundle/YouCompleteMe |
I am using Anaconda and had the same issue. What also seems to work is to install the missing library within Anaconda.
did the trick for me. |
@yelled1 You sir, deserve a cookie. |
|
Another important todo as I am now using pyenv: |
This is in the FAQ isn’t it? |
Even better, the |
Maintainer's note: If you are coming here from Google, go here first: https://github.com/ycm-core/YouCompleteMe/wiki/Troubleshooting-steps-for-ycmd-server-SHUT-DOWN
I just upgraded the plugin and now it stop to work... When I open Vim, I always see the message "The ycmd server SHUT DOWN (restart with :YcmRestartServer)".
When I run that command, the message "Restarting ycmd server..." appears, but in no time "The ycmd server SHUT DOWN (restart with :YcmRestartServer). Stderr (last 30 lines):" (no lines are shown).
The text was updated successfully, but these errors were encountered: