[ 
https://issues.apache.org/jira/browse/CLIMATE-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15330126#comment-15330126
 ] 

Ibrahim Jarif commented on CLIMATE-783:
---------------------------------------

[~lewismc] The PR for this issue is merged to the master branch. So I guess I 
have this patch already pulled in.

I'm getting the following error now
{code}
> python esgf_integration_example.py
Enter your ESGF OpenID:
https://hydra.fsl.noaa.gov/esgf-idp/openid/jarifibrahim
Enter your ESGF Password:

Traceback (most recent call last):
  File "esgf_integration_example.py", line 36, in <module>
    password)
  File "/home/ibrahim/Desktop/climate/ocw/data_source/esgf.py", line 89, in 
load_dataset
    download_directory=save_path)
  File "/home/ibrahim/Desktop/climate/ocw/data_source/esgf.py", line 136, in 
_download_files
    logon(username, password)
  File "/home/ibrahim/Desktop/climate/ocw/esgf/logon.py", line 42, in logon
    lm.logon_with_openid(openid, password)
  File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/pyesgf/logon.py", 
line 140, in logon_with_openid
    interactive=interactive)
  File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/pyesgf/logon.py", 
line 176, in logon
    bootstrap=bootstrap, updateTrustRoots=update_trustroots)
  File 
"/home/ibrahim/miniconda2/lib/python2.7/site-packages/myproxy/client.py", line 
1412, in logon
    **getTrustRootsKw)
  File 
"/home/ibrahim/miniconda2/lib/python2.7/site-packages/myproxy/client.py", line 
1564, in getTrustRoots
    conn.write('0')
  File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/OpenSSL/SSL.py", 
line 1271, in send
    self._raise_ssl_error(self._ssl, result)
  File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/OpenSSL/SSL.py", 
line 1191, in _raise_ssl_error
    _raise_current_error()
  File "/home/ibrahim/miniconda2/lib/python2.7/site-packages/OpenSSL/_util.py", 
line 48, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'SSL3_GET_RECORD', 'wrong version number')]

=====================================================================================================================
pip show pyOpenSSL
---
Metadata-Version: 2.0
Name: pyOpenSSL
Version: 16.0.0
Summary: Python wrapper module around the OpenSSL library
Home-page: https://pyopenssl.readthedocs.org/
Author: Hynek Schlawack
Author-email: h...@ox.cx
Installer: pip
License: Apache License, Version 2.0
Location: /home/ibrahim/miniconda2/lib/python2.7/site-packages
Requires: cryptography, six
Classifiers:
  Development Status :: 6 - Mature
  Intended Audience :: Developers
  License :: OSI Approved :: Apache Software License
  Operating System :: MacOS :: MacOS X
  Operating System :: Microsoft :: Windows
  Operating System :: POSIX
  Programming Language :: Python :: 2
  Programming Language :: Python :: 2.6
  Programming Language :: Python :: 2.7
  Programming Language :: Python :: 3
  Programming Language :: Python :: 3.3
  Programming Language :: Python :: 3.4
  Programming Language :: Python :: 3.5
  Programming Language :: Python :: Implementation :: CPython
  Programming Language :: Python :: Implementation :: PyPy
  Topic :: Security :: Cryptography
  Topic :: Software Development :: Libraries :: Python Modules
  Topic :: System :: Networking
{code}

> Update ESGF examples
> --------------------
>
>                 Key: CLIMATE-783
>                 URL: https://issues.apache.org/jira/browse/CLIMATE-783
>             Project: Apache Open Climate Workbench
>          Issue Type: Improvement
>    Affects Versions: 1.1
>            Reporter: Deanna Nash
>            Assignee: Deanna Nash
>            Priority: Minor
>             Fix For: 1.1
>
>
> - change name of esgf_integration_examply.py to esgf_integration_example.py
> - remove visibility of ESGF password 
> - change username prompt to ask for OpenID
> - add configuration file for local ESGF example in RCMES



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to