Errors with homebrew python, macvim, and RCM
mhartington opened this issue · 2 comments
mhartington commented
Getting some odd issues but not sure where it's coming from.
When through the steps listed out in the FAQ, uninstalled/installed Python and MacVim, no dice.
Not sure if it has to do with RCM, a dotfile manager.
https://github.com/mhartington/dotfiles/blob/master/vimrc
Python 2.7.9
cmake version 3.1.0
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep 30 2014 21:43:03)
MacOS X (unix) version
Included patches: 1-258
Compiled by Homebrew
Huge version with MacVim GUI
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
Traceback (most recent call last):
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "<string>", line 1, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/autoload/../python/ycm/youcompleteme.py", line 34, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
from ycm.client.ycmd_keepalive import YcmdKeepalive
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/autoload/../python/ycm/client/ycmd_keepalive.py", line 22, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
from ycm.client.base_request import BaseRequest
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/autoload/../python/ycm/client/base_request.py", line 20, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
import requests
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/__init__.py", line 58, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
from . import utils
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/utils.py", line 26, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
from .compat import parse_http_list as _parse_list_header
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/compat.py", line 7, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
from .packages import chardet
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/__init__.py", line 3, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
from . import urllib3
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/__init__.py", line 10, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
from .connectionpool import (
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/connectionpool.py", line 31, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
from .connection import (
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/connection.py", line 45, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
from .util.ssl_ import (
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/util/__init__.py", line 5, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
from .ssl_ import (
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/Users/mhartington/.vim/bundle/YouCompleteMe/third_party/ycmd/third_party/requests/requests/packages/urllib3/util/ssl_.py", line 12, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
import ssl
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ssl.py", line 60, in <module>
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
import _ssl # if we can't import it, let the error propagate
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
ImportError: dlopen(/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so, 2): Symbol not found: _SSLv2_method
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
Referenced from: /usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Error detected while processing function youcompleteme#Enable..<SNR>115_SetUpPython:
line 26:
in /usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
Any idea?
vheon commented
It seems like you have some problem with libssl. Try to unlink the homebrew python, reinstall YCM and then reinstall the homebrew python.
mhartington commented
That did the trick, thanks!