#142019 Report by node MacBook-Pro-di-E covering 2079 tests from 59 modules resulted into 8 errors
Report
- ObsPy version
- 1.4.1
- GitHub Pull Request
- -
- Report file
- JSON document
- Total runtime
- 125.0 sec
- Report date/time
- Sept. 11, 2024, 5:04 a.m.
System / Python
- Architecture
- 64bit
- Machine
- arm64
- Node
- MacBook-Pro-di-Emanuele
- Processor
- i386
- Python Compiler
- Clang 16.0.6
- Python Implementation
- CPython
- Python Version
- 3.10.14
- Release
- 23.5.0
- System
- Darwin
- Version
- Darwin Kernel Version 23.5.0: Wed May 1 20:12:58 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T6000
Dependencies
- cartopy
- 0.23.0
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- 2.0
- lxml
- 5.3.0
- matplotlib
- 3.8.4
- numpy
- 1.26.4
- obspy
- 1.4.1
- pyproj
- 3.6.1
- pytest
- 8.3.3
- pytest-json-report
- 1.5.0
- requests
- 2.32.3
- scipy
- 1.14.1
- setuptools
- 73.0.1
- shapefile
- ---
- sqlalchemy
- 1.4.49
Modules (59)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | - | 8 | 8 | - | 0.24s | - |
obspy.clients.filesystem | - | 29 | 29 | - | 2.04s | - |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | - | 16 | 16 | - | 0.63s | - |
obspy.clients.seedlink | - | 2 | 2 | - | 0.00s | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | 8 | 600 | 599 | 1 | 15.07s | 1 2 3 4 5 6 7 8 |
obspy.core.event | - | 18 | 18 | - | 0.12s | - |
obspy.core.inventory | - | 23 | 23 | - | 0.70s | - |
obspy.core.util | - | 23 | 20 | 3 | 0.09s | - |
obspy.geodetics | - | 21 | 20 | 1 | 25.82s | - |
obspy.imaging | - | 93 | 92 | 1 | 13.98s | - |
obspy.io.ah | - | 11 | 11 | - | 0.05s | - |
obspy.io.alsep | - | 16 | 16 | - | 0.98s | - |
obspy.io.arclink | - | 5 | 5 | - | 0.81s | - |
obspy.io.ascii | - | 28 | 26 | 2 | 0.08s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.03s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.01s | - |
obspy.io.css | - | 10 | 10 | - | 0.09s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.02s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.05s | - |
obspy.io.gcf | - | 14 | 13 | 1 | 0.16s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.25s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.08s | - |
obspy.io.iaspei | - | 7 | 7 | - | 0.34s | - |
obspy.io.json | - | 4 | 4 | - | 0.02s | - |
obspy.io.kinemetrics | - | 8 | 8 | - | 0.32s | - |
obspy.io.kml | - | 3 | 3 | - | 0.07s | - |
obspy.io.mseed | - | 127 | 127 | - | 1.75s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.19s | - |
obspy.io.nied | - | 11 | 11 | - | 0.04s | - |
obspy.io.nlloc | - | 14 | 14 | - | 1.02s | - |
obspy.io.nordic | - | 60 | 58 | 2 | 0.80s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 12 | 1 | 0.45s | - |
obspy.io.quakeml | - | 38 | 37 | 1 | 0.14s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.10s | - |
obspy.io.rg16 | - | 38 | 38 | - | 0.09s | - |
obspy.io.sac | - | 100 | 100 | - | 0.44s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.04s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.01s | - |
obspy.io.segy | - | 56 | 56 | - | 0.25s | - |
obspy.io.seisan | - | 8 | 7 | 1 | 0.05s | - |
obspy.io.seiscomp | - | 49 | 49 | - | 0.98s | - |
obspy.io.sh | - | 26 | 24 | 2 | 0.21s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.21s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.05s | - |
obspy.io.stationxml | - | 24 | 24 | - | 0.31s | - |
obspy.io.wav | - | 8 | 7 | 1 | 0.03s | - |
obspy.io.win | - | 3 | 3 | - | 0.08s | - |
obspy.io.xseed | - | 84 | 84 | - | 4.04s | - |
obspy.io.y | - | 5 | 4 | 1 | 0.01s | - |
obspy.io.zmap | - | 15 | 15 | - | 0.11s | - |
obspy.realtime | - | 22 | 22 | - | 0.21s | - |
obspy.scripts | - | 2 | 2 | - | 0.01s | - |
obspy.signal | - | 204 | 202 | 2 | 15.22s | - |
obspy.taup | - | 76 | 76 | - | 20.65s | - |
Summary | 8 | 2079 | 2059 | 20 | 125.00s | 8 |
Tracebacks (8)
Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth/physical' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/capture.py", line 880, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/tests/test_event.py", line 119, in test_plot_farfield_without_quiver_with_maps ev.plot(kind=[['global'], ['ortho', 'beachball'], File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/event/event.py", line 276, in plot plot_radiation_pattern( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/imaging/source.py", line 196, in plot_radiation_pattern fig.canvas.draw() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 388, in draw self.figure.draw(self.renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 95, in draw_wrapper result = draw(artist, renderer, *args, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3154, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py", line 525, in draw return super().draw(renderer=renderer, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 3070, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/feature_artist.py", line 185, in draw geoms = self._feature.intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 309, in intersecting_geometries return super().intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 112, in intersecting_geometries return (geom for geom in self.geometries() if File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 291, in geometries path = shapereader.natural_earth(resolution=self.scale, File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 306, in natural_earth return ne_downloader.path(format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/__init__.py", line 203, in path result_path = self.acquire_resource(target_path, format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 355, in acquire_resource target_dir.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) PermissionError: [Errno 13] Permission denied: '/Users/ema/.local/share/cartopy'
Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth/physical' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/capture.py", line 880, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/tests/test_inventory.py", line 692, in test_location_plot_global inv.plot(method='cartopy', outfile=image_path) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/inventory/inventory.py", line 1024, in plot fig.savefig(outfile) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3390, in savefig self.canvas.print_figure(fname, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2193, in print_figure result = print_method( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2043, in <lambda> print_method = functools.wraps(meth)(lambda *args, **kwargs: meth( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 497, in print_png self._print_pil(filename_or_obj, "png", pil_kwargs, metadata) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 445, in _print_pil FigureCanvasAgg.draw(self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 388, in draw self.figure.draw(self.renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 95, in draw_wrapper result = draw(artist, renderer, *args, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3154, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py", line 525, in draw return super().draw(renderer=renderer, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 3070, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/feature_artist.py", line 185, in draw geoms = self._feature.intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 309, in intersecting_geometries return super().intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 112, in intersecting_geometries return (geom for geom in self.geometries() if File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 291, in geometries path = shapereader.natural_earth(resolution=self.scale, File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 306, in natural_earth return ne_downloader.path(format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/__init__.py", line 203, in path result_path = self.acquire_resource(target_path, format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 355, in acquire_resource target_dir.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) PermissionError: [Errno 13] Permission denied: '/Users/ema/.local/share/cartopy'
Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth/physical' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/capture.py", line 880, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/tests/test_inventory.py", line 700, in test_location_plot_ortho inv.plot(method='cartopy', projection='ortho', resolution='c', File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/inventory/inventory.py", line 1024, in plot fig.savefig(outfile) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3390, in savefig self.canvas.print_figure(fname, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2193, in print_figure result = print_method( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2043, in <lambda> print_method = functools.wraps(meth)(lambda *args, **kwargs: meth( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 497, in print_png self._print_pil(filename_or_obj, "png", pil_kwargs, metadata) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 445, in _print_pil FigureCanvasAgg.draw(self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 388, in draw self.figure.draw(self.renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 95, in draw_wrapper result = draw(artist, renderer, *args, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3154, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py", line 525, in draw return super().draw(renderer=renderer, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 3070, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/feature_artist.py", line 185, in draw geoms = self._feature.intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 309, in intersecting_geometries return super().intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 112, in intersecting_geometries return (geom for geom in self.geometries() if File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 291, in geometries path = shapereader.natural_earth(resolution=self.scale, File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 306, in natural_earth return ne_downloader.path(format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/__init__.py", line 203, in path result_path = self.acquire_resource(target_path, format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 355, in acquire_resource target_dir.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) PermissionError: [Errno 13] Permission denied: '/Users/ema/.local/share/cartopy'
Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth/physical' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/capture.py", line 880, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/tests/test_inventory.py", line 710, in test_location_plot_local inv.plot(method='cartopy', projection='local', resolution='50m', File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/inventory/inventory.py", line 1024, in plot fig.savefig(outfile) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3390, in savefig self.canvas.print_figure(fname, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2193, in print_figure result = print_method( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2043, in <lambda> print_method = functools.wraps(meth)(lambda *args, **kwargs: meth( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 497, in print_png self._print_pil(filename_or_obj, "png", pil_kwargs, metadata) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 445, in _print_pil FigureCanvasAgg.draw(self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 388, in draw self.figure.draw(self.renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 95, in draw_wrapper result = draw(artist, renderer, *args, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3154, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py", line 525, in draw return super().draw(renderer=renderer, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 3070, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/feature_artist.py", line 185, in draw geoms = self._feature.intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 309, in intersecting_geometries return super().intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 112, in intersecting_geometries return (geom for geom in self.geometries() if File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 291, in geometries path = shapereader.natural_earth(resolution=self.scale, File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 306, in natural_earth return ne_downloader.path(format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/__init__.py", line 203, in path result_path = self.acquire_resource(target_path, format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 355, in acquire_resource target_dir.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) PermissionError: [Errno 13] Permission denied: '/Users/ema/.local/share/cartopy'
Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth/physical' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/capture.py", line 880, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/tests/test_inventory.py", line 722, in test_combined_station_event_plot cat.plot(outfile=image_path, fig=fig) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/event/catalog.py", line 760, in plot fig.savefig(outfile) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3390, in savefig self.canvas.print_figure(fname, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2193, in print_figure result = print_method( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2043, in <lambda> print_method = functools.wraps(meth)(lambda *args, **kwargs: meth( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 497, in print_png self._print_pil(filename_or_obj, "png", pil_kwargs, metadata) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 445, in _print_pil FigureCanvasAgg.draw(self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 388, in draw self.figure.draw(self.renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 95, in draw_wrapper result = draw(artist, renderer, *args, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3154, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py", line 525, in draw return super().draw(renderer=renderer, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 3070, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/feature_artist.py", line 185, in draw geoms = self._feature.intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 309, in intersecting_geometries return super().intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 112, in intersecting_geometries return (geom for geom in self.geometries() if File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 291, in geometries path = shapereader.natural_earth(resolution=self.scale, File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 306, in natural_earth return ne_downloader.path(format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/__init__.py", line 203, in path result_path = self.acquire_resource(target_path, format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 355, in acquire_resource target_dir.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) PermissionError: [Errno 13] Permission denied: '/Users/ema/.local/share/cartopy'
Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth/physical' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/capture.py", line 880, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/tests/test_network.py", line 324, in test_location_plot_global net.plot(method='cartopy', outfile=image_path) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/inventory/network.py", line 634, in plot fig.savefig(outfile) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3390, in savefig self.canvas.print_figure(fname, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2193, in print_figure result = print_method( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2043, in <lambda> print_method = functools.wraps(meth)(lambda *args, **kwargs: meth( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 497, in print_png self._print_pil(filename_or_obj, "png", pil_kwargs, metadata) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 445, in _print_pil FigureCanvasAgg.draw(self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 388, in draw self.figure.draw(self.renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 95, in draw_wrapper result = draw(artist, renderer, *args, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3154, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py", line 525, in draw return super().draw(renderer=renderer, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 3070, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/feature_artist.py", line 185, in draw geoms = self._feature.intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 309, in intersecting_geometries return super().intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 112, in intersecting_geometries return (geom for geom in self.geometries() if File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 291, in geometries path = shapereader.natural_earth(resolution=self.scale, File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 306, in natural_earth return ne_downloader.path(format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/__init__.py", line 203, in path result_path = self.acquire_resource(target_path, format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 355, in acquire_resource target_dir.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) PermissionError: [Errno 13] Permission denied: '/Users/ema/.local/share/cartopy'
Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth/physical' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/capture.py", line 880, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/tests/test_network.py", line 332, in test_location_plot_ortho net.plot(method='cartopy', projection='ortho', resolution='c', File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/inventory/network.py", line 634, in plot fig.savefig(outfile) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3390, in savefig self.canvas.print_figure(fname, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2193, in print_figure result = print_method( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2043, in <lambda> print_method = functools.wraps(meth)(lambda *args, **kwargs: meth( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 497, in print_png self._print_pil(filename_or_obj, "png", pil_kwargs, metadata) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 445, in _print_pil FigureCanvasAgg.draw(self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 388, in draw self.figure.draw(self.renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 95, in draw_wrapper result = draw(artist, renderer, *args, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3154, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py", line 525, in draw return super().draw(renderer=renderer, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 3070, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/feature_artist.py", line 185, in draw geoms = self._feature.intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 309, in intersecting_geometries return super().intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 112, in intersecting_geometries return (geom for geom in self.geometries() if File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 291, in geometries path = shapereader.natural_earth(resolution=self.scale, File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 306, in natural_earth return ne_downloader.path(format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/__init__.py", line 203, in path result_path = self.acquire_resource(target_path, format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 355, in acquire_resource target_dir.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) PermissionError: [Errno 13] Permission denied: '/Users/ema/.local/share/cartopy'
Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth/physical' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles/natural_earth' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) FileNotFoundError: [Errno 2] No such file or directory: '/Users/ema/.local/share/cartopy/shapefiles' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 341, in from_call result: TResult | None = func() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 242, in <lambda> lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 182, in _multicall return outcome.get_result() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_result.py", line 100, in get_result raise exc.with_traceback(exc.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 92, in pytest_runtest_call yield from thread_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 95, in pytest_runtest_call yield from unraisable_exception_runtest_hook() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 846, in pytest_runtest_call yield from self._runtest_for(item, "call") File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/logging.py", line 829, in _runtest_for yield File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/capture.py", line 880, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 167, in _multicall teardown.throw(outcome._exception) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/skipping.py", line 257, in pytest_runtest_call return (yield) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/runner.py", line 174, in pytest_runtest_call item.runtest() File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 1627, in runtest self.ihook.pytest_pyfunc_call(pyfuncitem=self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_hooks.py", line 513, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 139, in _multicall raise exception.with_traceback(exception.__traceback__) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/pluggy/_callers.py", line 103, in _multicall res = hook_impl.function(*args) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/_pytest/python.py", line 159, in pytest_pyfunc_call result = testfunction(**testargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/tests/test_network.py", line 342, in test_location_plot_local net.plot(method='cartopy', projection='local', resolution='50m', File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/core/inventory/network.py", line 634, in plot fig.savefig(outfile) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3390, in savefig self.canvas.print_figure(fname, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2193, in print_figure result = print_method( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backend_bases.py", line 2043, in <lambda> print_method = functools.wraps(meth)(lambda *args, **kwargs: meth( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 497, in print_png self._print_pil(filename_or_obj, "png", pil_kwargs, metadata) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 445, in _print_pil FigureCanvasAgg.draw(self) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 388, in draw self.figure.draw(self.renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 95, in draw_wrapper result = draw(artist, renderer, *args, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/figure.py", line 3154, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/geoaxes.py", line 525, in draw return super().draw(renderer=renderer, **kwargs) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/axes/_base.py", line 3070, in draw mimage._draw_list_compositing_images( File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/image.py", line 132, in _draw_list_compositing_images a.draw(renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/matplotlib/artist.py", line 72, in draw_wrapper return draw(artist, renderer) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/mpl/feature_artist.py", line 185, in draw geoms = self._feature.intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 309, in intersecting_geometries return super().intersecting_geometries(extent) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 112, in intersecting_geometries return (geom for geom in self.geometries() if File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/feature/__init__.py", line 291, in geometries path = shapereader.natural_earth(resolution=self.scale, File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 306, in natural_earth return ne_downloader.path(format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/__init__.py", line 203, in path result_path = self.acquire_resource(target_path, format_dict) File "/opt/anaconda3/envs/obspy/lib/python3.10/site-packages/cartopy/io/shapereader.py", line 355, in acquire_resource target_dir.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1179, in mkdir self.parent.mkdir(parents=True, exist_ok=True) File "/opt/anaconda3/envs/obspy/lib/python3.10/pathlib.py", line 1175, in mkdir self._accessor.mkdir(self, mode) PermissionError: [Errno 13] Permission denied: '/Users/ema/.local/share/cartopy'
Skipped tests (20)
Submodule | Test | Skip message |
---|---|---|
core | core/stream.py::obspy.core.stream._is_pickle | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.CatchOutput | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.SuppressOutput | Skipped: all tests skipped by +SKIP option |
core.util | core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory | Skipped: all tests skipped by +SKIP option |
geodetics | geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_bug150 | Skipped: Geographiclib installed, not using calc_vincenty_inverse |
imaging | imaging/tests/test_mopad_script.py::TestMopad::test_script_plot | Skipped: Currently broken until further review. |
io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_slist | Skipped: all tests skipped by +SKIP option |
io.ascii | io/ascii/core.py::obspy.io.ascii.core._is_tspair | Skipped: all tests skipped by +SKIP option |
io.gcf | io/gcf/core.py::obspy.io.gcf.core._write_gcf | Skipped: all tests skipped by +SKIP option |
io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor | Skipped: all tests skipped by +SKIP option |
io.nordic | io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag | Skipped: all tests skipped by +SKIP option |
io.pde | io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr | Skipped: all tests skipped by +SKIP option |
io.quakeml | io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml | Skipped: all tests skipped by +SKIP option |
io.seisan | io/seisan/core.py::obspy.io.seisan.core._is_seisan | Skipped: all tests skipped by +SKIP option |
io.sh | io/sh/core.py::obspy.io.sh.core._is_asc | Skipped: all tests skipped by +SKIP option |
io.sh | io/sh/core.py::obspy.io.sh.core._is_q | Skipped: all tests skipped by +SKIP option |
io.wav | io/wav/core.py::obspy.io.wav.core._is_wav | Skipped: all tests skipped by +SKIP option |
io.y | io/y/core.py::obspy.io.y.core._is_y | Skipped: all tests skipped by +SKIP option |
signal | signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata | Skipped: all tests skipped by +SKIP option |
signal | signal/tests/test_quality_control.py::TestQualityControl::test_schema_validation | Skipped: Test requires the jsonschema module |
Slowest tests (20)
Warnings (9)
Stage | Filename | Category | Message |
---|---|---|---|
runtest | /opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/imaging/beachball.py:278 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | <doctest obspy.signal._sosfilt._sosfilt[13]>:1 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | /opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/imaging/scripts/scan.py:446 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | /opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/taup/tau.py:1115 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | /opt/anaconda3/envs/obspy/lib/python3.10/multiprocessing/resource_tracker.py:104 | UserWarning | resource_tracker: process died unexpectedly, relaunching. Some resources might leak. |
runtest | /opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/taup/tau.py:247 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | /opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/taup/tau.py:559 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | /opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/taup/tau.py:1228 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |
runtest | /opt/anaconda3/envs/obspy/lib/python3.10/site-packages/obspy/signal/cross_correlation.py:979 | UserWarning | FigureCanvasAgg is non-interactive, and thus cannot be shown |