Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with neco-vim in neovim-qt #250

Open
wsdjeg opened this issue Apr 12, 2019 · 2 comments
Open

Error with neco-vim in neovim-qt #250

wsdjeg opened this issue Apr 12, 2019 · 2 comments

Comments

@wsdjeg
Copy link

wsdjeg commented Apr 12, 2019

I just have a try with this plugin in neovim-qt in windows 7. but I get following errors:



Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
Traceback (most recent call last):
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
  File "<string>", line 1, in <module>
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
  File "C:/Users/Administrator/.cache/vimfiles/repos/github.com/maralla/completor.vim\pythonx\completor\api.py", line 10, in wrapper
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
    return func(vim.bindeval('a:'))
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
  File "C:/Users/Administrator/.cache/vimfiles/repos/github.com/maralla/completor.vim\pythonx\completor\api.py", line 37, in on_data
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
    return c.on_data(args['action'], args['msg']) if c else []
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
  File "C:/Users/Administrator/.cache/vimfiles/repos/github.com/maralla/completor.vim\pythonx\completor\__init__.py", line 227, in on_data
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
    return self.do_complete(data)
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
  File "C:/Users/Administrator/.cache/vimfiles/repos/github.com/maralla/completor.vim\pythonx\completor\__init__.py", line 202, in do_complete
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
    ret.extend(self.parse(data))
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
  File "C:/Users/Administrator/.cache/vimfiles/repos/github.com/kyouryuukunn/completor-necovim\pythonx\completor_vim.py", line 48, in parse
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
    items = list(itertools.islice(itertools.chain(self.gen_entry(kw)), LIMIT))
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
  File "C:/Users/Administrator/.cache/vimfiles/repos/github.com/kyouryuukunn/completor-necovim\pythonx\completor_vim.py", line 25, in gen_entry
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
    score = test_subseq(base, to_unicode(entry['word'], 'utf-8'))
Error detected while processing function <lambda>4[1]..<SNR>309_do_action[8]..completor#action#do[13]..completor#action#callback[7]..<SNR>310_trigger_complete[1]..completor#utils#on_data[1]..provider#python3#Call:
line   18:
KeyError: 'word'

I think it is due to plugin kyouryuukunn/completor-necovim.

@maralla
Copy link
Owner

maralla commented May 11, 2019

This will be fixed by kyouryuukunn/completor-necovim#1.

@maralla maralla reopened this May 11, 2019
@wsdjeg
Copy link
Author

wsdjeg commented May 11, 2019

Thanks, good job.

kyouryuukunn added a commit to kyouryuukunn/completor-necovim that referenced this issue May 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants