You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just installed the latest YCM with mvim 7.4. After compiling YCM, vim started crashing immediately on startup. I get these messages printed to stdout:
Fatal Python error: PyThreadState_Get: no current thread
Vim: Caught deadly signal ABRT
Vim: Finished.
The text was updated successfully, but these errors were encountered:
…lders, r=Valloric
[READY] Use LIBPL variable to find Python library
Currently, the `build.py` script may found a debug version of the Python library instead of the release version because it searches through all the subdirectories of the standard library path. See issue ycm-core#518 for details. The solution suggested by @jmenashe (using `LIBPL` variable) works fine for system Python but not for `pyenv` because there is no dynamic library in the directory returned by the `LIBPL` variable.
Taking this into account, we now search the Python library in a list of directories. On Windows, this list only contains one directory; the same one as before. On other platforms, it contains two directories:
- the one returned by the `LIBPL` variable (for system Python);
- the parent directory of the standard Python library modules (for pyenv).
Closesycm-core#518.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/ycmd/519)
<!-- Reviewable:end -->
I've just installed the latest YCM with mvim 7.4. After compiling YCM, vim started crashing immediately on startup. I get these messages printed to stdout:
The text was updated successfully, but these errors were encountered: