Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created July 12, 2017 11:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdeil/e17584e17ef4e0b93723b78ea0e1f464 to your computer and use it in GitHub Desktop.
Save cdeil/e17584e17ef4e0b93723b78ea0e1f464 to your computer and use it in GitHub Desktop.
_______________________________________________________ ERROR collecting docs/plot.py _______________________________________________________
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py:1318: in do_open
encode_chunked=req.has_header('Transfer-encoding'))
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py:1239: in request
self._send_request(method, url, body, headers, encode_chunked)
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py:1285: in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py:1234: in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py:1026: in _send_output
self.send(msg)
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py:964: in send
self.connect()
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py:936: in connect
(self.host,self.port), self.timeout, self.source_address)
/Users/deil/Library/Python/3.6/lib/python/site-packages/astropy/tests/disable_internet.py:75: in new_function
"requested host was: {0}".format(host))
E OSError: An attempt was made to connect to the internet by a test that was not marked `remote_data`. The requested host was: alasky.unistra.fr
During handling of the above exception, another exception occurred:
../docs/plot.py:9: in <module>
hips_survey = HipsSurveyProperties.fetch(url)
hips/tiles/surveys.py:70: in fetch
with urllib.request.urlopen(url) as response:
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py:223: in urlopen
return opener.open(url, data, timeout)
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py:526: in open
response = self._open(req, data)
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py:544: in _open
'_open', req)
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py:504: in _call_chain
result = func(*args)
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py:1346: in http_open
return self.do_open(http.client.HTTPConnection, req)
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/urllib/request.py:1320: in do_open
raise URLError(err)
E urllib.error.URLError: <urlopen error An attempt was made to connect to the internet by a test that was not marked `remote_data`. The requested host was: alasky.unistra.fr>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
========================================================== 1 error in 0.86 seconds ==========================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment