Skip to content

logon_with_openid failed  #12

@annefou

Description

@annefou

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions