You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@climate.apache.org by "Kim Whitehall (JIRA)" <ji...@apache.org> on 2015/02/09 23:31:39 UTC

[jira] [Created] (CLIMATE-579) urllib2 and Python2.7.9

Kim Whitehall created CLIMATE-579:
-------------------------------------

             Summary: urllib2 and  Python2.7.9
                 Key: CLIMATE-579
                 URL: https://issues.apache.org/jira/browse/CLIMATE-579
             Project: Apache Open Climate Workbench
          Issue Type: Dependency upgrade
         Environment: Anaconda 2.1.0 
            Reporter: Kim Whitehall
            Priority: Minor


I recently updated conda, and broke rcmed and ESGF access due to urllib2 issues. The error is given in the attached screenshot. Thanks to [~boustani] for giving me a fix. If you run into this problem, do execute the following lines of code. 

import ssl
if hasattr(ssl, '_create_unverified_context'):
      ssl._create_default_https_context = ssl._create_unverified_context
 
I'll explore removing the urllib2 dependency for a more permanent fix. 



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