You are not logged in.
Pages: 1
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
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_parseTranslationUnit2FullArgvLast edited by minimalm (2016-04-08 17:40:19)
Offline
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
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
@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
Pages: 1