Giter Site home page Giter Site logo

pynvim.api.common.NvimError about semshi HOT 2 OPEN

Lugges991 avatar Lugges991 commented on September 22, 2024
pynvim.api.common.NvimError

from semshi.

Comments (2)

ywpkwon avatar ywpkwon commented on September 22, 2024 9

@Lugges991 I think I found a solution. This issue seems also related to #17. In my case, I upgraded neovim to v0.4.3 and the error disappeared.

For information, to upgrade neovim (I'm using Ubuntu and apt only provides v0.2.2):

sudo apt remove neovim        # remove ubuntu official package
curl -LO https://github.com/neovim/neovim/releases/download/stable/nvim.appimage
chmod u+x nvim.appimage
sudo mv nvim.appimage /usr/local/bin/nvim

from semshi.

ywpkwon avatar ywpkwon commented on September 22, 2024

I've been using semshi without any problem, but I setup neovim to my new Ubuntu 18.04 computer today and I got similar error about "pynvim.api.common.NvimError" when opening a .py file:

Error detected while processing function <SNR>50_filetype_changed[4]..remote#define#CommandBootstrap[5]..remote#define#request:
line    2:
error caught in request handler '/home/paul/.vim/plugged/semshi/rplugin/python3/semshi:command:Semshi [['enable']]':
Traceback (most recent call last):
  File "/home/paul/.vim/plugged/semshi/rplugin/python3/semshi/plugin.py", line 126, in cmd_semshi
    func(self, *args[1:])
  File "/home/paul/.vim/plugged/semshi/rplugin/python3/semshi/plugin.py", line 29, in wrapper
    self._init_with_vim()
  File "/home/paul/.vim/plugged/semshi/rplugin/python3/semshi/plugin.py", line 61, in _init_with_vim
    self._options = Options(self._vim)
  File "/home/paul/.vim/plugged/semshi/rplugin/python3/semshi/plugin.py", line 269, in __init__
    val = vim.vars.get('semshi#' + key, val_default)
  File "/home/paul/.local/lib/python3.6/site-packages/pynvim/api/common.py", line 138, in get
    return self.__getitem__(key)
  File "/home/paul/.local/lib/python3.6/site-packages/pynvim/api/common.py", line 110, in __getitem__
    raise transform_keyerror(exc)
  File "/home/paul/.local/lib/python3.6/site-packages/pynvim/api/common.py", line 108, in __getitem__
    return self._get(key)
  File "/home/paul/.local/lib/python3.6/site-packages/pynvim/api/nvim.py", line 182, in request
    res = self._session.request(name, *args, **kwargs)
  File "/home/paul/.local/lib/python3.6/site-packages/pynvim/msgpack_rpc/session.py", line 104, in request
    raise self.error_wrapper(err)
pynvim.api.common.NvimError: Key 'semshi#mark_selected_nodes' not found

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.