{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/3074","repository_url":"https://api.github.com/repos/Valloric/YouCompleteMe","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/3074/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/3074/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/3074/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/3074","id":339227202,"node_id":"MDU6SXNzdWUzMzkyMjcyMDI=","number":3074,"title":"YCM not working with Golang","user":{"login":"anfeierde","id":24636332,"node_id":"MDQ6VXNlcjI0NjM2MzMy","avatar_url":"https://avatars3.githubusercontent.com/u/24636332?v=4","gravatar_id":"","url":"https://api.github.com/users/anfeierde","html_url":"https://github.com/anfeierde","followers_url":"https://api.github.com/users/anfeierde/followers","following_url":"https://api.github.com/users/anfeierde/following{/other_user}","gists_url":"https://api.github.com/users/anfeierde/gists{/gist_id}","starred_url":"https://api.github.com/users/anfeierde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anfeierde/subscriptions","organizations_url":"https://api.github.com/users/anfeierde/orgs","repos_url":"https://api.github.com/users/anfeierde/repos","events_url":"https://api.github.com/users/anfeierde/events{/privacy}","received_events_url":"https://api.github.com/users/anfeierde/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-07-08T13:45:21Z","updated_at":"2018-09-27T10:57:57Z","closed_at":"2018-07-08T14:47:36Z","author_association":"NONE","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 attached the contents of the logfiles using\r\n  the `:YcmToggleLogs` command.\r\n- [x] If filing a bug report, I have included which OS (including specific OS\r\n  version) I am using.\r\n- [x] If filing a bug report, I have included a minimal test case that reproduces\r\n  my issue, including what I expected to happen and what actually happened.\r\n- [x] If filing a installation failure report, I have included the entire output\r\n  of `install.py` (or `cmake`/`make`/`ninja`) including its invocation\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\nycm only golang not working\r\n\r\n* What did you do?\r\n```\r\n./install.py --clang-completer --go-completer\r\n```\r\n\r\n* What did you expect to happen?\r\nnot working\r\n<img width=\"697\" alt=\"2018-07-08 10 16 11\" src=\"https://user-images.githubusercontent.com/24636332/42420738-bd979d3a-82fc-11e8-8ec7-71f2156e67d4.png\">\r\n\r\n* What actually happened?\r\ni want like python\r\n<img width=\"697\" alt=\"2018-07-08 10 16 37\" src=\"https://user-images.githubusercontent.com/24636332/42420739-c613107a-82fc-11e8-8b80-4c21f899d6ee.png\">\r\n\r\n# Diagnostic data\r\n\r\n## Output of `vim --version`\r\n```\r\nVIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 29 2017 18:37:46)\r\nIncluded patches: 1-503, 505-680, 682-1283\r\nCompiled by root@apple.com\r\nNormal version without 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      -terminal\r\n+builtin_terms   +fork()          +multi_lang      +terminfo\r\n+byte_offset     -gettext         -mzscheme        +termresponse\r\n+channel         -hangul_input    +netbeans_intg   +textobjects\r\n+cindent         +iconv           +num64           +timers\r\n-clientserver    +insert_expand   +packages        +title\r\n-clipboard       +job             +path_extra      -toolbar\r\n+cmdline_compl   +jumplist        -perl            +user_commands\r\n+cmdline_hist    -keymap          +persistent_undo +vertsplit\r\n+cmdline_info    +lambda          +postscript      +virtualedit\r\n+comments        -langmap         +printer         +visual\r\n-conceal         +libcall         -profile         +visualextra\r\n+cryptv          +linebreak       +python/dyn      +viminfo\r\n+cscope          +lispindent      -python3         +vreplace\r\n+cursorbind      +listcmds        +quickfix        +wildignore\r\n+cursorshape     +localmap        +reltime         +wildmenu\r\n+dialog_con      -lua             -rightleft       +windows\r\n+diff            +menu            +ruby/dyn        +writebackup\r\n+digraphs        +mksession       +scrollbind      -X11\r\n-dnd             +modify_fname    +signs           -xfontset\r\n-ebcdic          +mouse           +smartindent     -xim\r\n-emacs_tags      -mouseshape      +startuptime     -xpm\r\n+eval            -mouse_dec       +statusline      -xsmp\r\n+ex_extra        -mouse_gpm       -sun_workshop    -xterm_clipboard\r\n+extra_search    -mouse_jsbterm   +syntax          -xterm_save\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       defaults file: \"$VIMRUNTIME/defaults.vim\"\r\n  fall-back for $VIM: \"/usr/share/vim\"\r\nCompilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H   -DMACOS_X_UNIX  -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1\r\nLinking: gcc   -L/usr/local/lib -o vim        -lm -lncurses  -liconv -framework Cocoa\r\n```\r\n## Output of `YcmDebugInfo`\r\n```\r\nPrinting YouCompleteMe debug information...\r\n-- Client logfile: /var/folders/nm/dk0lg6v120b7pflbv9w2l8z00000gn/T/ycm_vmTeJ1\r\n.log\r\n-- Server Python interpreter: /usr/bin/python\r\n-- Server Python version: 2.7.10\r\n-- Server has Clang support compiled in: False\r\n-- Clang version: None\r\n-- No extra configuration file found\r\n-- Go completer debug information:\r\n--   Gocode running at: http://127.0.0.1:54222\r\n--   Gocode process ID: 48006\r\n--   Gocode executable: /Users/wkchen/.vim/bundle/YouCompleteMe/third_party/yc\r\nmd/third_party/gocode/gocode\r\n--   Gocode logfiles:\r\n--     /var/folders/nm/dk0lg6v120b7pflbv9w2l8z00000gn/T/gocode_54222_stdout_Bt\r\nMbbt.log\r\n--     /var/folders/nm/dk0lg6v120b7pflbv9w2l8z00000gn/T/gocode_54222_stderr_wT\r\n_exS.log\r\n--   Godef executable: /Users/wkchen/.vim/bundle/YouCompleteMe/third_party/ycm\r\nd/third_party/godef/godef\r\n-- Server running at: http://127.0.0.1:54218\r\n-- Server process ID: 48003\r\n-- Server logfiles:\r\n--   /var/folders/nm/dk0lg6v120b7pflbv9w2l8z00000gn/T/ycmd_54218_stdout_lyYuna\r\n.log\r\n--   /var/folders/nm/dk0lg6v120b7pflbv9w2l8z00000gn/T/ycmd_54218_stderr_xL3rmz\r\n.log\r\n```\r\n## Contents of YCM, ycmd and completion engine logfiles\r\n\r\n\r\n## OS version, distribution, etc.\r\n```\r\nMacOS high sierra\r\n```\r\n\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[gist]: https://gist.github.com/\r\n"},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/425048479","html_url":"https://github.com/Valloric/YouCompleteMe/issues/3074#issuecomment-425048479","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/3074","id":425048479,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTA0ODQ3OQ==","user":{"login":"magodo","id":7970698,"node_id":"MDQ6VXNlcjc5NzA2OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/7970698?v=4","gravatar_id":"","url":"https://api.github.com/users/magodo","html_url":"https://github.com/magodo","followers_url":"https://api.github.com/users/magodo/followers","following_url":"https://api.github.com/users/magodo/following{/other_user}","gists_url":"https://api.github.com/users/magodo/gists{/gist_id}","starred_url":"https://api.github.com/users/magodo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magodo/subscriptions","organizations_url":"https://api.github.com/users/magodo/orgs","repos_url":"https://api.github.com/users/magodo/repos","events_url":"https://api.github.com/users/magodo/events{/privacy}","received_events_url":"https://api.github.com/users/magodo/received_events","type":"User","site_admin":false},"created_at":"2018-09-27T10:57:57Z","updated_at":"2018-09-27T10:57:57Z","author_association":"NONE","body":"@bstaletic However, this still has this [issue](https://github.com/mdempsky/gocode/issues/32) once I change `$GOPATH`.\r\n\r\nWhy not add `-source` in *ycmd/completers/go/go_completer.py:212*?"}}
{"actor":{"display_login":"magodo"}}