{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2186","repository_url":"https://api.github.com/repos/Valloric/YouCompleteMe","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2186/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2186/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2186/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/2186","id":156925840,"node_id":"MDU6SXNzdWUxNTY5MjU4NDA=","number":2186,"title":"This package should not be accessible on Python 3","user":{"login":"nikhilkalige","id":1267404,"node_id":"MDQ6VXNlcjEyNjc0MDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/1267404?v=4","gravatar_id":"","url":"https://api.github.com/users/nikhilkalige","html_url":"https://github.com/nikhilkalige","followers_url":"https://api.github.com/users/nikhilkalige/followers","following_url":"https://api.github.com/users/nikhilkalige/following{/other_user}","gists_url":"https://api.github.com/users/nikhilkalige/gists{/gist_id}","starred_url":"https://api.github.com/users/nikhilkalige/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nikhilkalige/subscriptions","organizations_url":"https://api.github.com/users/nikhilkalige/orgs","repos_url":"https://api.github.com/users/nikhilkalige/repos","events_url":"https://api.github.com/users/nikhilkalige/events{/privacy}","received_events_url":"https://api.github.com/users/nikhilkalige/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-05-26T07:58:09Z","updated_at":"2018-12-30T11:15:41Z","closed_at":"2016-08-17T22:40:32Z","author_association":"NONE","body":"# Issue Prelude\n\n**Please complete these steps and check these boxes (by putting an `x` inside\nthe brackets) _before_ filing your issue:**\n- [ x ] I have read and understood YCM's [CONTRIBUTING](https://github.com/Valloric/YouCompleteMe/blob/master/CONTRIBUTING.md) document.\n- [ x] I have read and understood YCM's [CODE_OF_CONDUCT](https://github.com/Valloric/YouCompleteMe/blob/master/CODE_OF_CONDUCT.md) document.\n- [x ] I have read and understood YCM's [README](https://github.com/Valloric/YouCompleteMe/blob/master/README.md), **especially the\n  [Frequently Asked Questions](https://github.com/Valloric/YouCompleteMe/blob/master/README.md#faq) section.**\n- [ x] I have searched YCM's issue tracker to find issues similar to the one I'm\n  about to report and couldn't find an answer to my problem. ([Example Google\n  search.](https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fgithub.com%2FValloric%2FYouCompleteMe%2Fissues%20python%20mac))\n- [x ] If filing a bug report, I have included the output of `vim --version`.\n- [ ] If filing a bug report, I have included the output of `:YcmDebugInfo`.\n- [ ] If filing a bug report, I have included the output of\n  `:YcmToggleLogs stderr`.\n- [ x] If filing a bug report, I have included which OS (including specific OS\n  version) I am using.\n- [x ] If filing a bug report, I have included a minimal test case that reproduces\n  my issue.\n- [ x] **I understand this is an open-source project staffed by volunteers and\n  that any help I receive is a selfless, heartfelt _gift_ of their free time. I\n  know I am not entitled to anything and will be polite and courteous.**\n- [x ] **I understand my issue may be closed if it becomes obvious I didn't\n  actually perform all of these steps.**\n\nThank you for adhering to this process! It ensures your issue is resolved\nquickly and that neither your nor our time is needlessly wasted.\n# Issue Details\n\n[If filing a bug report, please include **a list of steps** that describe how to\nreproduce the bug you are experiencing. Also include test code if relevant.]\n\nVim version\n\n```\nHuge version without GUI.  Features included (+) or not (-):\n+acl             +farsi           +mouse_netterm   +tag_binary\n+arabic          +file_in_path    +mouse_sgr       +tag_old_static\n+autocmd         +find_in_path    -mouse_sysmouse  -tag_any_white\n-balloon_eval    +float           +mouse_urxvt     +tcl\n-browse          +folding         +mouse_xterm     +terminfo\n++builtin_terms  -footer          +multi_byte      +termresponse\n+byte_offset     +fork()          +multi_lang      +textobjects\n+channel         +gettext         -mzscheme        +timers\n+cindent         -hangul_input    +netbeans_intg   +title\n-clientserver    +iconv           +packages        -toolbar\n-clipboard       +insert_expand   +path_extra      +user_commands\n+cmdline_compl   +job             +perl            +vertsplit\n+cmdline_hist    +jumplist        +persistent_undo +virtualedit\n+cmdline_info    +keymap          +postscript      +visual\n+comments        +langmap         +printer         +visualextra\n+conceal         +libcall         +profile         +viminfo\n+cryptv          +linebreak       -python          +vreplace\n+cscope          +lispindent      +python3         +wildignore\n+cursorbind      +listcmds        +quickfix        +wildmenu\n+cursorshape     +localmap        +reltime         +windows\n+dialog_con      +lua             +rightleft       +writebackup\n+diff            +menu            +ruby            -X11\n+digraphs        +mksession       +scrollbind      -xfontset\n-dnd             +modify_fname    +signs           -xim\n-ebcdic          +mouse           +smartindent     -xsmp\n+emacs_tags      -mouseshape      +startuptime     -xterm_clipboard\n+eval            +mouse_dec       +statusline      -xterm_save\n+ex_extra        +mouse_gpm       -sun_workshop    -xpm\n+extra_search    -mouse_jsbterm   +syntax          \n   system vimrc file: \"$VIM/vimrc\"\n     user vimrc file: \"$HOME/.vimrc\"\n 2nd user vimrc file: \"~/.vim/vimrc\"\n      user exrc file: \"$HOME/.exrc\"\n  fall-back for $VIM: \"/usr/share/vim\"\nCompilation: 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      \nLinking: 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\n```\n\nSystem Info\n\n```\nDistributor ID: Ubuntu\nDescription:    Ubuntu 16.04 LTS\nRelease:    16.04\nCodename:   xenial\n```\n\nI 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.\n\nI get the below error\n\n```\nYouCompleteMe 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.\n\n\nTraceback (most recent call last):\n  File \"<string>\", line 24, in <module>\n  File \"/home/lonewolf/.vim/bundle/YouCompleteMe/autoload/../python/ycm/setup.py\", line 47, in SetUpYCM\n    from ycm.youcompleteme import YouCompleteMe\n  File \"/home/lonewolf/.vim/bundle/YouCompleteMe/autoload/../python/ycm/youcompleteme.py\", line 41, in <module>\n    from ycm.omni_completer import OmniCompleter\n  File \"/home/lonewolf/.vim/bundle/YouCompleteMe/autoload/../python/ycm/omni_completer.py\", line 31, in <module>\n    from ycm.client.base_request import BaseRequest, HandleServerException\n  File \"/home/lonewolf/.vim/bundle/YouCompleteMe/autoload/../python/ycm/client/base_request.py\", line 26, in <module>\n    import requests\n  File \"/home/lonewolf/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/__init__.py\", line 58, in <modu\nle>\n    from . import utils\n  File \"/home/lonewolf/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/utils.py\", line 12, in <module>\n\n    import cgi\n  File \"/usr/lib/python3.5/cgi.py\", line 42, in <module>\n    import html\n  File \"/home/lonewolf/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/python-future/src/html/__init__.py\", line 7, in <\nmodule>\n    raise ImportError('This package should not be accessible on Python 3. '\nImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder \nor your installation of python-future is corrupted.\n```\n"},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/450553796","html_url":"https://github.com/Valloric/YouCompleteMe/issues/2186#issuecomment-450553796","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2186","id":450553796,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDU1Mzc5Ng==","user":{"login":"roachsinai","id":9500049,"node_id":"MDQ6VXNlcjk1MDAwNDk=","avatar_url":"https://avatars1.githubusercontent.com/u/9500049?v=4","gravatar_id":"","url":"https://api.github.com/users/roachsinai","html_url":"https://github.com/roachsinai","followers_url":"https://api.github.com/users/roachsinai/followers","following_url":"https://api.github.com/users/roachsinai/following{/other_user}","gists_url":"https://api.github.com/users/roachsinai/gists{/gist_id}","starred_url":"https://api.github.com/users/roachsinai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roachsinai/subscriptions","organizations_url":"https://api.github.com/users/roachsinai/orgs","repos_url":"https://api.github.com/users/roachsinai/repos","events_url":"https://api.github.com/users/roachsinai/events{/privacy}","received_events_url":"https://api.github.com/users/roachsinai/received_events","type":"User","site_admin":false},"created_at":"2018-12-30T11:15:41Z","updated_at":"2018-12-30T11:15:41Z","author_association":"NONE","body":"Have tried use `/home/roach/.vim/plugged/YouCompleteMe/install.py --clang-completer --system-libclang` on virtual env get same error."}}
{"actor":{"display_login":"roachsinai"}}