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

Vim Crashes on start #134

Closed
hojberg opened this issue Feb 19, 2013 · 4 comments
Closed

Vim Crashes on start #134

hojberg opened this issue Feb 19, 2013 · 4 comments

Comments

@hojberg
Copy link

hojberg commented Feb 19, 2013

After upgrading to the most recent YCM, vim crashes on start:

Vim: Caught deadly signal ABRT
Vim: Finished.

I had no errors from running the install script

@xgalaxy
Copy link
Contributor

xgalaxy commented Feb 19, 2013

Please quickly take a look at #112
And see if any of that applies to you.

@hojberg
Copy link
Author

hojberg commented Feb 19, 2013

I have a much smaller version diff:

☺  otool -L /usr/local/Cellar/macvim/7.3-65/MacVim.app/Contents/MacOS/Vim | grep Python                                                       
    /System/Library/Frameworks/Python.framework/Versions/2.7/Python (compatibility version 2.7.0, current version 2.7.2)
~
☺  python-config --prefix                                                                                                                     
/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7

Note that I had YCM working fine until I tried to upgrade when I saw the string completion landed

@xgalaxy
Copy link
Contributor

xgalaxy commented Feb 19, 2013

YCM was compiled against your brewed Python, since that is whats listed for your python-config, and I'm guessing also shows up under which python.

Unfortunately there is an upstream problem with MacVim which doesn't properly link against brewed Python. See the following link for a description of the problem and a work around:

Homebrew/legacy-homebrew#17908

Alternatively, if you don't feel like recompiling MacVim, you can alter the YCM script to force it to compile against the system python.

@hojberg
Copy link
Author

hojberg commented Feb 19, 2013

I decided that I had no use for MacVim, and just did brew install vim which doesn't have this problem

@hojberg hojberg closed this as completed Feb 19, 2013
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants