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
ruby provider does not support nesting in Windows #7655
Comments
cc @alexgenco |
I'm looking into this but it will take me some time as I figure out how to reproduce. |
Still haven't fixed it, but I've been debugging on appveyor and am getting weird phantom responses from nvim to RPC message I didn't send (consistently with request id "13"). Nvim then seems to close the connection, which is probably what's causing So it seems something is leaking a malformed message to the host process's stdout, potentially only on nested RPC calls. I'll keep digging this weekend. |
It seems like maybe a msgpack issue. In the neovim-ruby acceptance test suite, when the msgpack session gets up to request ID 10, neovim responds with the invalid message response (for request id 13, which was never sent). If I can get a smaller repro case, I'll open an issue with msgpack-ruby. Off the bat, this seems like it might be relevant: msgpack/msgpack-ruby#127 |
Ok I think I found the issue, it had to do with setting all IO objects to binary mode (https://ruby-doc.org/core-2.3.1/IO.html#method-i-binmode), among other things. The full neovim-ruby test suite (including tests around nested invocations) is now passing on appveyor, so I'm hoping it resolves this issue is well. Is it easy to try it on neovim-ruby master, or should I release a new version? |
I install neovim-ruby via gem so I prefer that I can try the latest changes by reverting the commit to enable the nesting test and run another build, https://ci.appveyor.com/project/neovim/neovim/build/17062/job/tubryp9uxmxbn68m |
Just pushed 0.6.2. |
It passes now. Thank you. |
nvim --version
2d732a1Not tested
$TERM
: N/ASteps to reproduce using
nvim -u NORC
Patch to enable in Appveyor: 19f1569
Test shown in fe42f9a but without the added line to disable the test.
Actual behaviour
https://ci.appveyor.com/project/neovim/neovim/build/16911/job/w9iwbr905o5gdowq
Expected behaviour
Pass test in Appveyor.
The text was updated successfully, but these errors were encountered: