kevinhwang91 / rnvimr

Make Ranger running in a floating window to communicate with Neovim via RPC
BSD 3-Clause "New" or "Revised" License
800 stars 17 forks source link

RPC Timeout #120

Closed Stianhn closed 2 years ago

Stianhn commented 2 years ago

Ranger

Python

Pynvim

Ueberzug (optional)

RPC


**Describe the bug**

- The borders are not being drawn.
- When opening ranger for the first time it gives me this error `Command not found Attach file`.
- Opening a file opens it inside of the modal.
- Navigating the files is a bit laggy.

I'm setting the option `rnvimr_vanilla = 1`. 
`echo $NVIM_LISTEN_ADDRESS` returns `/var/folders/....`

Is there any more information I can provide to simplify the debugging?
kevinhwang91 commented 2 years ago

Look like pynvim can't be imported under ranger.

Open ranger outside nvim, and then run :eval import pynvim; fm.notify(pynvim)

Stianhn commented 2 years ago

Looks like your assumption was right. Any idea why nvim can find pynvim but not ranger?

kevinhwang91 commented 2 years ago
## Pynvim
  - OK: Version: 0.4.3

in checkhealth is your system python ENV. python3 -c "import pynvim; v = pynvim.VERSION; print(v.major, v.minor, v.patch, sep=\".\", end=\"\")"

Your ranger installation path is not the same as your system python.

Stianhn commented 2 years ago

Thanks for the help @kevinhwang91 ❤️ I think I must have insntalled the wrong ranger version. After I installed the ranger-fm version the healthcheck passed 👍