#111978 Report by node localhost covering 1968 tests from 49 modules resulted into 11 errors

Report

ObsPy version
1.2.2
Continuous Integration
-
GitHub Pull Request
-
Report file
XML document
Total runtime
355.9 sec
Report date/time
2020-10-01 04:21:45

System / Python

Architecture
64bit
Machine
x86_64
Node
localhost
Processor
x86_64
Python Compiler
GCC 7.5.0
Python Implementation
CPython
Python Version
3.8.5
Release
3.10.0-1127.19.1.el7.x86_64
System
Linux
Version
#1 SMP Tue Aug 25 17:23:54 UTC 2020

Dependencies

cartopy
0.18.0
decorator
4.4.2
flake8
---
future
0.18.2
geographiclib
---
lxml.etree
4.5.2
m2crypto
---
matplotlib
3.3.2
mock
---
mpl_toolkits.basemap
---
numpy
1.19.1
pep8-naming
---
pyflakes
---
pyimgur
---
pyproj
2.6.1.post1
requests
2.24.0
scipy
1.5.2
setuptools
49.6.0.post20200917
shapefile
2.1.2
sqlalchemy
1.3.19

Modules (49)

Module Errors / Failures Tracebacks
obspy.clients.arclink Not tested -
obspy.clients.earthworm Not tested -
obspy.clients.fdsn Not tested -
obspy.clients.filesystem - -
obspy.clients.iris Not tested -
obspy.clients.neic Not tested -
obspy.clients.nrl Not tested -
obspy.clients.seedlink Not tested -
obspy.clients.seishub Not tested -
obspy.clients.syngine Not tested -
obspy.core 11 1 2 3 4 5 6 7 8 9 10 11
obspy.db - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.dmx - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 11 11

