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
Python Crashes #620
Comments
Please sync and re-compile then try it out. |
@Valloric Python still crashes when I open the MacVim.app, however if I open it from the terminal everything works fine. Any idea why this is? |
Then it's not a YCM bug, but a configuration issue with your OS/YCM installation/MacVim. Out of ideas, sorry. |
I see this too on commit 0a05ba8 |
Python still keeps crashing but I can't live without my YCM. It is a YCM error for sure because when I remove YCM this doesn't happen. I wondered if it's a Python error after all but it isn't because UltiSnips does work and uses Python if I'm right. I created a video to demonstrate what keeps happening: http://www.youtube.com/watch?v=SNnpx3dBqIs The video is only 2 minutes long! I have asked the guys on the #vim irc but they have no clue either |
I don't really know what to tell you; I can't repro this on any machine and neither can anyone else because otherwise the issue tracker would be brimming with people reporting the same problem over and over again. So it is somehow related to your system configuration. OS X 10.9 is still brand-new and MacVim has no official release for it; I'd put my money on this being a problem with running a 10.8 MacVim on 10.9. There's a thread tracking the progress of MacVim for 10.9 here: https://groups.google.com/forum/#!topic/vim_mac/5kVAMSPb6uU |
This happens on my Mavericks+Macvim setup as well. Python crashes and YCM server shuts down with
Does not happen in the console VIM. |
It appears there is an official build of MacVim, it's just not at the usual place (on Google Code): https://github.com/b4winckler/macvim/releases Try using that. |
I tried MacVim Snapshot 72, seems like it has the same problem.
My python was compiled from homebrew. jillesme's python looks like the stock one that comes with Mavericks. |
I see this error on Mac OS 10.8 with MacVim snapshots 71 and 72 from here. My stack trace reads:
|
I get this error with python 2.7.6 from homebrew. YCM runs fine with OS X's stock 2.7.5 |
I had the same problem running YCM on OSX Mavericks with homebrew python. At first vim was crashing, however using the suggestion from |
Installed 2.7.6 with brew (on Mountain Lion) and Python started to crash on vim startup. |
Also having the same problem. Updated YCM, installed/compiled it and now Python crashes on startup. Using Mavericks and Python 2.7.6. YCM worked fine until this. |
I'm getting the same thing (breaking). Using Mavericks and Python 2.7.6. |
Ok so checkout this: Homebrew/legacy-homebrew#17908 specifically "Please brew update, uninstall python, uninstall macvim, reinstall python and macvim and if it's still an issue please create a new one." That should fix it. Oh and don't forget to recompile ycm, it needs to compile with the new Python. |
Just wanted to confirm that this worked great for me :) If your setup is like mine, a quick copy paste should do the trick...
|
Works for me. Thanks. |
Fixed with suggestion from koepsell: ycm-core/YouCompleteMe#620
thanks, @koepsell, |
thanks @koepsell, had the same problem with python crashing. This fixed it. |
I've apply 'export DYLD_FORCE_FLAT_NAMESPACE=1' but this issue still there with macOS Sierra 10.12.1(16B2555) |
@bearlin You are right. The issue still there with OS sierra when I restart the iterm2. |
After updating YCM today, Python crashes after opening Vim. (MacVim latest)
This is the complete error log:
http://pastebin.com/3WV59EQi
I've added 2 screenshots:
http://jilles.me/YCM_Python/1.png
http://jilles.me/YCM_Python/2.png
The text was updated successfully, but these errors were encountered: