Youcompleteme: This package should not be accessible on Python 3

Created on 26 May 2016  路  25Comments  路  Source: ycm-core/YouCompleteMe

Issue Prelude

Please complete these steps and check these boxes (by putting an x inside
the brackets) _before_ filing your issue:

  • [ x ] I have read and understood YCM's CONTRIBUTING document.
  • [ x] I have read and understood YCM's CODE_OF_CONDUCT document.
  • [x ] I have read and understood YCM's README, especially the
    Frequently Asked Questions section.
  • [ x] I have searched YCM's issue tracker to find issues similar to the one I'm
    about to report and couldn't find an answer to my problem. (Example Google
    search.
    )
  • [x ] If filing a bug report, I have included the output of vim --version.
  • [ ] If filing a bug report, I have included the output of :YcmDebugInfo.
  • [ ] If filing a bug report, I have included the output of
    :YcmToggleLogs stderr.
  • [ x] If filing a bug report, I have included which OS (including specific OS
    version) I am using.
  • [x ] If filing a bug report, I have included a minimal test case that reproduces
    my issue.
  • [ x] I understand this is an open-source project staffed by volunteers and
    that any help I receive is a selfless, heartfelt _gift_ of their free time. I
    know I am not entitled to anything and will be polite and courteous.
  • [x ] I understand my issue may be closed if it becomes obvious I didn't
    actually perform all of these steps.

Thank you for adhering to this process! It ensures your issue is resolved
quickly and that neither your nor our time is needlessly wasted.

Issue Details

[If filing a bug report, please include a list of steps that describe how to
reproduce the bug you are experiencing. Also include test code if relevant.]

Vim version

Huge version without GUI.  Features included (+) or not (-):
+acl             +farsi           +mouse_netterm   +tag_binary
+arabic          +file_in_path    +mouse_sgr       +tag_old_static
+autocmd         +find_in_path    -mouse_sysmouse  -tag_any_white
-balloon_eval    +float           +mouse_urxvt     +tcl
-browse          +folding         +mouse_xterm     +terminfo
++builtin_terms  -footer          +multi_byte      +termresponse
+byte_offset     +fork()          +multi_lang      +textobjects
+channel         +gettext         -mzscheme        +timers
+cindent         -hangul_input    +netbeans_intg   +title
-clientserver    +iconv           +packages        -toolbar
-clipboard       +insert_expand   +path_extra      +user_commands
+cmdline_compl   +job             +perl            +vertsplit
+cmdline_hist    +jumplist        +persistent_undo +virtualedit
+cmdline_info    +keymap          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       -python          +vreplace
+cscope          +lispindent      +python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con      +lua             +rightleft       +writebackup
+diff            +menu            +ruby            -X11
+digraphs        +mksession       +scrollbind      -xfontset
-dnd             +modify_fname    +signs           -xim
-ebcdic          +mouse           +smartindent     -xsmp
+emacs_tags      -mouseshape      +startuptime     -xterm_clipboard
+eval            +mouse_dec       +statusline      -xterm_save
+ex_extra        +mouse_gpm       -sun_workshop    -xpm
+extra_search    -mouse_jsbterm   +syntax          
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
Linking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.22/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu -lpython3.5m -lpthread -ldl -lutil -lm -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lieee -lm -lruby-2.3 -lpthread -lgmp -ldl -lcrypt -lm

System Info

Distributor ID: Ubuntu
Description:    Ubuntu 16.04 LTS
Release:    16.04
Codename:   xenial

I cloned the repo and installed by running python3 install.py. I also tried setting let g:ycm_server_python_interpreter = '/usr/bin/python3'. I also tried using python2 to compile and setting the value. But none of the combinations work.

I get the below error

YouCompleteMe unavailable: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.


Traceback (most recent call last):
  File "<string>", line 24, in <module>
  File "/home/lonewolf/.vim/bundle/YouCompleteMe/autoload/../python/ycm/setup.py", line 47, in SetUpYCM
    from ycm.youcompleteme import YouCompleteMe
  File "/home/lonewolf/.vim/bundle/YouCompleteMe/autoload/../python/ycm/youcompleteme.py", line 41, in <module>
    from ycm.omni_completer import OmniCompleter
  File "/home/lonewolf/.vim/bundle/YouCompleteMe/autoload/../python/ycm/omni_completer.py", line 31, in <module>
    from ycm.client.base_request import BaseRequest, HandleServerException
  File "/home/lonewolf/.vim/bundle/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 26, in <module>
    import requests
  File "/home/lonewolf/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/__init__.py", line 58, in <modu
