{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2427","repository_url":"https://api.github.com/repos/Valloric/YouCompleteMe","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2427/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2427/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2427/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/2427","id":186685130,"number":2427,"title":"Undefined symbol: PyByteArray_Type","user":{"login":"jath03","id":19377314,"avatar_url":"https://avatars.githubusercontent.com/u/19377314?v=3","gravatar_id":"","url":"https://api.github.com/users/jath03","html_url":"https://github.com/jath03","followers_url":"https://api.github.com/users/jath03/followers","following_url":"https://api.github.com/users/jath03/following{/other_user}","gists_url":"https://api.github.com/users/jath03/gists{/gist_id}","starred_url":"https://api.github.com/users/jath03/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jath03/subscriptions","organizations_url":"https://api.github.com/users/jath03/orgs","repos_url":"https://api.github.com/users/jath03/repos","events_url":"https://api.github.com/users/jath03/events{/privacy}","received_events_url":"https://api.github.com/users/jath03/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-02T00:39:11Z","updated_at":"2016-11-02T10:19:21Z","closed_at":null,"body":"# Issue Prelude\r\n\r\n**Please complete these steps and check these boxes (by putting an `x` inside\r\nthe brackets) _before_ filing your issue:**\r\n\r\n- [x] I have read and understood YCM's [CONTRIBUTING][cont] document.\r\n- [x] I have read and understood YCM's [CODE_OF_CONDUCT][code] document.\r\n- [x] I have read and understood YCM's [README][readme], **especially the\r\n  [Frequently Asked Questions][faq] section.**\r\n- [x] I have searched YCM's issue tracker to find issues similar to the one I'm\r\n  about to report and couldn't find an answer to my problem. ([Example Google\r\n  search.][search])\r\n- [x] If filing a bug report, I have included the output of `vim --version`.\r\n- [ ] If filing a bug report, I have included the output of `:YcmDebugInfo`.\r\n- [ ] If filing a bug report, I have included the output of\r\n  `:YcmToggleLogs stderr`.\r\n- [x] If filing a bug report, I have included which OS (including specific OS\r\n  version) I am using.\r\n- [ ] If filing a bug report, I have included a minimal test case that reproduces\r\n  my issue.\r\n- [x] **I understand this is an open-source project staffed by volunteers and\r\n  that any help I receive is a selfless, heartfelt _gift_ of their free time. I\r\n  know I am not entitled to anything and will be polite and courteous.**\r\n- [x] **I understand my issue may be closed if it becomes obvious I didn't\r\n  actually perform all of these steps.**\r\n\r\nThank you for adhering to this process! It ensures your issue is resolved\r\nquickly and that neither your nor our time is needlessly wasted.\r\n\r\n# Issue Details\r\n\r\nThe error is as follows.  `YouCompleteMe unavailable: /usr/local/lib/python3.5/lib-dynload/_socket.cpython-35m-arm-linux-gnueabihf.so: undefined\r\nsymbol: PyByteArray_Type`\r\n\r\noutput of `:messages`:  \r\nTraceback (most recent call last):\r\n  File \"<string>\", line 22, in <module>\r\n  File \"/home/jack/.vim/bundle/YouCompleteMe/autoload/../python/ycm/base.py\", line 27, in <module>\r\n    from ycm import vimsupport\r\n  File \"/home/jack/.vim/bundle/YouCompleteMe/autoload/../python/ycm/vimsupport.py\", line 33, in <module>\r\n    from ycmd.utils import ( GetCurrentDirectory, JoinLinesAsUnicode, ToBytes,\r\n  File \"/home/jack/.vim/bundle/YouCompleteMe/python/ycm/../../third_party/ycmd/ycmd/utils.py\", line 30, in <module>\r\n    import socket\r\n  File \"/usr/local/lib/python3.5/socket.py\", line 49, in <module>\r\n    import _socket\r\nImportError: /usr/local/lib/python3.5/lib-dynload/_socket.cpython-35m-arm-linux-gnueabihf.so: undefined symbol: PyByte Array_Type\r\n\r\nWhen I googled the error, [this](http://stackoverflow.com/questions/40251893/datastax-python-cassandra-driver-build-fails-on-ubuntu) came up which looks similar and might help identify and fix the problem.  \r\n\r\nBTW when I tried importing socket in the shell it imported normally.\r\n\r\n`vim --version`:\r\n    $ vim --version\r\n    VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov  1 2016 22:12:03)\r\n    Included patches: 1-55\r\n    Compiled by jack@router\r\n    Huge version with GTK2 GUI.  Features included (+) or not (-):\r\n    +acl             +file_in_path    +mouse_sgr       +tag_old_static\r\n    +arabic          +find_in_path    -mouse_sysmouse  -tag_any_white\r\n    +autocmd         +float           +mouse_urxvt     -tcl\r\n    +balloon_eval    +folding         +mouse_xterm     +termguicolors\r\n    +browse          -footer          +multi_byte      +terminfo\r\n    ++builtin_terms  +fork()          +multi_lang      +termresponse\r\n    +byte_offset     +gettext         -mzscheme        +textobjects\r\n    +channel         -hangul_input    +netbeans_intg   +timers\r\n    +cindent         +iconv           +num64           +title\r\n    +clientserver    +insert_expand   +packages        +toolbar\r\n    +clipboard       +job             +path_extra      +user_commands\r\n    +cmdline_compl   +jumplist        -perl            +vertsplit\r\n    +cmdline_hist    +keymap          +persistent_undo +virtualedit\r\n    +cmdline_info    +lambda          +postscript      +visual\r\n    +comments        +langmap         +printer         +visualextra\r\n    +conceal         +libcall         +profile         +viminfo\r\n    +cryptv          +linebreak       -python          +vreplace\r\n    +cscope          +lispindent      +python3         +wildignore\r\n    +cursorbind      +listcmds        +quickfix        +wildmenu\r\n    +cursorshape     +localmap        +reltime         +windows\r\n   +dialog_con_gui  -lua             +rightleft       +writebackup\r\n   +diff            +menu            -ruby            +X11\r\n    +digraphs        +mksession       +scrollbind      -xfontset\r\n    +dnd             +modify_fname    +signs           +xim\r\n    -ebcdic          +mouse           +smartindent     +xpm\r\n    +emacs_tags      +mouseshape      +startuptime     +xsmp_interact\r\n    +eval            +mouse_dec       +statusline      +xterm_clipboard\r\n    +ex_extra        -mouse_gpm       -sun_workshop    -xterm_save\r\n    +extra_search    -mouse_jsbterm   +syntax\r\n    +farsi           +mouse_netterm   +tag_binary\r\n       system vimrc file: \"$VIM/vimrc\"\r\n         user vimrc file: \"$HOME/.vimrc\"\r\n     2nd user vimrc file: \"~/.vim/vimrc\"\r\n          user exrc file: \"$HOME/.exrc\"\r\n      system gvimrc file: \"$VIM/gvimrc\"\r\n        user gvimrc file: \"$HOME/.gvimrc\"\r\n    2nd user gvimrc file: \"~/.vim/gvimrc\"\r\n           defaults file: \"$VIMRUNTIME/defaults.vim\"\r\n        system menu file: \"$VIMRUNTIME/menu.vim\"\r\n      fall-back for $VIM: \"/usr/local/share/vim\"\r\n    Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/freetype2    -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1\r\nLinking: gcc   -L/usr/local/lib -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype  -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -ldl     -L/usr/local/lib/python3.5/config-3.5m -lpython3.5m -lpthread -ldl -lutil -lm\r\n\r\nSome background info: I am running raspbian jessie on a raspberry pi and compiled python3.5 from source because `apt-get` only had version 3.3.\r\n\r\n\r\nSorry for any problems that the lack of formatting may have caused.\r\n\r\n[cont]: https://github.com/Valloric/YouCompleteMe/blob/master/CONTRIBUTING.md\r\n[code]: https://github.com/Valloric/YouCompleteMe/blob/master/CODE_OF_CONDUCT.md\r\n[readme]: https://github.com/Valloric/YouCompleteMe/blob/master/README.md\r\n[faq]: https://github.com/Valloric/YouCompleteMe/blob/master/README.md#faq\r\n[search]: https://www.google.com/search?q=site%3Ahttps%3A%2F%2Fgithub.com%2FValloric%2FYouCompleteMe%2Fissues%20python%20mac\r\n"},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/257825068","html_url":"https://github.com/Valloric/YouCompleteMe/issues/2427#issuecomment-257825068","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2427","id":257825068,"user":{"login":"vheon","id":90633,"avatar_url":"https://avatars.githubusercontent.com/u/90633?v=3","gravatar_id":"","url":"https://api.github.com/users/vheon","html_url":"https://github.com/vheon","followers_url":"https://api.github.com/users/vheon/followers","following_url":"https://api.github.com/users/vheon/following{/other_user}","gists_url":"https://api.github.com/users/vheon/gists{/gist_id}","starred_url":"https://api.github.com/users/vheon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vheon/subscriptions","organizations_url":"https://api.github.com/users/vheon/orgs","repos_url":"https://api.github.com/users/vheon/repos","events_url":"https://api.github.com/users/vheon/events{/privacy}","received_events_url":"https://api.github.com/users/vheon/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T10:19:21Z","updated_at":"2016-11-02T10:19:21Z","body":"> and compiled python3.5 from source because apt-get only had version 3.3.\r\n\r\nAnd what was wrong with Python 3.3?"}}
{"actor":{"display_login":"vheon"}}