dccsillag / magma-nvim

Interact with Jupyter from NeoVim.
GNU General Public License v3.0
988 stars 50 forks source link

[Bug] UpdateRemotePlugins Failing to Load Python3 Host #65

Closed n-sweep closed 1 year ago

n-sweep commented 1 year ago

Describe the bug :UpdateRemotePlugins is failing with failed to load python3 host despite a clean checkhealth

To Reproduce Steps to reproduce the behavior:

  1. Upon starting neovim, MagmaInit is not an editor command.
  2. Run :UpdateRemotePlugins, receive the following error:

Error

function remote#host#UpdateRemotePlugins[6]..<SNR>54_RegistrationCommands[15]..remote#host#Require[10]..provider#pythonx#Require[12]..provider#Poll, line 7
Vim(if):Error invoking 'poll' on channel 3 (python3-client):^@ch 3 was closed by the client
function remote#host#UpdateRemotePlugins[6]..<SNR>54_RegistrationCommands[15]..remote#host#Require[10]..provider#pythonx#Require[12]..provider#Poll, line 17
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.

checkhealth Output

## Python 3 provider (optional)
  - INFO: Using: g:python3_host_prog = "/usr/bin/python3"
  - INFO: Executable: /usr/bin/python3
  - INFO: Python version: 3.10.6
  - INFO: pynvim version: 0.4.3
  - OK: Latest pynvim is installed.

Expected behavior After a successful :UpdateRemotePlugins call, I can use magma-nvim as intended.

Desktop (please complete the following information):

Additional context

TATOAO commented 1 year ago

Experiencing the same issue here, but my error message is different.

Screenshot 2022-11-17 at 23 02 44

Same with: if removing the $use({ 'dccsillage/maga-nvim', run = ':UpdateRemotePlugins'}) in my plugins magager, UpdateRemotePlugins works just fine.

My system is Ubuntu 20.04, python 3.8.10

TATOAO commented 1 year ago

Experiencing the same issue here, but my error message is different.

Screenshot 2022-11-17 at 23 02 44

Same with: if removing the $use({ 'dccsillage/maga-nvim', run = ':UpdateRemotePlugins'}) in my plugins magager, UpdateRemotePlugins works just fine.

My system is Ubuntu 20.04, python 3.8.10

I tried to use python3.9 and the no error message popping up

WhiteBlackGoose commented 1 year ago

eca28c6 should fix it