remote-nvim.nvim icon indicating copy to clipboard operation
remote-nvim.nvim copied to clipboard

Encountered error E5560 when trying to connect to devcontainer workspace

Open MimeLyc opened this issue 1 year ago • 1 comments

Describe the bug

I tried to launch a devcontainer of https://github.com/moby/moby project and attach to it, but failed with error

Error executing luv callback:
vim/_editor.lua:0: E5560: nvim_err_writeln must not be called in a lua loop callback
stack traceback:
        [C]: in function 'nvim_err_writeln'
        vim/_editor.lua: in function 'notify'
        .../remote-nvim.nvim/lua/remote-nvim/providers/provider.lua:802: in function <.../remote-nvim.nvim/lua/remote-nvim/providers/provider.lua:801>

To reproduce

Use the repro.lua to reproduce the issue.

  1. Open moby dir with nvim
  2. :RemoteStart
  3. Select Dev Containers: Launch current project in devcontainer
  4. Follow steps and choose Launch local Neovim client?
  5. Get the error

Expected behavior

Connect to my devcontainer.

Screenshot/Screencast(s)

image

System information

  • Your local OS: MacOS Sonoma 14.0

  • Local Neovim version: NVIM v0.10.0 Build type: Release LuaJIT 2.1.1713484068

  • Remote host OS (if applicable): Linux db7593b9ebcf 6.9.6-orbstack-00147-gb0567c7c0069 #1 SMP Sun Jun 23 23:24:08 UTC 2024 aarch64 GNU/Linux

  • Remote Neovim version (if applicable): 10.0, installed via remote-nvim,

Additional context

No

MimeLyc avatar Jul 18 '24 16:07 MimeLyc

I'm also getting this

wokalski avatar Aug 08 '24 07:08 wokalski