-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Error on start: Error detected while processing function youcompleteme#Enable.. #1961
Comments
This is not exactly the same issue. You have an undefined symbol in the |
Our python environment is a little bit complicated, because we have CentOS 5 which comes with python 2.4.3 and is too old. But we use the Anaconda package if we need another python version. It is installed in the paths you can see below.
|
Note that we do not support Anaconda Python, only the vanilla upstream Python. Since this seems to be a system configuration issue and not a bug in YCM, closing. |
But maybe you Clan give me any hint whats going wrong when you see the output of the compilation? Anaconda Python is no special Python. It comes just with preselected librarys. |
We have a case where only having it in the path cause YCM to crash #1696 |
For me it seems not to be a system configuration issue, since YCM is the only thing I don't get to work in my system 😊 |
Hi,
I know, I'm not the first running into this problem, but every solution in #1652 and #1281 did not help on my installation. Every other vim plugin that uses python, works without problems. Is there any way to see more error output, because I can not see why python crashes.
I'm getting the following messages on vim start:
Error detected while processing function youcompleteme#Enable[10]..<SNR>109_SetUpPython:
line 32:
Traceback (most recent call last):
Error detected while processing function youcompleteme#Enable[10]..<SNR>109_SetUpPython:
line 32:
File "<string>", line 28, in <module>
Error detected while processing function youcompleteme#Enable[10]..<SNR>109_SetUpPython:
line 32:
File "/home/z/.vim/bundle/YouCompleteMe/autoload/../python/ycm/youcompleteme.py", line 32, in <module>
Error detected while processing function youcompleteme#Enable[10]..<SNR>109_SetUpPython:
line 32:
from ycm.omni_completer import OmniCompleter
Error detected while processing function youcompleteme#Enable[10]..<SNR>109_SetUpPython:
line 32:
File "/home/z/.vim/bundle/YouCompleteMe/autoload/../python/ycm/omni_completer.py", line 22, in <module>
Error detected while processing function youcompleteme#Enable[10]..<SNR>109_SetUpPython:
line 32:
from ycmd.completers.completer import Completer
Error detected while processing function youcompleteme#Enable[10]..<SNR>109_SetUpPython:
line 32:
File "/home/z/.vim/bundle/YouCompleteMe/autoload/../third_party/ycmd/ycmd/completers/completer.py", line 25, in <module>
Error detected while processing function youcompleteme#Enable[10]..<SNR>109_SetUpPython:
line 32:
from ycm_client_support import FilterAndSortCandidates
Error detected while processing function youcompleteme#Enable[10]..<SNR>109_SetUpPython:
line 32:
ImportError: /home/z/.vim/bundle/YouCompleteMe/third_party/ycmd/ycm_client_support.so: undefined symbol: PyProperty_Type
vim --version returns:
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Dec 17 2015 17:36:59)
Included patches: 1-972
Compiled by z@l57
Huge version with GTK2-GNOME GUI. Features included (+) or not (-):
+acl +farsi +mouse_netterm +syntax
+arabic +file_in_path +mouse_sgr +tag_binary
+autocmd +find_in_path -mouse_sysmouse +tag_old_static
+balloon_eval +float +mouse_urxvt -tag_any_white
+browse +folding +mouse_xterm -tcl
++builtin_terms -footer +multi_byte +terminfo
+byte_offset +fork() +multi_lang +termresponse
+cindent +gettext -mzscheme +textobjects
+clientserver -hangul_input +netbeans_intg +title
+clipboard +iconv +path_extra +toolbar
+cmdline_compl +insert_expand +perl +user_commands
+cmdline_hist +jumplist +persistent_undo +vertsplit
+cmdline_info +keymap +postscript +virtualedit
+comments +langmap +printer +visual
+conceal +libcall +profile +visualextra
+cryptv +linebreak +python/dyn +viminfo
+cscope +lispindent +python3/dyn +vreplace
+cursorbind +listcmds +quickfix +wildignore
+cursorshape +localmap +reltime +wildmenu
+dialog_con_gui +lua +rightleft +windows
+diff +menu +ruby +writebackup
+digraphs +mksession +scrollbind +X11
+dnd +modify_fname +signs -xfontset
-ebcdic +mouse +smartindent +xim
+emacs_tags +mouseshape -sniff +xsmp_interact
+eval +mouse_dec +startuptime +xterm_clipboard
+ex_extra +mouse_gpm +statusline -xterm_save
+extra_search -mouse_jsbterm -sun_workshop +xpm
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "
/.vim/vimrc"/.vim/gvimrc"user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/home/z/tools/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/libxml2 -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/lib64 -rdynamic -Wl,-export-dynamic -Wl,-E -Wl,-rpath,/sw/perl5/lib/5.8.8/x86_64-linux-thread-multi-ld/CORE -L/usr/local/lib -Wl,--as-needed -o vim -L/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -L/lib64 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnome-keyring -lxml2 -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lbonobo-2 -lgnomevfs-2 -lbonobo-activation -lgconf-2 -lgobject-2.0 -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lelf -lnsl -lselinux -lacl -lattr -lgpm -L/home/z/tools/lib -lluajit-5.1 -Wl,-E -Wl,-rpath,/sw/perl5/lib/5.8.8/x86_64-linux-thread-multi-ld/CORE -L/usr/local/lib /sw/perl5/lib/5.8.8/x86_64-linux-thread-multi-ld/auto/DynaLoader/DynaLoader.a -L/sw/perl5/lib/5.8.8/x86_64-linux-thread-multi-ld/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -lruby -lpthread -ldl -lcrypt -lm -L/usr/lib64
The text was updated successfully, but these errors were encountered: