You are not logged in.

#1 2016-04-08 16:55:21

Viterzgir
Member
Registered: 2013-11-07
Posts: 46

[Solved] Vim with youcompleteme issue

Hello guys! I've got following error in youcompleteme.
stderr.log
Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 170, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/serge/.vim/plugged/YouCompleteMe/python/ycm/../../third_party/ycmd/ycmd/__main__.py", line 183, in <module>
    Main()
  File "/home/serge/.vim/plugged/YouCompleteMe/python/ycm/../../third_party/ycmd/ycmd/__main__.py", line 160, in Main
    if not CompatibleWithCurrentCoreVersion():
  File "/home/serge/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/server_utils.py", line 52, in CompatibleWithCurrentCoreVersion
    import ycm_core
ImportError: /home/serge/.vim/plugged/YouCompleteMe/third_party/ycmd/ycmd/../ycm_core.so: undefined symbol: clang_parseTranslationUnit2FullArgv
Add let g:ycm_path_to_python_interpreter = '/usr/bin/python' in .vimrc not working for me.

Last edited by Viterzgir (2016-04-09 13:56:04)

Offline

#2 2016-04-08 17:03:25

minimalm
Member
From: Juneau, AK
Registered: 2011-09-08
Posts: 23
Website

Re: [Solved] Vim with youcompleteme issue

I've been having trouble too, I think it's because clang is still version 3.7, youcompleteme requires 3.8.

Heres the error I get:

Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/__main__.py", line 183, in <module>
    Main()
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/__main__.py", line 160, in Main
    if not CompatibleWithCurrentCoreVersion():
  File "/usr/share/vim/vimfiles/third_party/ycmd/ycmd/server_utils.py", line 52, in CompatibleWithCurrentCoreVersion
    import ycm_core
ImportError: /usr/share/vim/vimfiles/third_party/ycmd/ycmd/../ycm_core.so: undefined symbol: clang_parseTranslationUnit2FullArgv

Last edited by minimalm (2016-04-08 17:40:19)

Offline

#3 2016-04-08 23:40:07

Viterzgir
Member
Registered: 2013-11-07
Posts: 46

Re: [Solved] Vim with youcompleteme issue

Thanks for you reply. I'm recompile YCM without system libclang and completion works again for now.

Last edited by Viterzgir (2016-04-08 23:40:56)

Offline

#4 2016-04-09 08:49:51

xazax
Member
Registered: 2015-09-23
Posts: 6

Re: [Solved] Vim with youcompleteme issue

I had the same problem, but I would like to use this for C++ development. When it is planned to update the clang packages? It was released a while ago. Is there a blocking issue? How to get information on this?

Offline

#5 2016-04-09 12:26:22

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [Solved] Vim with youcompleteme issue

@Viterzgir, please mark the thread as solved.

@xazax, YCM devs recommend that you don't use system clang exactly for reasons like this. As for any blocking issues, please check the Arch bug tracker and dev mailing lists for any relative stuff.

Offline

Board footer

Powered by FluxBB