deoplete-jedi: Huge delay for deoplete popup + wrong behavior

  • OS: macOS Sierra 10.12
  • Neovim version: NVIM 0.1.5

Config for deoplete-jedi:

Plug 'zchee/deoplete-jedi', {'for': 'python'}

Problem: can’t find methods, modules, etc. + delay for showing any deoplete popup > 5 seconds. If I disabled deoplete-jedi – everything works fine with deoplete, except that I can’t use jedi features for deoplete.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 39 (4 by maintainers)

Commits related to this issue

Most upvoted comments

Hi all. So, I’ve found next bugs:

  1. https://github.com/zchee/deoplete-jedi/blob/master/rplugin/python3/deoplete/sources/deoplete_jedi/server.py#L534
File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/logging/__init__.py", line 1508, in callHandlers
    if record.levelno >= hdlr.level:
AttributeError: type object 'NullHandler' has no attribute 'level'

I’ve fixed that with delete line 28 log.addHandler(logging.NullHandler)

  1. https://github.com/zchee/deoplete-jedi/blob/master/rplugin/python3/deoplete/sources/deoplete_jedi/server.py#L537
NameError: name 'time' is not defined

Fix: just import time

  1. [Errno 2] No such file or directory: '~/.config/nvim/plugged/deoplete-jedi/rplugin/python3/deoplete/jedi/jedi/parser/grammar3.6.txt'

Hotfix: Copy .../deoplete/jedi/jedi/parser/grammar3.5.txt' to .../deoplete/jedi/jedi/parser/grammar3.6.txt'

@vaxXxa deoplete-jedi is Python plugin and you are Python programmer. You have reproduce-able Python3.6 environment and you need the fix.

Open Source Theory: If you really need the fix, you should fix it.

@zchee Please, try to fix that, cause native jedi suggestions feature isn’t good. Your plugin is really cool, but just doesn’t work with Python 3.6. Thnx, man!

Sorry all. still I have no time…

@ysolis Hmm… Yeah, 3.6 still unstable.

this bug must be closed because…

it meaning is close issue thread? If so, and if that problems caused by 3.6, I think it is a good idea to we prepare it from now. So, without close issue, I will debugging it if I have time.

Anyway, I don’t understand yet these issues. Please give me some times.

Please adhere to the issue template, e.g. in this case the debug log would be useful.