Package Details: vim-youcompleteme-git 2017.cb2f6d79-1

Git Clone URL: (read-only)
Package Base: vim-youcompleteme-git
Description: A code-completion engine for Vim
Upstream URL:
Licenses: GPL3
Groups: vim-plugins
Submitter: thestinger
Maintainer: victorheld
Last Packager: victorheld
Votes: 119
Popularity: 3.235579
First Submitted: 2013-02-05 21:32
Last Updated: 2017-03-08 18:41

Sources (17)

Latest Comments

wijagels commented on 2017-03-22 17:45

The python2 dependency for tern is because of node-gyp which only works with python2. However, it doesn't have to manually be set in npm flags anymore, that's been fixed for a while now.

edacval commented on 2017-03-12 15:09

@Fandekasp, according to and, USE_PYTHON2 flag is only related to ycmd server build and link stage.

Fandekasp commented on 2017-03-12 10:09

@edacval, are you sure? l.46, python2 is a dependency, and l.146, the Tern completer is installed with python2, sounds like it might cause some issues.

edacval commented on 2017-03-11 15:49

Since python3 default on Arch Linux, it may be worth to add "-DUSE_PYTHON2=OFF" to cmake params?
Sample patch: .
Tested, works for me perfectly.

MasterMax commented on 2017-03-11 15:24

@victorheld: yeah "let g:ycm_server_python_interpreter = '/usr/bin/python2'" fixed it :)

victorheld commented on 2017-03-10 16:05

@MasterMax I'm not exactly sure why this error occurs but maybe "ycm_core library compiled for Python 2 but loaded in Python 3." has something to do with it. You could try setting "let g:ycm_server_python_interpreter - '/usr/bin/python2' " in your .vimrc to try if that fixes the problem. Otherwise I'm afraid I can't help you.

MasterMax commented on 2017-03-10 15:43

the update from 2017-03-08 breaks the plugin:
I added let g:ycm_global_ycm_extra_conf = '/usr/share/vim/vimfiles/third_party/ycmd/cpp/ycm/'to my .vimrc as displayed on installation (not adding this also results in youcompleteme not working). auto completion is missing completely.
:YcmDebugInfo shows
-- Server errored, no debug info from server
the error-log shows:
2017-03-10 16:37:36,900 - ERROR - Error occurred while loading global extra conf /usr/share/vim/vimfiles/third_party/ycmd/cpp/ycm/
Traceback (most recent call last):
File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/", line 95, in _CallGlobalExtraConfMethod
module = Load( global_ycm_extra_conf, force = True )
File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/", line 174, in Load
module = LoadPythonSource( _RandomName(), module_file )
File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycmd/", line 392, in LoadPythonSource
return importlib.machinery.SourceFileLoader( name, pathname ).load_module()
File "<frozen importlib._bootstrap_external>", line 399, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 823, in load_module
File "<frozen importlib._bootstrap_external>", line 682, in load_module
File "<frozen importlib._bootstrap>", line 251, in _load_module_shim
File "<frozen importlib._bootstrap>", line 675, in _load
File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
File "/usr/share/vim/vimfiles/third_party/ycmd/cpp/ycm/", line 32, in <module>
import ycm_core
ImportError: dynamic module does not define module export function (PyInit_ycm_core)
2017-03-10 16:37:36,901 - ERROR - ycm_core library compiled for Python 2 but loaded in Python 3.
Traceback (most recent call last):
File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/", line 95, in CompatibleWithCurrentCore
ycm_core = ImportCore()
File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/", line 87, in ImportCore
import ycm_core as ycm_core
ImportError: dynamic module does not define module export function (PyInit_ycm_core)

AKSoo commented on 2017-01-30 17:39

@biosin That directory has been recently removed. Just removing retries in PKGBUILD should work. Flagged.

OneObsession commented on 2017-01-29 17:50

@biosin yes, i have the same problem. A few days ago it didn't occur.

biosin commented on 2017-01-29 17:11

package() fails with error:
cp: cannot stat '/home/[user]/.cache/pacaur/vim-youcompleteme-git/src/YouCompleteMe/third_party/retries': No such file or directory

Anyone else got the same problem?

All comments