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
command() hangs with default config on OSX w/MacPorts Vim #17
Comments
Interesting. The Mac situation is a bit odd, since Vim needs X11 bindings for this (for some reason), but technically, I don't think a Mac has an actual X server. For this particular issue, one likely culprit is For now, could you start a Vimrunner server (for example, by executing the Other than that, the configuration seems just fine. You mentioned you can manually start and work with a server. This would mean with something like
Thank you for your kind words :). As you can see, it's still somewhat iffy, but we're working on it. |
I'm wrong about "start" hanging. Start works fine. I get back a
What hangs is a subsequent command:
I've confirmed that Vimrunner is choosing Using the same
I'm going to re-read that closed issue that referenced PTYs and make sure I've covered that area. At this point my suspicions are pointing in the direction of TTY problems. I'll rename this issue to reflect that it's |
I can't figure out what the problem could be. One thing you could try is run |
Did you find anything out on this issue? |
I never could get it working properly in OSX, and haven't been doing much Vim plugin development recently. I'd like to use it, but unfortunately don't have anything helpful to add. I did just try it again to check, using Vimrunner 0.3.0 and Vim 7.4.035 (MacPorts). With this basic script, it still just hangs:
Based on the documentation, that should be running I also tried forcing it to use
That results in:
And finally, I tried forcing it to use the stock OSX Vim (7.3.x) at If no one else is seeing this in OSX, there may be something related to MacPorts that's causing it. I'm very confident that my MacPorts installation is stable; it works with everything else I use, including a number of complex Vim plugins. I know all the kids these days use Homebrew, so maybe there just aren't any others out there trying to use Vimrunner with MacPorts. This is actually a new Mac that I just configured recently, so it's not the same one I was using when I first opened the bug. The environment is very similar, but that shows that it's reproducible. I'd be happy to try something else if you have a suggestion, but I'm not likely to dive into debugging it myself until I have time to actively work on plugins again. |
Hi Jim, There is a mistake in the README re the options to Vimrunner::Server.new(:executable => "/opt/local/bin/vim") Re |
Since I can't really debug this issue effectively, and it's been a while, I guess I'll go ahead and close it for the moment. |
fix readme to reflect change mentioned in issue #17
I'm using Vimrunner under OSX, and it's hanging on
start
withvim
. I can manually start and interact with a server as expected from the command line. The specs/config I'm using work fine in Linux.I was able to get it working with MacPorts's
mvim
, which is just a wrapper around MacVim. Unfortunately, that isn't a headless configuration, so it's not a viable long-term solution.I've created a gist with config details, including the output of both
vim --version
andmvim --version
. I'd be happy to help test/track this down, but before I dive in there, do you have any ideas? I've already read all of #11, which is how I got this far.Thanks for the gem! This has really changed how I write plugins.
The text was updated successfully, but these errors were encountered: