LanguageClient-neovim: "int object is not iterable" in deoplete source since 'next' branch

Since switching to the next branch, I am constantly receiving error messages from deoplete in the following form:

[deoplete] Traceback (most recent call last):
[deoplete]   File "/home/languitar/.local/share/nvim/bundle/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", line 59, in completion_begin
[deoplete]     self.gather_results(context), context['input'])
[deoplete]   File "/home/languitar/.local/share/nvim/bundle/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", line 185, in merge_results
[deoplete]     async_candidates)
[deoplete] TypeError: 'int' object is not iterable
[deoplete] Error while gathering completions.  Use :messages for error details.

@Shougo suspected that this is from the language client source, though it is not visible in the stracktrace. Unfortunately, I was not able to reproduce this in a minimal setup.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 2
  • Comments: 16 (5 by maintainers)

Most upvoted comments

Alright, and this seems to happen when the language server crashes:

2017-12-13 11:07:07,066 UTC - ERROR - pyls.server - Language server exiting due to uncaught exception
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/pyls/server.py", line 34, in handle
    data = self._read_message()
  File "/usr/lib/python3.6/site-packages/pyls/server.py", line 91, in _read_message
    raise EOFError()
EOFError