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

Buffer Completion not working for current buffer #15

Closed
gishmel opened this issue Jun 15, 2015 · 9 comments
Closed

Buffer Completion not working for current buffer #15

gishmel opened this issue Jun 15, 2015 · 9 comments

Comments

@gishmel
Copy link

gishmel commented Jun 15, 2015

I opened up my personal .nvimrc and moved around a bit tried typing the same line as above where i was and it didn't complete it once. Here is the two log files that were generated after setting the ENV as described by the Contributing.md.

https://gist.github.com/gishmel/f93953ffd106d9200880

https://gist.github.com/gishmel/6870ed7cae417bcca55b

@Shougo
Copy link
Owner

Shougo commented Jun 15, 2015

I get it.
It is not deoplete problem.
"floobits-vim" prints error messages.

2015-06-14 11:42:17,184 [ERROR @ host.py:_load:99] 4357 - Encountered import error loading plugin at /home/gishmel/.nvim/plugged/floobits-neovim/rplugin/python/floobits.py: No module named 'common'
2015-06-14 11:42:17,184 [DEBUG @ session.py:_on_request:180] 4357 - received rpc request, greenlet <greenlet.greenlet object at 0x7feb1f7be470> will handle it
2015-06-14 11:42:17,185 [DEBUG @ host.py:_on_request:64] 4357 - calling request handler for "poll", args: "[]"
2015-06-14 11:42:17,185 [DEBUG @ host.py:_on_request:66] 4357 - request handler for 'poll []' returns: ok
2015-06-14 11:42:17,185 [DEBUG @ session.py:handler:170] 4357 - greenlet <greenlet.greenlet object at 0x7feb1f7be470> finished executing, sending ok as response
2015-06-14 11:42:17,185 [DEBUG @ async_session.py:send:124] 4357 - sending response to request 1: [1, 1, None, 'ok']
2015-06-14 11:42:17,185 [DEBUG @ msgpack_stream.py:send:36] 4357 - sent [1, 1, None, 'ok']
2015-06-14 11:42:17,186 [DEBUG @ base.py:send:113] 4357 - Sending 'b'\x94\x01\x01\xc0\xa2ok''
2015-06-14 11:42:17,186 [DEBUG @ session.py:handler:176] 4357 - greenlet <greenlet.greenlet object at 0x7feb1f7be470> is now dying...
2015-06-14 11:42:17,186 [DEBUG @ base.py:run:138] 4357 - Entering event loop
2015-06-14 11:42:17,186 [DEBUG @ msgpack_stream.py:_on_data:57] 4357 - waiting for message...
2015-06-14 11:42:17,187 [DEBUG @ msgpack_stream.py:_on_data:59] 4357 - received message: [0, 2, b'specs', [b'/home/gishmel/.nvim/plugged/floobits-neovim/rplugin/python/floobits.py']]
2015-06-14 11:42:17,187 [DEBUG @ async_session.py:_on_request:77] 4357 - received request: b'specs', [b'/home/gishmel/.nvim/plugged/floobits-neovim/rplugin/python/floobits.py']
2015-06-14 11:42:17,187 [DEBUG @ session.py:_on_request:180] 4357 - received rpc request, greenlet <greenlet.greenlet object at 0x7feb1f7be470> will handle it
2015-06-14 11:42:17,187 [DEBUG @ host.py:_on_request:64] 4357 - calling request handler for "specs", args: "[b'/home/gishmel/.nvim/plugged/floobits-neovim/rplugin/python/floobits.py']"
2015-06-14 11:42:17,187 [DEBUG @ host.py:_on_request:66] 4357 - request handler for 'specs [b'/home/gishmel/.nvim/plugged/floobits-neovim/rplugin/python/floobits.py']' returns: []
2015-06-14 11:42:17,188 [DEBUG @ session.py:handler:170] 4357 - greenlet <greenlet.greenlet object at 0x7feb1f7be470> finished executing, sending [] as response
2015-06-14 11:42:17,188 [DEBUG @ async_session.py:send:124] 4357 - sending response to request 2: [1, 2, None, []]
2015-06-14 11:42:17,188 [DEBUG @ msgpack_stream.py:send:36] 4357 - sent [1, 2, None, []]
2015-06-14 11:42:17,188 [DEBUG @ base.py:send:113] 4357 - Sending 'b'\x94\x01\x02\xc0\x90''
2015-06-14 11:42:17,188 [DEBUG @ session.py:handler:176] 4357 - greenlet <greenlet.greenlet object at 0x7feb1f7be470> is now dying...
2015-06-14 11:42:17,188 [DEBUG @ msgpack_stream.py:_on_data:57] 4357 - waiting for message...
2015-06-14 11:42:17,189 [DEBUG @ msgpack_stream.py:_on_data:62] 4357 - unpacker needs more data...
2015-06-14 11:42:17,189 [DEBUG @ base.py:_on_error:166] 4357 - EOF
2015-06-14 11:42:17,189 [DEBUG @ base.py:stop:149] 4357 - Stopped event loop
2015-06-14 11:42:17,190 [DEBUG @ base.py:run:140] 4357 - Exited event loop

You should remove floobits-vim and execute :UpdateRemotePlugins again.

@Shougo Shougo closed this as completed Jun 15, 2015
@gishmel
Copy link
Author

gishmel commented Jun 15, 2015

Here are the regettings from redoing the process removing Floobits and using minimal .nvimrc.

https://gist.github.com/gishmel/bb5f351057fe4e84526d

@Shougo
Copy link
Owner

Shougo commented Jun 15, 2015

@gishmel You need execute :UpdateRemotePlugins command and restart neovim.
floobits-vim is already loaded.

@gishmel
Copy link
Author

gishmel commented Jun 15, 2015

Here is the minimal .nvimrc and all i am doing to start neovim is to open a file in my project by typing nvim nameOfFile.ext and trying to create identical lines underneath where they already exist and have them autocomplete.
https://gist.github.com/gishmel/0512a9ed35ef0f456a4f

@Shougo Shougo reopened this Jun 15, 2015
@Shougo
Copy link
Owner

Shougo commented Jun 15, 2015

@gishmel Please check deoplete plugin is already loaded.
Please check :DeopleteInitializePython command is exists.

@Shougo
Copy link
Owner

Shougo commented Jun 15, 2015

@gishmel Please upload full log like this.

https://gist.github.com/Nymphium/97aafd14098a032a6245

@gishmel
Copy link
Author

gishmel commented Jun 15, 2015

@Shougo
Copy link
Owner

Shougo commented Jun 15, 2015

It is the log after :UpdateRemotePlugins command?
I have read the log and it seems no error.

But it does not recognize :DeopleteInitializePython command.

@Shougo
Copy link
Owner

Shougo commented Jun 15, 2015

I get the problem.
Please update your neovim-python module.

@Shougo Shougo closed this as completed Jun 15, 2015
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