jaywcjlove / vim-web

◈ 搞得像IDE一样的Vim,安装配置自己的Vim。
https://jaywcjlove.github.io/vim-web
MIT License
597 stars 130 forks source link

安装vimplus 发现会The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code 1. Type ':Y cmToggleLogs ycmd_53133_stderr_hd2s2mft.log' to check the logs. #13

Open Jixiaodong0622 opened 10 months ago

Jixiaodong0622 commented 10 months ago

我安装完vimplus,发现The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code 1. Type ':Y cmToggleLogs ycmd_53133_stderr_hd2s2mft.log' to check the logs. 这个问题,然后我上网查了一下,执行了./.vim/plugged/YouCompleteMe下的install.py,(/usr/bin/python3 install.py) 结果出现了warning。具体如下: CMake Deprecation Warning at CMakeLists.txt:18 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- The C compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found PythonLibs: /usr/lib/python3.10/config-3.10-x86_64-linux-gnu/libpython3.10.so (found version "3.10.12") -- Configuring done -- Generating done -- Build files have been written to: /tmp/regex_build__ydcqqma [ 66%] Building C object CMakeFiles/_regex.dir/regex_3/_regex.c.o [ 66%] Building C object CMakeFiles/_regex.dir/regex_3/_regex_unicode.c.o /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c: In function ‘unicode_slice’: /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c:19105:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 19105 | length = PyUnicode_GET_SIZE(string); | ^~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c:48: /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c:19105:5: warning: ‘PyUnicode_AsUnicode’ is deprecated [-Wdeprecated-declarations] 19105 | length = PyUnicode_GET_SIZE(string); | ^~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c:48: /usr/include/python3.10/cpython/unicodeobject.h:580:45: note: declared here 580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE ) PyUnicode_AsUnicode( | ^~~~~~~ /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c:19105:5: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 19105 | length = PyUnicode_GET_SIZE(string); | ^~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c:48: /usr/include/python3.10/cpython/unicodeobject.h:446:26: note: declared here 446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject op) { | ^~~~~~ /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c: In function ‘join_list_info’: /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c:20021:13: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 20021 | joiner = PyUnicode_FromUnicode(NULL, 0); | ^~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c:48: /usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject) PyUnicode_FromUnicode( | ^~~~~ /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c:20051:9: warning: ‘PyUnicode_FromUnicode’ is deprecated [-Wdeprecated-declarations] 20051 | return PyUnicode_FromUnicode(NULL, 0); | ^~ In file included from /usr/include/python3.10/unicodeobject.h:1046, from /usr/include/python3.10/Python.h:83, from /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.c:48: /usr/include/python3.10/cpython/unicodeobject.h:551:42: note: declared here 551 | Py_DEPRECATED(3.3) PyAPI_FUNC(PyObject*) PyUnicode_FromUnicode( | ^~~~~ [100%] Linking C shared library /home/jxd/.vim/plugged/YouCompleteMe/third_party/ycmd/third_party/cregex/regex_3/_regex.so [100%] Built target _regex