{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/1537","labels_url":"https://api.github.com/repos/neovim/neovim/issues/1537/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/1537/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/1537/events","html_url":"https://github.com/neovim/neovim/issues/1537","id":49935526,"number":1537,"title":"UpdateRemotePlugins fails","user":{"login":"btipling","id":249641,"avatar_url":"https://avatars.githubusercontent.com/u/249641?v=3","gravatar_id":"","url":"https://api.github.com/users/btipling","html_url":"https://github.com/btipling","followers_url":"https://api.github.com/users/btipling/followers","following_url":"https://api.github.com/users/btipling/following{/other_user}","gists_url":"https://api.github.com/users/btipling/gists{/gist_id}","starred_url":"https://api.github.com/users/btipling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btipling/subscriptions","organizations_url":"https://api.github.com/users/btipling/orgs","repos_url":"https://api.github.com/users/btipling/repos","events_url":"https://api.github.com/users/btipling/events{/privacy}","received_events_url":"https://api.github.com/users/btipling/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/neovim/neovim/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/neovim/neovim/labels/provider","name":"provider","color":"fad8c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-11-24T20:05:43Z","updated_at":"2015-02-17T23:52:19Z","closed_at":"2014-11-24T22:37:43Z","body":"Trying to run `UpdateRemotePlugin` fails with the following error:\r\n\r\n`$ nvim -c 'UpdateRemotePlugins'`\r\n\r\n```\r\nError detected while processing function <SNR>16_UpdateRemotePlugins..<SNR>16_RegistrationCommands..r\r\nemote#host#Require..<SNR>16_RequirePythonHost:\r\nline   63:\r\nE605: Exception not caught: Failed to load python host\r\nError detected while processing function <SNR>16_UpdateRemotePlugins..<SNR>16_RegistrationCommands..r\r\nemote#host#Require:\r\nline    6:\r\nE171: Missing :endif\r\nError detected while processing function <SNR>16_UpdateRemotePlugins:\r\nline    5:\r\nE171: Missing :endif\r\n```\r\n\r\nI traced the problem down to the `RequirePythonHost` function in `runtime/autoload/remote/host.vim`.\r\n\r\n```\r\nlet args = ['-c', 'import neovim; neovim.start_host()']\r\n\r\n  \" Collect registered python plugins into args\r\n  let python_plugins = s:PluginsForHost(a:name)\r\n  for plugin in python_plugins\r\n    call add(args, plugin.path)\r\n  endfor\r\n```\r\n\r\n`s:plugins_for_host` is empty so `s:PluginsForHost` returns an empty list.\r\n\r\nSo I assume `import neovim; neovim.start_hoist()` is passed to rpcstart without any plugins which leads the python-client to fail, I think on `sys.exit('must specify at least one plugin as argument')` on https://github.com/neovim/python-client/blob/master/neovim/__init__.py#L43\r\n\r\nI am not entirely sure, since errors from python-client aren't printed in `NVIM_PYTHON_LOG_FILE` yet at this stage.\r\n\r\nBasically no neovim plugin works for me at this point.\r\n\r\n```\r\n$ nvim --version\r\nNVIM 0.0.0-alpha+201411231753 (compiled Nov 24 2014 09:48:58)\r\nCommit: 1c25f1d9475ad763138c67f538aee37ef9ab5aee\r\nBuild type: Debug\r\nCompilation: /usr/bin/cc -Wconversion -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/Users/bjorn/apps/neovim/build/config -I/Users/bjorn/apps/neovim/src -I/Users/bjorn/apps/neovim/.deps/usr/include -I/Users/bjorn/apps/neovim/.deps/usr/include -I/Users/bjorn/apps/neovim/.deps/usr/include/luajit-2.0 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include -I/Users/bjorn/apps/neovim/build/src/nvim/auto -I/Users/bjorn/apps/neovim/build/include\r\nCompiled by bjorn@achilles.local  Features included (+) or not (-):\r\n+acl             +farsi           -mouse_gpm       -tag_any_white\r\n+arabic          +file_in_path    +mouse_netterm   +terminfo\r\n+autocmd         +find_in_path    +mouse_sgr       +termresponse\r\n-browse          +float           -mouse_sysmouse  +textobjects\r\n+byte_offset     +folding         +mouse_urxvt     +title\r\n+cindent         -footer          +mouse_xterm     -toolbar\r\n-clipboard       +fork()          +multi_byte      +user_commands\r\n+cmdline_compl   +gettext         +multi_lang      +vertsplit\r\n+cmdline_hist    +iconv           +path_extra      +virtualedit\r\n+cmdline_info    +insert_expand   +persistent_undo +visual\r\n+comments        +jumplist        +postscript      +visualextra\r\n+conceal         +keymap          +printer         +viminfo\r\n+cscope          +langmap         +profile         +vreplace\r\n+cursorbind      +libcall         +quickfix        +wildignore\r\n+cursorshape     +linebreak       +reltime         +wildmenu\r\n+dialog_con      +lispindent      +rightleft       +windows\r\n+diff            +listcmds        +scrollbind      +writebackup\r\n+digraphs        +localmap        +signs           -X11\r\n-dnd             +menu            +smartindent     -xfontset\r\n-ebcdic          +mksession       +startuptime     -xsmp\r\n-emacs_tags      +modify_fname    +statusline      -xterm_clipboard\r\n+eval            +mouse           +syntax\r\n+ex_extra        -mouseshape      +tag_binary\r\n+extra_search    +mouse_dec       +tag_old_static\r\n   system vimrc file: \"$VIM/nvimrc\"\r\n     user vimrc file: \"$HOME/.nvimrc\"\r\n 2nd user vimrc file: \"~/.nvim/nvimrc\"\r\n      user exrc file: \"$HOME/.exrc\"\r\n  fall-back for $VIM: \"/usr/local/share/nvim\"\r\n```\r\n\r\nUsing python-client directly from git:\r\n\r\n```\r\n~/a/python-client (master) $ git log -1\r\ncommit 9f18faaee85d70fee39be6b6a7b5a8e65a10d3bb\r\nAuthor: Thiago de Arruda <tpadilha84@gmail.com>\r\nDate:   Tue Nov 18 15:55:59 2014 -0300\r\n\r\n    Bump version\r\n```\r\n\r\nOS: OS X 10.10.1"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/74781794","html_url":"https://github.com/neovim/neovim/issues/1537#issuecomment-74781794","issue_url":"https://api.github.com/repos/neovim/neovim/issues/1537","id":74781794,"user":{"login":"alex-bender","id":3628862,"avatar_url":"https://avatars.githubusercontent.com/u/3628862?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-bender","html_url":"https://github.com/alex-bender","followers_url":"https://api.github.com/users/alex-bender/followers","following_url":"https://api.github.com/users/alex-bender/following{/other_user}","gists_url":"https://api.github.com/users/alex-bender/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-bender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-bender/subscriptions","organizations_url":"https://api.github.com/users/alex-bender/orgs","repos_url":"https://api.github.com/users/alex-bender/repos","events_url":"https://api.github.com/users/alex-bender/events{/privacy}","received_events_url":"https://api.github.com/users/alex-bender/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T23:52:18Z","updated_at":"2015-02-17T23:52:18Z","body":"Would you mind to helping me? I got the same error, when was trying to run code from example section of `*remote-plugin*`.\r\nSo, I copy code from section to file ~/.nvim/rplugin/python/limit.py, run `:UpdateRemotePlugins` and got the same error. What am I supposed to do, for avoiding this error?\r\n\r\n```\r\n$ nvim --version\r\nNVIM 0.0.0-alpha (compiled Feb 17 2015 13:19:18)\r\nCommit: ?\r\nBuild type: Debug\r\nCompilation: /usr/bin/cc -Wconversion -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-master/build/config -I/tmp/neovim-master/src -I/tmp/neovim-master/.deps/usr/include -I/tmp/neovim-master/.deps/usr/include -I/tmp/neovim-master/.deps/usr/include/luajit-2.0 -I/tmp/neovim-master/.deps/usr/include -I/usr/include -I/tmp/neovim-master/build/src/nvim/auto -I/tmp/neovim-master/build/include\r\nCompiled by alex@bender  Features included (+) or not (-):\r\n+acl             +farsi           -mouse_gpm       +tag_old_static\r\n+arabic          +file_in_path    +mouse_netterm   -tag_any_white\r\n+autocmd         +find_in_path    +mouse_sgr       +termresponse\r\n-browse          +folding         -mouse_sysmouse  +textobjects\r\n+byte_offset     -footer          +mouse_urxvt     +title\r\n+cindent         +fork()          +mouse_xterm     -toolbar\r\n-clipboard       +gettext         +multi_byte      +user_commands\r\n+cmdline_compl   +iconv           +multi_lang      +vertsplit\r\n+cmdline_hist    +insert_expand   +path_extra      +virtualedit\r\n+cmdline_info    +jumplist        +persistent_undo +visual\r\n+comments        +keymap          +postscript      +visualextra\r\n+conceal         +langmap         +printer         +viminfo\r\n+cscope          +libcall         +profile         +vreplace\r\n+cursorbind      +linebreak       +quickfix        +wildignore\r\n+cursorshape     +lispindent      +reltime         +wildmenu\r\n+dialog_con      +listcmds        +rightleft       +windows\r\n+digraphs        +localmap        +scrollbind      +writebackup\r\n-dnd             +menu            +signs           -X11\r\n-ebcdic          +mksession       +smartindent     -xfontset\r\n-emacs_tags      +modify_fname    +startuptime     -xsmp\r\n+eval            +mouse           +statusline      -xterm_clipboard\r\n+ex_extra        -mouseshape      +syntax          \r\n+extra_search    +mouse_dec       +tag_binary      \r\n   system vimrc file: \"$VIM/nvimrc\"\r\n     user vimrc file: \"$HOME/.nvimrc\"\r\n 2nd user vimrc file: \"~/.nvim/nvimrc\"\r\n      user exrc file: \"$HOME/.exrc\"\r\n  fall-back for $VIM: \"/usr/local/share/nvim\"\r\n```\r\n\r\n```\r\n$ pip2 list | ag neovim\r\nneovim (0.0.27)\r\n```"}}