deoplete-ternjs icon indicating copy to clipboard operation
deoplete-ternjs copied to clipboard

I get an unexpected error when I enter a keyword that is completed

Open bellsmarket opened this issue 4 years ago • 1 comments

"Shougo / deoplete.nvim" is working fine. but I get an unexpected error when I enter a keyword that is completed

How can I avoid the error?

Request from non-main thread.
Requests from different threads should be wrapped with nvim.async_call(cb, ...) 
  File "/opt/homebrew/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 954, i
n _bootstrap_inner
    self.run()
  File "/opt/homebrew/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/threading.py", line 892, i
n run
    self._target(*self._args, **self._kwargs)
  File "/Users/foobar/dotfiles/dein/repos/github.com/carlitux/deoplete-ternjs/rplugin/python3/deoplete/sources/ternjs.py",
 line 336, in completation
    self.vim.command('call deoplete#auto_complete()')
  File "/Users/foobar/Library/Python/3.9/lib/python/site-packages/pynvim/api/nvim.py", line 287, in command
    return self.request('nvim_command', string, **kwargs)

Best regards.

bellsmarket avatar Jun 15 '21 18:06 bellsmarket

@bellsmarket please check this https://github.com/carlitux/deoplete-ternjs/issues/88

carlitux avatar Jun 15 '21 19:06 carlitux