le>
    from . import utils
  File "/home/lonewolf/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/utils.py", line 12, in <module>

    import cgi
  File "/usr/lib/python3.5/cgi.py", line 42, in <module>
    import html
  File "/home/lonewolf/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/python-future/src/html/__init__.py", line 7, in <
module>
    raise ImportError('This package should not be accessible on Python 3. '
ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder 
or your installation of python-future is corrupted.

Most helpful comment

@Kwpolska @mraxilus @radzak Thanks, that's really helpful. I've sent PR https://github.com/Valloric/ycmd/pull/578 that should fix the issue. Feel free to try it out.

All 25 comments

What is the output of the command:

:py3 import pprint; pprint.pprint( sys.path )

in Vim?

I am (unfortunately) able to duplicate this issue.

Ubuntu 16.04
vim +version output: pastebin to avoid duplication

@micbou the command you requested gave (sorry about formatting)

['/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/OmniSharpServer',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/tern_runtime',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/godef',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/waitress',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/argparse',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/gocode',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/JediHTTP',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/frozendict',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/racerd',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/requests-futures',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/pythonfutures',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/retries',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/python/ycm/../../third_party/ycmd',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/autoload/../python',
 '/home/dadsouza/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/python-future/src',
 '/home/dadsouza/catkin_ws/devel/lib/python2.7/dist-packages',
 '/opt/ros/kinetic/lib/python2.7/dist-packages',
 '/usr/lib/python35.zip',
 '/usr/lib/python3.5',
 '/usr/lib/python3.5/plat-x86_64-linux-gnu',
 '/usr/lib/python3.5/lib-dynload',
 '/usr/local/lib/python3.5/dist-packages',
 '/usr/lib/python3/dist-packages',
 '_vim_path_']

I first noticed the problem today, after a system update. Here is shortened apt-log. I'm thinking that the python updates are at fault.

Setting up bash-completion (1:2.1-4.2ubuntu1.1) ...
Setting up google-chrome-stable (51.0.2704.63-1) ...
Setting up samba-common (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up libwbclient0:amd64 (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up samba-libs:amd64 (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up libsmbclient:amd64 (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up smbclient (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up python-samba (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up samba-common-bin (2:4.3.9+dfsg-0ubuntu0.16.04.2) ...
Setting up dmidecode (3.0-2ubuntu0.1) ...
Setting up adwaita-icon-theme (3.18.0-2ubuntu3.1) ...
Setting up libgstreamer1.0-0:amd64 (1.8.1-1~ubuntu1) ...
Setcap worked! gst-ptp-helper is not suid!
Setting up gir1.2-gstreamer-1.0 (1.8.1-1~ubuntu1) ...
Setting up libgstreamer-plugins-base1.0-0:amd64 (1.8.1-1ubuntu0.1) ...
Setting up gir1.2-gst-plugins-base-1.0 (1.8.1-1ubuntu0.1) ...
Setting up gstreamer1.0-alsa:amd64 (1.8.1-1ubuntu0.1) ...
Setting up gstreamer1.0-plugins-base:amd64 (1.8.1-1ubuntu0.1) ...
Setting up libgstreamer-plugins-good1.0-0:amd64 (1.8.1-1ubuntu0.1) ...
Setting up gstreamer1.0-plugins-good:amd64 (1.8.1-1ubuntu0.1) ...
Setting up gstreamer1.0-pulseaudio:amd64 (1.8.1-1ubuntu0.1) ...
Setting up gstreamer1.0-tools (1.8.1-1~ubuntu1) ...
Setting up gstreamer1.0-x:amd64 (1.8.1-1ubuntu0.1) ...
Setting up libunity-control-center1 (15.04.0+16.04.20160413-0ubuntu2) ...
Setting up python-pip-whl (8.1.1-2ubuntu0.1) ...
Setting up python3-pip (8.1.1-2ubuntu0.1) ...
Setting up python-pip (8.1.1-2ubuntu0.1) ...
Setting up python-pyparsing (2.0.3+dfsg1-1ubuntu0.1) ...
Setting up unity-control-center-faces (15.04.0+16.04.20160413-0ubuntu2) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

There is something wrong with your Python path. Those two paths:

/home/dadsouza/catkin_ws/devel/lib/python2.7/dist-packages
/opt/ros/kinetic/lib/python2.7/dist-packages

should not be in sys.path on Python 3. Could you check that they are not defined in your PYTHONPATH environment variable?

$ echo $PYTHONPATH
/home/dadsouza/catkin_ws/devel/lib/python2.7/dist-packages:/opt/ros/kinetic/lib/python2.7/dist-packages

They are defined there. I am pretty sure that they are required for ROS though, as python in ROS is primarily 2.7.

@daniel-dsouza I don't have my pc to check the path, but I think I may have the problem as you, as I am a ROS user like you..:)

it seems that ROS adds those paths to the PYTHONPATH, as I don't remember doing it.

since sys.path concatenates PYTHONPATH along with other sources, it seems that that is the source of the problem.

I guess the conclusion is that this is a ROS issue, and not a YCM issue. I am not very experienced with managing multiple python configurations, but is there a way we can use virtualenv, or is there a simpler solution?

In the short term, I might try recompiling vim with the python vs the python3 flag

UPDATE: recompiling vim with python (not python3) support fixes the problem.

As this is an error with your configuration/environment and not a YCM bug, I'm closing this.

I'm reproducing the same issue on Ubuntu 16.04 when I run Vim inside python2 virtualenv. There is vim-nox-py2 vim version that works in such configuration.

Same as DXist here, but I'd very much like to use Python 3 or at least disable that message from popping up.

I鈥檓 having the same issue on OS X with MacVim (installed with brew install macvim --with-python3). The error pops up when using any virtualenv.

I am reopening the issue as it seems to affect a lot of users and because I think we can prevent it by improving the way we are adding the python-future module to sys.path. For everyone having the error, could you paste the output of the command:

:py3 import pprint; pprint.pprint( sys.path )

in Vim?

['/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/waitress',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/tern_runtime',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/racerd',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/OmniSharpServer',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/JediHTTP',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/godef',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/gocode',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/frozendict',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/argparse',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/retries',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/requests-futures',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/pythonfutures',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/python/ycm/../../third_party/ycmd',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/autoload/../python',
 '/Users/kwpolska/dotfiles/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/python-future/src',
 '/Users/kwpolska/virtualenvs/nikola/lib/python3.5/site-packages',
 '/Users/kwpolska/git/nikola',
 '/Users/kwpolska',
 '/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python35.zip',
 '/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5',
 '/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/plat-darwin',
 '/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload',
 '/Users/kwpolska/Library/Python/3.5/lib/python/site-packages',
 '/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages',
 '_vim_path_',
 '/Users/kwpolska/dotfiles/.vim/bundle/vim-virtualenv/autoload']
['/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/waitress',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/gocode',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/racerd',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/frozendict',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/JediHTTP',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/OmniSharpServer',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/argparse',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/tern_runtime',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/godef',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/requests-futures',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/retries',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/pythonfutures',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/python/ycm/../../third_party/ycmd',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/autoload/../python',
 '/usr/local/lib/python3.5/dist-packages/protobuf-3.0.0b4-py3.5-linux-x86_64.egg',
 '/home/mraxilus/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/python-future/src',
 '/usr/lib/python3/dist-packages',
 '/usr/lib/python35.zip',
 '/usr/lib/python3.5',
 '/usr/lib/python3.5/plat-x86_64-linux-gnu',
 '/usr/lib/python3.5/lib-dynload',
 '/usr/local/lib/python3.5/dist-packages',
 '_vim_path_']

The error pops up when I enter VIM with any virtualenv activated.

['/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/frozendict',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/OmniSharpServer',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/bottle',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/argparse',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/godef',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/tern_runtime',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/gocode',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/racerd',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/JediHTTP',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/waitress',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/requests-futures',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/retries',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/pythonfutures',
 '/home/jatimir/.vim/bundle/YouCompleteMe/python/ycm/../../third_party/ycmd',
 '/home/jatimir/.vim/bundle/YouCompleteMe/autoload/../python',
 '/home/jatimir/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/python-future/src',
 '/home/jatimir/.virtualenvs/django/lib/python3.5/site-packages',
 '/usr/lib/python35.zip',
 '/usr/lib/python3.5',
 '/usr/lib/python3.5/plat-x86_64-linux-gnu',
 '/usr/lib/python3.5/lib-dynload',
 '/home/jatimir/.local/lib/python3.5/site-packages',
 '/usr/local/lib/python3.5/dist-packages',
 '/usr/lib/python3/dist-packages',
 '_vim_path_',
 '/home/jatimir/.vim/bundle/vim-virtualenv/autoload']

@Kwpolska @mraxilus @radzak Thanks, that's really helpful. I've sent PR https://github.com/Valloric/ycmd/pull/578 that should fix the issue. Feel free to try it out.

Thanks, that fixes the issue. I just had to update the submodules using git submodule update --remote --merge.

I get same error on a virtual python environment created by virtualenv, today.

YouCompleteMe unavailable: This package should not be accessible on Python 3. Either you are trying to run from the python
-future src folder or your installation of python-future is corrupted.

Casue Ycm unavailable, I can't use YcmToggleLogs command, etc.


py3 import pprint; pprint.pprint( sys.path ) output on virtual environmnet:

['/home/roach/.vim/plugged/YouCompleteMe/python',
 '/home/roach/.vim/plugged/YouCompleteMe/third_party/requests-futures',
 '/home/roach/.vim/plugged/YouCompleteMe/third_party/ycmd',
 '/home/roach/.vim/plugged/YouCompleteMe/third_party/requests_deps/idna',
 '/home/roach/.vim/plugged/YouCompleteMe/third_party/requests_deps/chardet',
 '/home/roach/.vim/plugged/YouCompleteMe/third_party/requests_deps/urllib3/src',
 '/home/roach/.vim/plugged/YouCompleteMe/third_party/requests_deps/certifi',
 '/home/roach/.vim/plugged/YouCompleteMe/third_party/requests_deps/requests',
 '/home/roach',
 '/home/roach/slim',
 '/home/roach/.virtualenvs/nn/lib/python37.zip',
 '/home/roach/.virtualenvs/nn/lib/python3.7',
 '/home/roach/.vim/plugged/YouCompleteMe/third_party/python-future/src',
 '/home/roach/.virtualenvs/nn/lib/python3.7/lib-dynload',
 '/usr/lib64/python3.7',
 '/usr/lib/python3.7',
 '/home/roach/.virtualenvs/nn/lib/python3.7/site-packages',
 '/home/roach/.virtualenvs/nn/lib/python3.7/site-packages/pycocotools-2.0-py3.7-linux-x86_64.egg',
 '/home/roach/.virtualenvs/nn/lib/python3.7/site-packages',
 '_vim_path_']

Seems, I need update my virtual packages? But all python version is 3.7.1.

Have tried use /home/roach/.vim/plugged/YouCompleteMe/install.py --clang-completer --system-libclang on virtual env get same error.

@roachsinai This should be fixed by PR #3285. Could you give it a try and report back?

@micbou I seem to have the same issue reported here and tried with your PR, and I think it did not solve the issue. At least the symptoms are still present. Does anyone know what caused the issue to appear again all of a sudden? It was working fine for me until very recently, I'm not sure if I updated something and it caused a breakage, but I was surprised.

@remusao I made a mistake in the PR. Could you try again?

It looks like one of these two might have triggered the issue: 1e37efe648e86378d026131f327c0321a891b561 or c209cdbbfcc90c9ab8fa078beb2fe668743b4d0e. If I use this commit b0f18804f3c85eab6bb2912ee3f2f3d2b238404a, things seem to work as usual.

After merge the pull request now, the error is corrected. @micbou thank you very much.

I was just about to post here the same issue, but then noticed the last commit, updated YCM, and the issue seems to be fixed. Great work guys! :)

Was this page helpful?
0 / 5 - 0 ratings