Skip to content
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

安装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 this issue Nov 12, 2023 · 0 comments

Comments

@Jixiaodong0622
Copy 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. 这个问题,然后我上网查了一下,执行了./.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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant