Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dis-sid opened this issue Jul 10, 2024 · 3 comments
Open

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

dis-sid opened this issue Jul 10, 2024 · 3 comments
Labels
bug Something isn't working waiting-for-response

Comments

@dis-sid
Copy link

dis-sid commented Jul 10, 2024

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

  • Your local OS: Manjaro Linux x86_64
  • Local Neovim version: v0.10.0
  • Remote host OS (if applicable): mcr.microsoft.com/devcontainers/python
  • Remote Neovim version (if applicable): v0.10.0

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>

@dis-sid dis-sid added the bug Something isn't working label Jul 10, 2024
@amitds1997
Copy link
Owner

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
Copy link
Author

dis-sid commented Jul 12, 2024

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
Copy link

khaitranhq commented Aug 7, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working waiting-for-response
Projects
None yet
Development

No branches or pull requests

3 participants