prjemian / punx

Python Utilities for NeXus HDF5 files
https://prjemian.github.io/punx
5 stars 7 forks source link

punx update fails #42

Closed prjemian closed 8 years ago

prjemian commented 8 years ago

punx update fails

I can download commits but punx update doesn't work:

ich@AirBook:~ punx update
INFO: get repo info: https://api.github.com/repos/nexusformat/definitions/commits
ERROR: IOError from https://api.github.com/repos/nexusformat/definitions/commits
INFO: GitHub not available

ich@AirBook:~ wget --no-check-certificate https://api.github.com/repos/nexusformat/definitions/commits
--2016-06-28 08:51:20--  https://api.github.com/repos/nexusformat/definitions/commits
Resolving api.github.com... 192.30.253.116
Connecting to api.github.com|192.30.253.116|:443... connected.
WARNING: cannot verify api.github.com's certificate, issued by ‘CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US’:
  Unable to locally verify the issuer's authority.
HTTP request sent, awaiting response... 200 OK
Length: 107156 (105K) [application/json]
Saving to: ‘commits’

commits                  100%[==================================>] 104.64K   339KB/s   in 0.3s

2016-06-28 08:51:21 (339 KB/s) - ‘commits’ saved [107156/107156]
prjemian commented 8 years ago

This package, http://docs.python-requests.org, could replace urllib2