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

Errors with homebrew python, macvim, and RCM #1340

Closed
mhartington opened this issue Jan 26, 2015 · 2 comments
Closed

Errors with homebrew python, macvim, and RCM #1340

mhartington opened this issue Jan 26, 2015 · 2 comments

Comments

@mhartington
Copy link

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

RCM

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
Copy link
Contributor

vheon commented Jan 26, 2015

It seems like you have some problem with libssl. Try to unlink the homebrew python, reinstall YCM and then reinstall the homebrew python.

@mhartington
Copy link
Author

That did the trick, thanks!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 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