amitds1997 / remote-nvim.nvim

Remote development in Neovim 🔥
MIT License
539 stars 12 forks source link

Cannot install nvim appimage "required file not found" #154

Open dis-sid opened 1 month ago

dis-sid commented 1 month ago

Describe the bug

I tried running a docker image as a devcontainer using mcr.microsoft.com/devcontainers/python (but it does the same with other devcontainers images), after selecting the neovim version v0.10.0 I get the following error: /home/vscode/.remote-nvim/scripts/neovim_install.sh: line 97: /tmp/tmp.c85bjHajYI/nvim-v0.10.0-linux.appimage: cannot execute: required file not found

To reproduce

Steps to reproduce the behavior:

  1. open nvim
  2. execute RemoteStart
  3. choose Remote Docker: Launch docker image
  4. input mcr.microsoft.com/devcontainers/python
  5. Choose neovim v0.10.0

Expected behavior

A clear and concise description of what you expected to happen.

Screenshot/Screencast(s)

remote-nvim-issue-opti

System information

Additional context

Logs:

FAILED JOB OUTPUT (SO FAR) Downloading Neovim... Download completed. Extracting Neovim binary... /home/vscode/.remote-nvim/scripts/neovim_install.sh: line 97: /tmp/tmp.c85bjHajYI/nvim-v0.10.0-linux.appimage: cannot execute: required file not found ERROR mer. 10 juil. 2024 13:52:29 .local/share/nvim/lazy/remote-nvim.nvim/lua/remote-nvim/providers/provider.lua:973: 'Installing Neovim (if required)' failed. stack traceback: .../remote-nvim.nvim/lua/remote-nvim/providers/provider.lua:974: in function '_handle_job_completion' .../remote-nvim.nvim/lua/remote-nvim/providers/provider.lua:1017: in function 'run_command' .../remote-nvim.nvim/lua/remote-nvim/providers/provider.lua:645: in function '_setup_remote' .../remote-nvim.nvim/lua/remote-nvim/providers/provider.lua:873: in function '_launch_neovim' ...vim/lua/remote-nvim/providers/devpod/devpod_provider.lua:189: in function <...vim/lua/remote-nvim/providers/devpod/devpod_provider.lua:177> [C]: in function 'xpcall' .../remote-nvim.nvim/lua/remote-nvim/providers/provider.lua:759: in function <.../remote-nvim.nvim/lua/remote-nvim/providers/provider.lua:758>

amitds1997 commented 1 month ago

Thanks for reporting this. Could you check if you are able to run any appimage on your remote? Most likely, the remote system does not support appimages or does not have necessary dependencies installed. We can look for workarounds to get it working if that be the case, since current installation kind of depends on the remote system supporting appimages.

dis-sid commented 1 month ago

By my "remote" do you mean the container running a mcr.microsoft.com/devcontainers/python image ? Would downloading and trying to execute neovim's appimage from a container running this image do it ?

khaitranhq commented 3 weeks ago

@amitds1997 I encountered the same issue. Following this comment, there are some images that can't run appimage application. However we can use this command and run with --appimage-extract