Closed arcollector closed 6 years ago
dont luck, my friend, maybe i missing something about how to log, can you please elaborate more on this.
BTW, i ran the command
python3 -u /home/martin/.vim/bundle/nvim-yarp/pythonx/yarp.py 127.0.0.1:36309 2 deoplete
and this is the ouput
Traceback (most recent call last):
File "/home/martin/.vim/bundle/nvim-yarp/pythonx/yarp.py", line 16, in <module>
nvim = attach('tcp', address=serveraddr, port=port)
File "/home/martin/.local/lib/python3.5/site-packages/neovim/__init__.py", line 100, in attach
session = (tcp_session(address, port) if session_type == 'tcp' else
File "/home/martin/.local/lib/python3.5/site-packages/neovim/msgpack_rpc/__init__.py", line 27, in tcp_session
return session('tcp', address, port)
File "/home/martin/.local/lib/python3.5/site-packages/neovim/msgpack_rpc/__init__.py", line 18, in session
loop = EventLoop(transport_type, *args, **kwargs)
File "/home/martin/.local/lib/python3.5/site-packages/neovim/msgpack_rpc/event_loop/base.py", line 88, in __init__
getattr(self, '_connect_{}'.format(transport_type))(*args)
File "/home/martin/.local/lib/python3.5/site-packages/neovim/msgpack_rpc/event_loop/asyncio.py", line 80, in _connect_tcp
self._loop.run_until_complete(coroutine)
File "/usr/lib/python3.5/asyncio/base_events.py", line 387, in run_until_complete
return future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 241, in _step
result = coro.throw(exc)
File "/usr/lib/python3.5/asyncio/base_events.py", line 695, in create_connection
raise exceptions[0]
File "/usr/lib/python3.5/asyncio/base_events.py", line 682, in create_connection
yield from self.sock_connect(sock, address)
File "/usr/lib/python3.5/asyncio/selector_events.py", line 402, in sock_connect
return (yield from fut)
File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/selector_events.py", line 432, in _sock_connect_cb
raise OSError(err, 'Connect call failed %s' % (address,))
ConnectionRefusedError: [Errno 111] Connect call failed ('127.0.0.1', 36309)
VIM - Vi IMproved 7.4
hmm... Vim 8 is required.
To generate log fiels, simply add
let $NVIM_PYTHON_LOG_FILE="/tmp/nvim_log"
let $NVIM_PYTHON_LOG_LEVEL="DEBUG"
into your vimrc.
OR
export NVIM_PYTHON_LOG_FILE=/you/log/file
export NVIM_PYTHON_LOG_LEVEL=DEBUG
/your/vim8
# now reproduce the error, and check the log files
hmm... Vim 8 is required.
Oups, i fell silly, i just need to update vim
If anyone has encountered this problem, i have solved it by running these commands
sudo add-apt-repository ppa:jonathonf/vim
sudo apt update
sudo apt install vim
thanks for you patiente, goodbye
Hi, I am using your plugin because i want to use neocomplete plugin in my vim editor (not nvim), here the errors message
vim --version
output