Giter Site home page Giter Site logo

Comments (14)

AucaCoyan avatar AucaCoyan commented on June 16, 2024 5

Sorry, I ran :UpdateRemotePlugins and I received this, is this ok?

function remote#host#UpdateRemotePlugins[6]..<SNR>92_RegistrationCommands[15]..remote#host#Require[10]..provider#pythonx#Require[13]..provider#Poll, line 4
Vim(if):Error invoking 'poll' on channel 6:^@ch 6 was closed by the client
function remote#host#UpdateRemotePlugins[6]..<SNR>92_RegistrationCommands[15]..remote#host#Require[10]..provider#pythonx#Require[13]..provider#Poll, line 14
Failed to load python3 host. You can try to see what happened by starting nvim with
$NVIM_PYTHON_LOG_FILE set and opening the generated log file. Also, the host stderr
is available in messages.
remote/host: generated rplugin manifest: C:\Users\aucac\AppData\Local\nvim-data/rplugin.vim
Press ENTER or type command to continue

from semshi.

numirias avatar numirias commented on June 16, 2024 1

In Neovim you need to run :UpdateRemotePlugins to update the plugin manifest and register remote plugin commands and functions. Could you check if you did that?

from semshi.

wookayin avatar wookayin commented on June 16, 2024 1

If you see such errors

Failed to load python3 host. You can try to see what happened by starting nvim with

You need to configure g:python3_host_prog properly in your init.vim config and install pynvim there:

python3 -m pip install --upgrade --force-reinstall pynvim

and make sure python3 host works OK:

:echo py3eval("sys.version_info")

and then :UpdateRemotePlugins again.

from semshi.

jdhao avatar jdhao commented on June 16, 2024

After using :UpdateRemotePlugins, it seems that the issue is gone. This is a little weird because I have set up the post-update hooks for this plugin. The :UpdateRemotePlugins command should be run automatically on each installation or update.

FYI, my vim-plug statement for semshi:

Plug 'numirias/semshi', { 'do': ':UpdateRemotePlugins', 'for': 'python' }

from semshi.

jdhao avatar jdhao commented on June 16, 2024

Maybe it is because I have added the 'for': 'python' part so that the :UpdateRemotePlugins command will not be run automatically?

from semshi.

numirias avatar numirias commented on June 16, 2024

@jdhao TBH, I never got automatic UpdateRemotePlugins to work myself. I don't think it's due to something within this plugin, though.

from semshi.

jdhao avatar jdhao commented on June 16, 2024

I also use deoplete and set up the post-update hook, and it works great:

Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }

Maybe I should file an issue in vim-plug repo. Thanks for your answer!

from semshi.

jdhao avatar jdhao commented on June 16, 2024

It seems that for option should not be used. Otherwise, command provided by semshi seems not to be loaded. Ref: junegunn/vim-plug#593 (comment)

from semshi.

numirias avatar numirias commented on June 16, 2024

Weird, in my config I'm not using for:.

from semshi.

jdhao avatar jdhao commented on June 16, 2024

My minimal working init.vim is as follows:

if has('win32')
    let s:PLUGIN_HOME=expand('~/AppData/Local/nvim/plugged')
else
    let s:PLUGIN_HOME=expand('~/.local/share/nvim/plugged')
endif

call plug#begin(s:PLUGIN_HOME)
Plug 'numirias/semshi', { 'do': ':UpdateRemotePlugins' }
call plug#end()

from semshi.

numirias avatar numirias commented on June 16, 2024

Thanks, not sure why it doesn't work for me. Closing the issue now since it doesn't seem related to Semshi

from semshi.

intramuros avatar intramuros commented on June 16, 2024

Hi, I have the same issue and this error:

E117: Unknown function: SemshiBufWipeout

appears even after deleting semshi plugin.

from semshi.

numirias avatar numirias commented on June 16, 2024

@intramuros You need to run :UpdateRemotePlugins.

from semshi.

AucaCoyan avatar AucaCoyan commented on June 16, 2024

Thank you @wookayin !

from semshi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.