Giter Site home page Giter Site logo

Unknown function: GdbInit about nvim-gdb HOT 4 CLOSED

sakhnik avatar sakhnik commented on April 29, 2024
Unknown function: GdbInit

from nvim-gdb.

Comments (4)

sakhnik avatar sakhnik commented on April 29, 2024 1

Are you sure you run :UpdateRemotePlugins?

from nvim-gdb.

imv avatar imv commented on April 29, 2024

I did include UpdateRemotePlugins in installation string but it turns out my neovim had no python3 support. Installing pynvim and running UpdateRemotePlugins fixed the issue.

from nvim-gdb.

T0maas avatar T0maas commented on April 29, 2024

Installing pynvim did not solved problem for me. I have archlinux and I installed folowing packages:

  • neovim 0.4.4-1
  • python-pynvim 0.4.2-2
  • python 3.8.6-1

When I run UpdateRemotePlugins it gets output:
function remote#host#UpdateRemotePlugins[6]..<SNR>34_RegistrationCommands[15]..remote#host#Require[10]..provid er#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: /home/tom/.local/share/nvim/rplugin.vim

So I set the variable export NVIM_PYTHON_LOG_FILE=/tmp/err.log and rerun nvim with UpdateRemotePlugins, but the file did not created.

from nvim-gdb.

sakhnik avatar sakhnik commented on April 29, 2024

@T0maas, it's clearly a pynvim issue. According to their docs, you'll need to set one more variable: NVIM_PYTHON_LOG_FILE=logfile NVIM_PYTHON_LOG_LEVEL=DEBUG nvim.

from nvim-gdb.

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.