{"action":"created","issue":{"url":"https://api.github.com/repos/SpaceVim/SpaceVim/issues/1948","repository_url":"https://api.github.com/repos/SpaceVim/SpaceVim","labels_url":"https://api.github.com/repos/SpaceVim/SpaceVim/issues/1948/labels{/name}","comments_url":"https://api.github.com/repos/SpaceVim/SpaceVim/issues/1948/comments","events_url":"https://api.github.com/repos/SpaceVim/SpaceVim/issues/1948/events","html_url":"https://github.com/SpaceVim/SpaceVim/issues/1948","id":341866391,"node_id":"MDU6SXNzdWUzNDE4NjYzOTE=","number":1948,"title":"LSP layer errors","user":{"login":"johnnypea","id":169748,"node_id":"MDQ6VXNlcjE2OTc0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/169748?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnypea","html_url":"https://github.com/johnnypea","followers_url":"https://api.github.com/users/johnnypea/followers","following_url":"https://api.github.com/users/johnnypea/following{/other_user}","gists_url":"https://api.github.com/users/johnnypea/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnypea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnypea/subscriptions","organizations_url":"https://api.github.com/users/johnnypea/orgs","repos_url":"https://api.github.com/users/johnnypea/repos","events_url":"https://api.github.com/users/johnnypea/events{/privacy}","received_events_url":"https://api.github.com/users/johnnypea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-17T10:49:16Z","updated_at":"2018-07-19T06:38:15Z","closed_at":null,"author_association":"NONE","body":"<!-- bug reporting without issue template will be closed automatically -->\r\n\r\n## Expected behavior, english is required\r\n**lsp** layer shouldn't be throwing any errors.\r\n\r\n## The reproduce ways from Vim starting (Required!)\r\nInsert mode in PHP files throws these errors:\r\n```\r\n[deoplete] Traceback (most recent call last):                                                                                                        \r\n  File \"/Users/johnnypea/.cache/vimfiles/repos/github.com/Shougo/deoplete.nvim/rplugin/python3/deoplete/child.py\", line 250, in _gather_async_results\r\n                                                                                                                                                     \r\n    async_candidates = source.gather_candidates(context)                                                                                             \r\n  File \"/Users/johnnypea/.cache/vimfiles/repos/github.com/autozimu/LanguageClient-neovim/rplugin/python3/deoplete/sources/LanguageClientSource.py\", l\r\nine 29, in gather_candidates                                                                                                                         \r\n    candidates = outputs[0].get(\"result\", [])                                                                                                        \r\nAttributeError: 'list' object has no attribute 'get'                                                                                                 \r\nError from LanguageClient: AttributeError(\"'list' object has no attribute 'get'\").  Use :messages / see above for error details.                     \r\n[deoplete] Traceback (most recent call last):                                                                                                        \r\n  File \"/Users/johnnypea/.cache/vimfiles/repos/github.com/Shougo/deoplete.nvim/rplugin/python3/deoplete/child.py\", line 250, in _gather_async_results\r\n                                                                                                                                                     \r\n    async_candidates = source.gather_candidates(context)                                                                                             \r\n  File \"/Users/johnnypea/.cache/vimfiles/repos/github.com/autozimu/LanguageClient-neovim/rplugin/python3/deoplete/sources/LanguageClientSource.py\", l\r\nine 29, in gather_candidates                                                                                                                         \r\n    candidates = outputs[0].get(\"result\", [])                                                                                                        \r\nAttributeError: 'list' object has no attribute 'get'                                                                                                 \r\nError from LanguageClient: AttributeError(\"'list' object has no attribute 'get'\").  Use :messages / see above for error details.                     \r\n[deoplete] Too many errors from \"LanguageClient\". This source is disabled until Neovim is restarted.\r\n```\r\n\r\n## Debug info\r\n\r\n## Environment Information\r\n\r\n- OS: mac\r\n- vim version: -\r\n- neovim version: 0.3.0\r\n- SpaceVim version: 0.9.0-dev\r\n- SpaceVim status: \r\n\r\n```\r\nOn branch master\r\nYour branch is up to date with 'origin/master'.\r\n\r\nnothing to commit, working tree clean\r\n```\r\n\r\n## The reproduce ways from Vim starting (Required!)\r\n\r\n## Output of the `:SPDebugInfo!`\r\n\r\n### SpaceVim Options :\r\n\r\n```viml\r\ng:spacevim_altmoveignoreft = ['Tagbar', 'vimfiler']\r\ng:spacevim_api_json_true = v:null\r\ng:spacevim_auto_disable_touchpad = 1\r\ng:spacevim_autocomplete_method = 'deoplete'\r\ng:spacevim_autocomplete_parens = 1\r\ng:spacevim_background = 'dark'\r\ng:spacevim_buffer_index_type = 4\r\ng:spacevim_checkinstall = 1\r\ng:spacevim_colorscheme = 'gruvbox'\r\ng:spacevim_colorscheme_bg = 'dark'\r\ng:spacevim_colorscheme_default = 'desert'\r\ng:spacevim_custom_color_palette = []\r\ng:spacevim_custom_plugins = []\r\ng:spacevim_debug_level = 1\r\ng:spacevim_default_indent = 2\r\ng:spacevim_disabled_plugins = []\r\ng:spacevim_enable_ale = 0\r\ng:spacevim_enable_cursorcolumn = 0\r\ng:spacevim_enable_cursorline = 1\r\ng:spacevim_enable_debug = 0\r\ng:spacevim_enable_googlesuggest = 0\r\ng:spacevim_enable_guicolors = 1\r\ng:spacevim_enable_insert_leader = 1\r\ng:spacevim_enable_javacomplete2_py = 0\r\ng:spacevim_enable_key_frequency = 0\r\ng:spacevim_enable_language_specific_leader = 1\r\ng:spacevim_enable_neocomplcache = 0\r\ng:spacevim_enable_neomake = 1\r\ng:spacevim_enable_os_fileformat_icon = 0\r\ng:spacevim_enable_powerline_fonts = 1\r\ng:spacevim_enable_statusline_display_mode = 0\r\ng:spacevim_enable_statusline_mode = 0\r\ng:spacevim_enable_tabline_filetype_icon = 1\r\ng:spacevim_enable_vimfiler_filetypeicon = 0\r\ng:spacevim_enable_vimfiler_gitstatus = 0\r\ng:spacevim_enable_vimfiler_welcome = 1\r\ng:spacevim_enable_ycm = 0\r\ng:spacevim_error_symbol = '‚úñ'\r\ng:spacevim_expand_tab = 1\r\ng:spacevim_filemanager = 'vimfiler'\r\ng:spacevim_filetype_icons = {}\r\ng:spacevim_force_global_config = 0\r\ng:spacevim_gitcommit_issue_icon = 'ÔÅ™'\r\ng:spacevim_gitcommit_pr_icon = 'Óú¶'\r\ng:spacevim_github_username = ''\r\ng:spacevim_guifont = ''\r\ng:spacevim_hiddenfileinfo = 1\r\ng:spacevim_hosts_url = 'https://raw.githubusercontent.com/racaljk/hosts/master/hosts'\r\ng:spacevim_info_symbol = '‚ìò'\r\ng:spacevim_keep_server_alive = 1\r\ng:spacevim_language = ''\r\ng:spacevim_leader_guide_default_group_name = ''\r\ng:spacevim_leader_guide_flatten = 1\r\ng:spacevim_leader_guide_hspace = 5\r\ng:spacevim_leader_guide_max_size = 0\r\ng:spacevim_leader_guide_position = 'botright'\r\ng:spacevim_leader_guide_run_map_on_popup = 1\r\ng:spacevim_leader_guide_sort_horizontal = 0\r\ng:spacevim_leader_guide_submode_mappings = {'<C-C>': 'win_close'}\r\ng:spacevim_leader_guide_vertical = 0\r\ng:spacevim_lint_on_save = 1\r\ng:spacevim_lint_on_the_fly = 0\r\ng:spacevim_max_column = 120\r\ng:spacevim_plugin_bundle_dir = '/Users/johnnypea/.cache/vimfiles/'\r\ng:spacevim_plugin_manager = 'dein'\r\ng:spacevim_plugin_manager_processes = 16\r\ng:spacevim_plugin_name = 'php-language-server'\r\ng:spacevim_project_rooter_automatically = 1\r\ng:spacevim_project_rooter_patterns = ['.git/', '_darcs/', '.hg/', '.bzr/', '.svn/']\r\ng:spacevim_realtime_leader_guide = 1\r\ng:spacevim_relativenumber = 1\r\ng:spacevim_search_tools = ['rg', 'ag', 'pt', 'ack', 'grep']\r\ng:spacevim_sidebar_width = 30\r\ng:spacevim_simple_mode = 0\r\ng:spacevim_smartcloseignoreft = ['tagbar', 'vimfiler', 'SpaceVimRunner', 'SpaceVimREPL', 'SpaceVimQuickFix', 'HelpDescribe', 'VebuggerShell', 'VebuggerTerminal', 'SpaceVimTabsManager']\r\ng:spacevim_smartcloseignorewin = ['__Tagbar__', 'vimfiler:default']\r\ng:spacevim_snippet_engine = 'neosnippet'\r\ng:spacevim_src_root = 'E:\\sources\\'\r\ng:spacevim_statusline_inactive_separator = 'arrow'\r\ng:spacevim_statusline_left_sections = ['winnr', 'filename', 'major mode', 'syntax checking', 'minor mode lighters']\r\ng:spacevim_statusline_right_sections = ['fileformat', 'cursorpos', 'percentage']\r\ng:spacevim_statusline_separator = 'arrow'\r\ng:spacevim_statusline_unicode_symbols = 1\r\ng:spacevim_terminal_cursor_shape = 2\r\ng:spacevim_version = '0.9.0-dev'\r\ng:spacevim_vim_help_language = 'en'\r\ng:spacevim_vimcompatible = 0\r\ng:spacevim_warning_symbol = '‚ö†'\r\ng:spacevim_wildignore = '*/tmp/*,*.so,*.swp,*.zip,*.class,tags,*.jpg,*.ttf,*.TTF,*.png,*/target/*,.git,.svn,.hg,.DS_Store,*.svg'\r\ng:spacevim_windows_index_type = 0\r\ng:spacevim_windows_leader = 's'\r\ng:spacevim_windows_smartclose = 'q'\r\n```\r\n\r\n\r\n### SpaceVim Health checking :\r\n\r\nSpaceVim clipboard support check report:\r\nChecking +clipboard:\r\n      SUCCEED!\r\nSpaceVim environment check report:\r\nCurrent progpath: nvim(/usr/local/Cellar/neovim/0.3.0/bin/nvim)\r\nversion: 800\r\nOS: mac\r\n[shell, shellcmdflag, shellslash]: ['/bin/bash', '-c', 0]\r\nSpaceVim lua support check report:\r\nChecking +lua:\r\n      Failed : Known issue, neovim do not support lua now.\r\nSpaceVim python support check report:\r\nChecking +python3:\r\n      SUCCEED!\r\nChecking +python:\r\n      SUCCEED!\r\n\r\n### SpaceVim runtime log :\r\n\r\n```log\r\n[ SpaceVim ] : logger file  does not exists, only log for current process will be shown!\r\n[ SpaceVim ] [12:40:10] [ Info ] Can not find project local config, start to loadding global config\r\n[ SpaceVim ] [12:40:13] [ Info ] Find project root('.git/','/Users/johnnypea/Development/wp-example/wp-content/mu-plugins/taxonomies.php'):/Users/johnnypea/Development/wp-example/.git/\r\n[ SpaceVim ] [12:40:13] [ Info ] change to root:/Users/johnnypea/Development/wp-example\r\n```\r\n\r\n<!-- please remove the issue template when request for a feature -->\r\n"},"comment":{"url":"https://api.github.com/repos/SpaceVim/SpaceVim/issues/comments/406170581","html_url":"https://github.com/SpaceVim/SpaceVim/issues/1948#issuecomment-406170581","issue_url":"https://api.github.com/repos/SpaceVim/SpaceVim/issues/1948","id":406170581,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjE3MDU4MQ==","user":{"login":"johnnypea","id":169748,"node_id":"MDQ6VXNlcjE2OTc0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/169748?v=4","gravatar_id":"","url":"https://api.github.com/users/johnnypea","html_url":"https://github.com/johnnypea","followers_url":"https://api.github.com/users/johnnypea/followers","following_url":"https://api.github.com/users/johnnypea/following{/other_user}","gists_url":"https://api.github.com/users/johnnypea/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnypea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnypea/subscriptions","organizations_url":"https://api.github.com/users/johnnypea/orgs","repos_url":"https://api.github.com/users/johnnypea/repos","events_url":"https://api.github.com/users/johnnypea/events{/privacy}","received_events_url":"https://api.github.com/users/johnnypea/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T06:38:15Z","updated_at":"2018-07-19T06:38:15Z","author_association":"NONE","body":"@wsdjeg I tested it without SpaceVim with this configuration and it was working:\r\n```\r\n\" Specify a directory for plugins\r\n\" - For Neovim: ~/.local/share/nvim/plugged\r\n\" - Avoid using standard Vim directory names like 'plugin'\r\ncall plug#begin('~/.vim/plugged')\r\n\r\nPlug 'autozimu/LanguageClient-neovim', {\r\n    \\ 'branch': 'next',\r\n    \\ 'do': 'bash install.sh',\r\n    \\ }\r\n\r\n\" (Optional) Multi-entry selection UI.\r\nPlug 'junegunn/fzf'\r\n\r\nPlug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }\r\n\r\n\" Initialize plugin system\r\ncall plug#end()\r\n\r\n\" Required for operations modifying multiple buffers like rename.\r\nset hidden\r\n\r\nlet g:LanguageClient_serverCommands = {\r\n    \\ 'php': ['php', '~/.cache/vimfiles/repos/github.com/felixfbecker/php-language-server/bin/php-language-serveria.php'],\r\n    \\ }\r\n\r\nnnoremap <silent> K :call LanguageClient#textDocument_hover()<CR>\r\nnnoremap <silent> gd :call LanguageClient#textDocument_definition()<CR>\r\nnnoremap <silent> <F2> :call LanguageClient#textDocument_rename()<CR>\r\n```\r\nDoes your layer actually install the same version of autozimu/LanguageClient-neovim:\r\n```\r\n    call add(plugins, ['autozimu/LanguageClient-neovim',\r\n          \\ { 'merged': 0, 'if': has('python3') }])\r\n```\r\nas\r\n```\r\nPlug 'autozimu/LanguageClient-neovim', {\r\n    \\ 'branch': 'next',\r\n    \\ 'do': 'bash install.sh',\r\n    \\ }\r\n```\r\n?\r\n\r\nThanks.\r\n"}}
{"actor":{"display_login":"johnnypea"}}