Tracebacks (11)

Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 950, in send
self.connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1417, in connect
super().connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 921, in connect
self.sock = self._create_connection(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 787, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/tests/test_event.py", line 623, in test_catalog_plot_global
cat.plot(method='cartopy', outfile=ic.name)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 763, in plot
fig.savefig(outfile)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/figure.py", line 2311, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 2210, in print_figure
result = print_method(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper
return func(*args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png
FigureCanvasAgg.draw(self)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw
self.figure.draw(self.renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/figure.py", line 1863, in draw
mimage._draw_list_compositing_images(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper
return func(*inner_args, **inner_kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/axes/_base.py", line 2747, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw
geoms = self._feature.intersecting_geometries(extent)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries
return super(NaturalEarthFeature, self).intersecting_geometries(extent)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries
return (geom for geom in self.geometries() if
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 284, in geometries
path = shapereader.natural_earth(resolution=self.scale,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth
return ne_downloader.path(format_dict)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/__init__.py", line 222, in path
result_path = self.acquire_resource(target_path, format_dict)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource
shapefile_online = self._urlopen(url)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/__init__.py", line 261, in _urlopen
return urlopen(url)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 950, in send
self.connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1417, in connect
super().connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 921, in connect
self.sock = self._create_connection(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 787, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/tests/test_event.py", line 659, in test_catalog_plot_local
cat.plot(method='cartopy', outfile=ic.name, projection='local',
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 763, in plot
fig.savefig(outfile)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/figure.py", line 2311, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 2210, in print_figure
result = print_method(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper
return func(*args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png
FigureCanvasAgg.draw(self)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw
self.figure.draw(self.renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/figure.py", line 1863, in draw
mimage._draw_list_compositing_images(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper
return func(*inner_args, **inner_kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/axes/_base.py", line 2747, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw
geoms = self._feature.intersecting_geometries(extent)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries
return super(NaturalEarthFeature, self).intersecting_geometries(extent)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries
return (geom for geom in self.geometries() if
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 284, in geometries
path = shapereader.natural_earth(resolution=self.scale,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth
return ne_downloader.path(format_dict)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/__init__.py", line 222, in path
result_path = self.acquire_resource(target_path, format_dict)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource
shapefile_online = self._urlopen(url)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/__init__.py", line 261, in _urlopen
return urlopen(url)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 950, in send
self.connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1417, in connect
super().connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 921, in connect
self.sock = self._create_connection(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 787, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/tests/test_event.py", line 633, in test_catalog_plot_ortho
cat.plot(method='cartopy', outfile=ic.name, projection='ortho',
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/event/catalog.py", line 763, in plot
fig.savefig(outfile)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/figure.py", line 2311, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 2210, in print_figure
result = print_method(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper
return func(*args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png
FigureCanvasAgg.draw(self)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw
self.figure.draw(self.renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/figure.py", line 1863, in draw
mimage._draw_list_compositing_images(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper
return func(*inner_args, **inner_kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/axes/_base.py", line 2747, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw
geoms = self._feature.intersecting_geometries(extent)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries
return super(NaturalEarthFeature, self).intersecting_geometries(extent)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries
return (geom for geom in self.geometries() if
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 284, in geometries
path = shapereader.natural_earth(resolution=self.scale,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth
return ne_downloader.path(format_dict)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/__init__.py", line 222, in path
result_path = self.acquire_resource(target_path, format_dict)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource
shapefile_online = self._urlopen(url)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/__init__.py", line 261, in _urlopen
return urlopen(url)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 950, in send
self.connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1417, in connect
super().connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 921, in connect
self.sock = self._create_connection(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 787, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/tests/test_inventory.py", line 812, in test_location_plot_local
inv.plot(method='cartopy', projection='local', resolution='50m',
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/inventory/inventory.py", line 1025, in plot
fig.savefig(outfile)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/figure.py", line 2311, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 2210, in print_figure
result = print_method(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper
return func(*args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png
FigureCanvasAgg.draw(self)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw
self.figure.draw(self.renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/figure.py", line 1863, in draw
mimage._draw_list_compositing_images(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper
return func(*inner_args, **inner_kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/axes/_base.py", line 2747, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw
geoms = self._feature.intersecting_geometries(extent)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries
return super(NaturalEarthFeature, self).intersecting_geometries(extent)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries
return (geom for geom in self.geometries() if
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 284, in geometries
path = shapereader.natural_earth(resolution=self.scale,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth
return ne_downloader.path(format_dict)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/__init__.py", line 222, in path
result_path = self.acquire_resource(target_path, format_dict)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource
shapefile_online = self._urlopen(url)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/__init__.py", line 261, in _urlopen
return urlopen(url)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1350, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1255, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1301, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1250, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1010, in _send_output
self.send(msg)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 950, in send
self.connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 1417, in connect
super().connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/http/client.py", line 921, in connect
self.sock = self._create_connection(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 787, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/tests/test_network.py", line 436, in test_location_plot_local
net.plot(method='cartopy', projection='local', resolution='50m',
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/inventory/network.py", line 638, in plot
fig.savefig(outfile)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/figure.py", line 2311, in savefig
self.canvas.print_figure(fname, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 2210, in print_figure
result = print_method(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backend_bases.py", line 1639, in wrapper
return func(*args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 509, in print_png
FigureCanvasAgg.draw(self)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/backends/backend_agg.py", line 407, in draw
self.figure.draw(self.renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/figure.py", line 1863, in draw
mimage._draw_list_compositing_images(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/mpl/geoaxes.py", line 479, in draw
return matplotlib.axes.Axes.draw(self, renderer=renderer, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/cbook/deprecation.py", line 411, in wrapper
return func(*inner_args, **inner_kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/axes/_base.py", line 2747, in draw
mimage._draw_list_compositing_images(renderer, self, artists)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/image.py", line 131, in _draw_list_compositing_images
a.draw(renderer)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/matplotlib/artist.py", line 41, in draw_wrapper
return draw(artist, renderer, *args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/mpl/feature_artist.py", line 155, in draw
geoms = self._feature.intersecting_geometries(extent)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 302, in intersecting_geometries
return super(NaturalEarthFeature, self).intersecting_geometries(extent)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 110, in intersecting_geometries
return (geom for geom in self.geometries() if
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/feature/__init__.py", line 284, in geometries
path = shapereader.natural_earth(resolution=self.scale,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/shapereader.py", line 295, in natural_earth
return ne_downloader.path(format_dict)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/__init__.py", line 222, in path
result_path = self.acquire_resource(target_path, format_dict)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/shapereader.py", line 350, in acquire_resource
shapefile_online = self._urlopen(url)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/cartopy/io/__init__.py", line 261, in _urlopen
return urlopen(url)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1393, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/urllib/request.py", line 1353, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connectionpool.py", line 978, in _validate_conn
conn.connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connection.py", line 309, in connect
conn = self._new_conn()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f2137b11280>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen
retries = retries.increment(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='examples.obspy.org', port=443): Max retries exceeded with url: /test.sac (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2137b11280>: Failed to establish a new connection: [Errno -2] Name or service not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/tests/test_stream.py", line 1969, in test_read_url_via_network
tr = read('https://examples.obspy.org/test.sac', dtype=np.int32)[0]
File "<decorator-gen-31>", line 2, in read
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/util/decorator.py", line 300, in _map_example_filename
return func(*args, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/stream.py", line 212, in read
st = _generic_reader(pathname_or_url, _read, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/util/base.py", line 688, in _generic_reader
download_to_file(url=pathname_or_url, filename_or_buffer=fh)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/util/base.py", line 642, in download_to_file
r = requests.get(url, stream=True)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='examples.obspy.org', port=443): Max retries exceeded with url: /test.sac (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2137b11280>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.stream.read
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/stream.py", line 1, in read
----------------------------------------------------------------------
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/stream.py", line 168, in obspy.core.stream.read
Failed example:
stringio_obj = io.BytesIO(requests.get(example_url).content)
Exception raised:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connectionpool.py", line 978, in _validate_conn
conn.connect()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connection.py", line 309, in connect
conn = self._new_conn()
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f2137b6cc40>: Failed to establish a new connection: [Errno -2] Name or service not known
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/connectionpool.py", line 726, in urlopen
retries = retries.increment(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='examples.obspy.org', port=443): Max retries exceeded with url: /loc_RJOB20050831023349.z (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2137b6cc40>: Failed to establish a new connection: [Errno -2] Name or service not known'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.read[20]>", line 1, in <module>
stringio_obj = io.BytesIO(requests.get(example_url).content)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/api.py", line 76, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='examples.obspy.org', port=443): Max retries exceeded with url: /loc_RJOB20050831023349.z (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f2137b6cc40>: Failed to establish a new connection: [Errno -2] Name or service not known'))
----------------------------------------------------------------------
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/stream.py", line 169, in obspy.core.stream.read
Failed example:
st = read(stringio_obj)
Exception raised:
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.read[21]>", line 1, in <module>
st = read(stringio_obj)
NameError: name 'stringio_obj' is not defined
----------------------------------------------------------------------
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/stream.py", line 170, in obspy.core.stream.read
Failed example:
print(st) # doctest: +ELLIPSIS
Expected:
1 Trace(s) in Stream:
.RJOB..Z | 2005-08-31T02:33:49.850000Z - ... | 200.0 Hz, 12000 samples
Got:
1 Trace(s) in Stream:
XX.TEST..BHZ | 2008-01-15T00:00:00.025000Z - 2008-01-15T00:00:15.875000Z | 40.0 Hz, 635 samples
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.trace.Trace.times
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/trace.py", line 2487, in times
----------------------------------------------------------------------
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/trace.py", line 2529, in obspy.core.trace.Trace.times
Failed example:
tr.times("matplotlib")
Expected:
array([ 733643.01392361, 733643.01392373, 733643.01392384, ...,
733643.01427049, 733643.0142706 , 733643.01427072])
Got:
array([ 14480.01392361, 14480.01392373, 14480.01392384, ...,
14480.01427049, 14480.0142706 , 14480.01427072])
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for obspy.core.utcdatetime.UTCDateTime.matplotlib_date
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/utcdatetime.py", line unknown line number, in matplotlib_date
----------------------------------------------------------------------
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/utcdatetime.py", line ?, in obspy.core.utcdatetime.UTCDateTime.matplotlib_date
Failed example:
t.matplotlib_date
Expected:
733643.0139780092
Got:
14480.01397800926
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/tests/test_trace.py", line 1448, in test_times
np.testing.assert_allclose(got[:5], expected, rtol=1e-17)
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 1527, in assert_allclose
assert_array_compare(compare, actual, desired, err_msg=str(err_msg),
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 840, in assert_array_compare
raise AssertionError(msg)
AssertionError:
Not equal to tolerance rtol=1e-17, atol=0
Mismatched elements: 5 / 5 (100%)
Max absolute difference: 719163.0
Max relative difference: 0.9849928778830878
x: array([ 10957. , 10957.000001, 10957.000001, 10957.000002,
10957.000002])
y: array([ 730120. , 730120.000001, 730120.000001, 730120.000002,
730120.000002])
Traceback (most recent call last):
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/obspy/core/tests/test_utcdatetime.py", line 1092, in test_matplotlib_date
np.testing.assert_almost_equal(
File "/usr/local/anaconda/anaconda2/envs/obspy/lib/python3.8/site-packages/numpy/testing/_private/utils.py", line 595, in assert_almost_equal
raise AssertionError(_build_err_msg())
AssertionError:
Arrays are not almost equal to 8 decimals
ACTUAL: 5965.5723676839116
DESIRED: 725128.5723676839

Skipped tests (28)

Submodule Test Skip message
core test_flake8 (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) No code formatting tests for release builds
core test_use_obspy_deprecation_warning (obspy.core.tests.test_code_formatting.CodeFormattingTestCase) No code formatting tests for release builds
core test_future_imports_in_every_file (obspy.core.tests.test_code_formatting.FutureUsageTestCase) No code formatting tests for release builds
core test_no_pyplot_import_in_any_file (obspy.core.tests.test_code_formatting.MatplotlibBackendUsageTestCase) No code formatting tests for release builds
core test_catalog_plot_global (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_local (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_plot_catalog_before_1900 (obspy.core.tests.test_event.CatalogBasemapTestCase) basemap not installed
core test_plot_farfield_without_quiver_with_maps (obspy.core.tests.test_event.EventTestCase) basemap not installed
core test_combined_station_event_plot (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_inventory.InventoryBasemapTestCase) basemap not installed
core test_location_plot_global (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_local (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
core test_location_plot_ortho (obspy.core.tests.test_network.NetworkBasemapTestCase) basemap not installed
geodetics test_gps_2_dist_azimuth_with_geographiclib (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
geodetics test_issue_375 (obspy.geodetics.tests.test_util_geodetics.UtilGeodeticsTestCase) Module geographiclib is not installed
imaging test_script_plot (obspy.imaging.tests.test_mopad_script.MopadTestCase) Currently broken until further review.
signal test_schema_validation (obspy.signal.tests.test_quality_control.QualityControlTestCase) Test requires the jsonschema module
signal test_ppsd_spectrogram_plot (obspy.signal.tests.test_spectral_estimation.PsdTestCase) matplotlib >= 3 shifts labels
taup test_compute_ray_paths (obspy.taup.tests.test_ray_paths.RayPathCalculationsTestCase) test needs geographiclib >= 1.34
taup test_p_iasp91_geo_manual (obspy.taup.tests.test_tau.TauPyModelTestCase) Module geographiclib is not installed
taup test_pierce_p_iasp91_geo (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34
taup test_single_path_geo_iasp91 (obspy.taup.tests.test_tau.TauPyModelTestCase) test needs geographiclib >= 1.34
taup test_path_geo (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.
taup test_path_resampling (obspy.taup.tests.test_taup_geo.TaupGeoTestCase) Module geographiclib is not installed or too old.

Slowest tests (20)

Runtime Test
48.201s read (obspy.core.stream)
26.825s test_catalog_plot_ortho (obspy.core.tests.test_event.CatalogCartopyTestCase)
25.101s test_catalog_plot_ortho_longitude_wrap (obspy.core.tests.test_event.CatalogCartopyTestCase)
22.856s test_location_plot_local (obspy.core.tests.test_inventory.InventoryCartopyTestCase)
20.113s test_catalog_plot_global (obspy.core.tests.test_event.CatalogCartopyTestCase)
19.672s test_catalog_plot_local (obspy.core.tests.test_event.CatalogCartopyTestCase)
10.364s test_location_plot_local (obspy.core.tests.test_network.NetworkCartopyTestCase)
10.170s test_read_url_via_network (obspy.core.tests.test_stream.StreamTestCase)
7.336s test_read_nlloc_scatter_coordinate_conversion (obspy.io.nlloc.tests.test_util.NLLOCTestCase)
5.933s __init__ (obspy.taup)
4.858s test_relcal_different_overlaps (obspy.signal.tests.test_calibration.CalibrationTestCase)
4.725s test_plot_multiple_traces (obspy.imaging.tests.test_waveform.WaveformTestCase)
4.474s test_response_calculation_from_seed_and_xseed (obspy.io.xseed.tests.test_core.CoreTestCase)
4.369s test_shoot_existing_ray_param (obspy.taup.tests.test_seismic_phase.TauPySeismicPhaseTestCase)
3.197s plot_tfr (obspy.signal.tf_misfit)
3.160s test_ppsd_restricted_stacks (obspy.signal.tests.test_spectral_estimation.PsdTestCase)
2.650s plot_travel_times (obspy.taup.tau)
2.526s test_regional_models (obspy.taup.tests.test_tau.TauPyModelTestCase)
2.414s test_rotate2zne_against_lqt_different_combinations (obspy.signal.tests.test_rotate.RotateTestCase)
2.373s test_remove_response_plot (obspy.core.tests.test_trace.TraceTestCase)

Chuck Norris fact

Chuck Norris can overflow your stack just by looking at it.