{"action":"opened","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2327","repository_url":"https://api.github.com/repos/Valloric/YouCompleteMe","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2327/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2327/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/2327/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/2327","id":176351451,"number":2327,"title":"YCM didn't works with external Python PySide module","user":{"login":"shahril96","id":2675341,"avatar_url":"https://avatars.githubusercontent.com/u/2675341?v=3","gravatar_id":"","url":"https://api.github.com/users/shahril96","html_url":"https://github.com/shahril96","followers_url":"https://api.github.com/users/shahril96/followers","following_url":"https://api.github.com/users/shahril96/following{/other_user}","gists_url":"https://api.github.com/users/shahril96/gists{/gist_id}","starred_url":"https://api.github.com/users/shahril96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shahril96/subscriptions","organizations_url":"https://api.github.com/users/shahril96/orgs","repos_url":"https://api.github.com/users/shahril96/repos","events_url":"https://api.github.com/users/shahril96/events{/privacy}","received_events_url":"https://api.github.com/users/shahril96/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-12T11:20:05Z","updated_at":"2016-09-12T11:20:05Z","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- [x] If filing a bug report, I have included the output of `:YcmDebugInfo`.\r\n- [x] 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\n[If filing a bug report, please include **a list of steps** that describe how to\r\nreproduce the bug you are experiencing. Also include test code if relevant.]\r\n\r\n## **vim --version**\r\n\r\n> VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jun 16 2016 10:50:38)\r\n> Included patches: 1-1689\r\n> Modified by pkg-vim-maintainers@lists.alioth.debian.org\r\n> Compiled by pkg-vim-maintainers@lists.alioth.debian.org\r\n> Huge version with GTK2 GUI.  Features included (+) or not (-):\r\n> +acl             +farsi           +mouse_netterm   +tag_binary\r\n> +arabic          +file_in_path    +mouse_sgr       +tag_old_static\r\n> +autocmd         +find_in_path    -mouse_sysmouse  -tag_any_white\r\n> +balloon_eval    +float           +mouse_urxvt     +tcl\r\n> +browse          +folding         +mouse_xterm     +terminfo\r\n> ++builtin_terms  -footer          +multi_byte      +termresponse\r\n> +byte_offset     +fork()          +multi_lang      +textobjects\r\n> +channel         +gettext         -mzscheme        +timers\r\n> +cindent         -hangul_input    +netbeans_intg   +title\r\n> +clientserver    +iconv           +packages        +toolbar\r\n> +clipboard       +insert_expand   +path_extra      +user_commands\r\n> +cmdline_compl   +job             +perl            +vertsplit\r\n> +cmdline_hist    +jumplist        +persistent_undo +virtualedit\r\n> +cmdline_info    +keymap          +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     +xsmp_interact\r\n> +emacs_tags      +mouseshape      +startuptime     +xterm_clipboard\r\n> +eval            +mouse_dec       +statusline      -xterm_save\r\n> +ex_extra        +mouse_gpm       -sun_workshop    +xpm\r\n> +extra_search    -mouse_jsbterm   +syntax          \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>     system menu file: \"$VIMRUNTIME/menu.vim\"\r\n>   fall-back for $VIM: \"/usr/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/x86_64-linux-gnu/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/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -Wdate-time  -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      \r\n> Linking: gcc   -L. -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -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  -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\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\r\n## **:YcmDebugInfo**\r\n\r\n> Printing YouCompleteMe information...\r\n> -- Server has Clang support compiled in: True\r\n> -- Clang version: clang version 3.8.0 (tags/RELEASE_380/final)\r\n> -- JediHTTP running at 127.0.0.1:60721\r\n> --   python binary: /usr/bin/python            \r\n> --   stdout log: /tmp/ycm_temp/jedihttp_60721_stdout.log\r\n> --   stderr log: /tmp/ycm_temp/jedihttp_60721_stderr.log\r\n> -- Server running at: http://127.0.0.1:57448\r\n> -- Server process ID: 4951\r\n> -- Server logfiles:\r\n> --   /tmp/ycm_temp/server_57448_stdout.log\r\n> --   /tmp/ycm_temp/server_57448_stderr.log\r\n\r\n## **:YcmToggleLogs stderr**\r\n\r\n> 2016-09-12 18:56:06,603 - INFO - Received health request\r\n> 2016-09-12 18:56:06,610 - INFO - Received filetype completion available request\r\n> 2016-09-12 18:56:06,612 - INFO - Starting JediHTTP server\r\n> 2016-09-12 18:56:06,614 - INFO - using port 60721\r\n> 2016-09-12 18:56:06,621 - INFO - Received event notification\r\n> 2016-09-12 18:56:06,627 - INFO - Received event notification\r\n> 2016-09-12 18:56:06,628 - INFO - Adding buffer identifiers for file: /home/shahril/git/ss/qt/test.py\r\n> 2016-09-12 18:56:07,454 - INFO - Received completion request\r\n> 2016-09-12 18:56:07,590 - INFO - Received completion request\r\n> 2016-09-12 18:56:07,772 - INFO - Received completion request\r\n> 2016-09-12 18:56:07,988 - INFO - Received completion request\r\n> 2016-09-12 18:56:08,139 - INFO - Received completion request\r\n> 2016-09-12 18:56:08,280 - INFO - Received completion request\r\n> 2016-09-12 18:56:08,378 - INFO - Received event notification\r\n> 2016-09-12 18:56:08,382 - INFO - Adding ONE buffer identifier for file: /home/shahril/git/ss/qt/test.py\r\n> 2016-09-12 18:56:08,388 - INFO - Received completion request\r\n> 2016-09-12 18:56:08,432 - INFO - Received completion request\r\n> 2016-09-12 18:56:08,542 - INFO - Received completion request\r\n> 2016-09-12 18:56:08,577 - INFO - Received completion request\r\n> 2016-09-12 18:56:08,767 - INFO - Received event notification\r\n> 2016-09-12 18:56:08,767 - INFO - Adding ONE buffer identifier for file: /home/shahril/git/ss/qt/test.py\r\n> 2016-09-12 18:56:08,775 - INFO - Received completion request\r\n> 2016-09-12 18:56:08,915 - INFO - Received completion request\r\n> 2016-09-12 18:56:09,078 - INFO - Received completion request\r\n> 2016-09-12 18:56:09,234 - INFO - Received completion request\r\n> 2016-09-12 18:56:09,363 - INFO - Received completion request\r\n> 2016-09-12 18:56:09,448 - INFO - Received completion request\r\n> 2016-09-12 18:56:09,558 - INFO - Received completion request\r\n> 2016-09-12 18:56:09,642 - INFO - Received event notification\r\n> 2016-09-12 18:56:09,643 - INFO - Adding ONE buffer identifier for file: /home/shahril/git/ss/qt/test.py\r\n> 2016-09-12 18:56:09,651 - INFO - Received completion request\r\n> 2016-09-12 18:56:09,824 - INFO - Received completion request\r\n> 2016-09-12 18:56:09,831 - INFO - Starting new HTTP connection (1): 127.0.0.1\r\n> 2016-09-12 18:56:10,564 - INFO - Received event notification\r\n> 2016-09-12 18:56:10,569 - INFO - Received event notification\r\n> 2016-09-12 18:56:10,570 - INFO - Adding buffer identifiers for file: /home/shahril/git/ss/qt/test.py\r\n> 2016-09-12 18:56:10,585 - INFO - Received event notification\r\n> 2016-09-12 18:56:12,033 - INFO - Received event notification\r\n> 2016-09-12 18:56:14,737 - INFO - Received completion request\r\n> 2016-09-12 18:56:15,321 - INFO - Received event notification\r\n> 2016-09-12 18:57:55,461 - INFO - Received completion request\r\n> 2016-09-12 18:57:58,146 - INFO - Received event notification\r\n> 2016-09-12 18:58:00,107 - INFO - Received event notification\r\n> 2016-09-12 18:58:08,209 - INFO - Received completion request\r\n> 2016-09-12 19:10:53,557 - INFO - Received event notification\r\n> 2016-09-12 19:10:54,443 - INFO - Received debug info request\r\n> 2016-09-12 19:11:16,416 - INFO - Received completion request\r\n> 2016-09-12 19:11:16,419 - INFO - Starting new HTTP connection (1): 127.0.0.1\r\n> 2016-09-12 19:11:17,252 - INFO - Received completion request\r\n> 2016-09-12 19:11:17,606 - INFO - Received completion request\r\n> 2016-09-12 19:11:17,881 - INFO - Received event notification\r\n> 2016-09-12 19:11:17,882 - INFO - Adding buffer identifiers for file: /home/shahril/git/ss/qt/test.py\r\n> 2016-09-12 19:11:17,889 - INFO - Received event notification\r\n> 2016-09-12 19:11:17,890 - INFO - Adding ONE buffer identifier for file: /home/shahril/git/ss/qt/test.py\r\n> 2016-09-12 19:11:17,935 - INFO - Received event notification\r\n> 2016-09-12 19:11:17,935 - INFO - Adding buffer identifiers for file: /home/shahril/git/ss/qt/test.py\r\n> 2016-09-12 19:11:18,364 - INFO - Received event notification\r\n> 2016-09-12 19:11:18,364 - INFO - Adding buffer identifiers for file: /home/shahril/git/ss/qt/test.py\r\n> 2016-09-12 19:11:21,544 - INFO - Received event notification\r\n> 2016-09-12 19:11:21,544 - INFO - Adding buffer identifiers for file: /home/shahril/git/ss/qt/test.py\r\n> 2016-09-12 19:11:23,149 - INFO - Received debug info request\r\n> 2016-09-12 19:13:54,504 - INFO - Received event notification\r\n\r\nOS that I use right now\r\n\r\n> Ubuntu 16.04\r\n\r\n# Problem\r\n\r\nRecently I have a personal project, and I planned to use some GUI library for my program's interface.\r\n\r\nHowever, when I included PySide through import into my project, and trying to use YCM, it does not show any autocomplete for me. For internal modules such as sys and tkinter, autocomplete works without any problem.\r\n\r\nBefore, I suspected that maybe Jedi is the source of this problem. But when I use plugin that utilize the same Jedi in another editor (autocomplete-python in Atom), it has no problem showing autocomplete for PySide.\r\n\r\nHere is some screenshots :\r\n\r\n### **Vim + YCM (Jedi)**\r\n![image](https://cloud.githubusercontent.com/assets/2675341/18434053/89f62a0e-791d-11e6-867e-1ef07adb1cc0.png)\r\n\r\n### **Atom + autocomplete-python**\r\n![image](https://cloud.githubusercontent.com/assets/2675341/18434088/b6483430-791d-11e6-841e-b7a2cb45bf56.png)"}}
{"actor":{"display_login":"shahril96"}}