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

logon_with_openid failed #12

Open
annefou opened this issue Sep 17, 2014 · 0 comments
Open

logon_with_openid failed #12

annefou opened this issue Sep 17, 2014 · 0 comments

Comments

@annefou
Copy link

annefou commented Sep 17, 2014

Hi,

We installed python anaconda on our system (linux redhat 6) and installed pyesgf.
But when we use pyesgf.logon get the following error (see below). Do you have any suggestions? I tried on different machines and different python flavors but always get the same errors.
Thanks,

Anne.

python
Python 2.7.8 |Anaconda 2.0.1 (64-bit)| (default, Aug 21 2014, 18:22:21)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org

import pyesgf.logon as logon
lm = logon.LogonManager()
lm.is_logged_on()
False
lm.logon_with_openid(openid,pwd)
Traceback (most recent call last):
File "", line 1, in
File "/site/opt/python/anaconda/lib/python2.7/site-packages/pyesgf/logon.py", line 140, in logon_with_openid
interactive=interactive)
File "/site/opt/python/anaconda/lib/python2.7/site-packages/pyesgf/logon.py", line 176, in logon
bootstrap=bootstrap, updateTrustRoots=update_trustroots)
File "/site/opt/python/anaconda/lib/python2.7/site-packages/myproxy/client.py", line 1382, in logon
**getTrustRootsKw)
File "/site/opt/python/anaconda/lib/python2.7/site-packages/myproxy/client.py", line 1531, in getTrustRoots
conn = self._initConnection(verifyPeerWithTrustRoots=(not bootstrap))
File "/site/opt/python/anaconda/lib/python2.7/site-packages/myproxy/client.py", line 703, in _initConnection
context.set_verify(SSL.VERIFY_PEER, self.__serverSSLCertVerify)
File "/site/opt/python/anaconda/lib/python2.7/site-packages/OpenSSL/SSL.py", line 541, in set_verify
self._verify_helper = _VerifyHelper(self, callback)
File "/site/opt/python/anaconda/lib/python2.7/site-packages/OpenSSL/SSL.py", line 164, in init
@wraps(callback)
File "/site/opt/python/anaconda/lib/python2.7/functools.py", line 33, in update_wrapper
setattr(wrapper, attr, getattr(wrapped, attr))
AttributeError: 'MyProxyServerSSLCertVerification' object has no attribute 'name'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant