#126496 Report by node gh-actions covering 204 tests from 58 modules resulted into 16 errors
Report
- ObsPy version
- 1.2.0rc3.post0+1092.g571f1591…
- GitHub Pull Request
- -
- Report file
- JSON document
- Total runtime
- 253.5 sec
- Report date/time
- Aug. 3, 2022, 11:06 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- gh-actions
- Processor
- x86_64
- Python Compiler
- GCC 10.3.0
- Python Implementation
- CPython
- Python Version
- 3.9.13
- Release
- 5.15.0-1014-azure
- System
- Linux
- Version
- #17~20.04.1-Ubuntu SMP Thu Jun 23 20:01:51 UTC 2022
Dependencies
- cartopy
- 0.20.3
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- 2.0
- lxml
- 4.9.1
- matplotlib
- 3.3.4
- numpy
- 1.20.3
- obspy
- 1.2.0rc3.post0+1092.g571f15918f.flixha.master
- pyproj
- 3.3.1
- pytest
- 7.1.2
- pytest-json-report
- 1.5.0
- requests
- 2.28.1
- scipy
- 1.7.3
- setuptools
- 63.3.0
- shapefile
- ---
- sqlalchemy
- 1.4.39
Modules (58)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.earthworm | 4 | 9 | 9 | - | 9.75s | 1 2 3 4 |
obspy.clients.fdsn | 2 | 137 | 135 | 2 | 90.54s | 5 6 |
obspy.clients.filesystem | Not tested | - | - | - | - | - |
obspy.clients.iris | - | 15 | 15 | - | 5.71s | - |
obspy.clients.neic | - | 5 | 5 | - | 2.86s | - |
obspy.clients.nrl | 4 | 7 | 7 | - | 2.19s | 7 8 9 10 |
obspy.clients.seedlink | - | 13 | 10 | 3 | 14.76s | - |
obspy.clients.syngine | 6 | 18 | 18 | - | 105.43s | 11 12 13 14 15 16 |
obspy.core | Not tested | - | - | - | - | - |
obspy.core.event | Not tested | - | - | - | - | - |
obspy.core.inventory | Not tested | - | - | - | - | - |
obspy.core.util | Not tested | - | - | - | - | - |
obspy.geodetics | Not tested | - | - | - | - | - |
obspy.imaging | Not tested | - | - | - | - | - |
obspy.io.ah | Not tested | - | - | - | - | - |
obspy.io.arclink | Not tested | - | - | - | - | - |
obspy.io.ascii | Not tested | - | - | - | - | - |
obspy.io.cmtsolution | Not tested | - | - | - | - | - |
obspy.io.cnv | Not tested | - | - | - | - | - |
obspy.io.css | Not tested | - | - | - | - | - |
obspy.io.dmx | Not tested | - | - | - | - | - |
obspy.io.focmec | Not tested | - | - | - | - | - |
obspy.io.gcf | Not tested | - | - | - | - | - |
obspy.io.gse2 | Not tested | - | - | - | - | - |
obspy.io.hypodd | Not tested | - | - | - | - | - |
obspy.io.iaspei | Not tested | - | - | - | - | - |
obspy.io.json | Not tested | - | - | - | - | - |
obspy.io.kinemetrics | Not tested | - | - | - | - | - |
obspy.io.kml | Not tested | - | - | - | - | - |
obspy.io.mseed | Not tested | - | - | - | - | - |
obspy.io.ndk | Not tested | - | - | - | - | - |
obspy.io.nied | Not tested | - | - | - | - | - |
obspy.io.nlloc | Not tested | - | - | - | - | - |
obspy.io.nordic | Not tested | - | - | - | - | - |
obspy.io.pdas | Not tested | - | - | - | - | - |
obspy.io.pde | Not tested | - | - | - | - | - |
obspy.io.quakeml | Not tested | - | - | - | - | - |
obspy.io.reftek | Not tested | - | - | - | - | - |
obspy.io.rg16 | Not tested | - | - | - | - | - |
obspy.io.sac | Not tested | - | - | - | - | - |
obspy.io.scardec | Not tested | - | - | - | - | - |
obspy.io.seg2 | Not tested | - | - | - | - | - |
obspy.io.segy | Not tested | - | - | - | - | - |
obspy.io.seisan | Not tested | - | - | - | - | - |
obspy.io.seiscomp | Not tested | - | - | - | - | - |
obspy.io.sh | Not tested | - | - | - | - | - |
obspy.io.shapefile | Not tested | - | - | - | - | - |
obspy.io.stationtxt | Not tested | - | - | - | - | - |
obspy.io.stationxml | Not tested | - | - | - | - | - |
obspy.io.wav | Not tested | - | - | - | - | - |
obspy.io.win | Not tested | - | - | - | - | - |
obspy.io.xseed | Not tested | - | - | - | - | - |
obspy.io.y | Not tested | - | - | - | - | - |
obspy.io.zmap | Not tested | - | - | - | - | - |
obspy.realtime | Not tested | - | - | - | - | - |
obspy.scripts | Not tested | - | - | - | - | - |
obspy.signal | Not tested | - | - | - | - | - |
obspy.taup | Not tested | - | - | - | - | - |
Summary | 16 | 204 | 199 | 5 | 253.47s | 16 |
Tracebacks (16)
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 90, in test_get_waveform assert len(ew_stream) == 1 AssertionError: assert 0 == 1 + where 0 = len(<obspy.core.stream.Stream object at 0x7fd189972cd0>)
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 110, in test_get_waveform_no_cleanup delta = ew_stream[0].stats.delta File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 643, in __getitem__ return self.traces.__getitem__(index) IndexError: list index out of range
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 131, in test_get_waveform_widlcard delta = stream[0].stats.delta File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 643, in __getitem__ return self.traces.__getitem__(index) IndexError: list index out of range
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/tests/test_client.py", line 155, in test_save_waveform ew_client.save_waveforms( File "/home/runner/work/obspy/obspy/obspy/clients/earthworm/client.py", line 163, in save_waveforms st.write(filename, format=format) File "/home/runner/work/obspy/obspy/obspy/core/stream.py", line 1431, in write raise ObsPyException(msg) obspy.core.util.obspy_types.ObsPyException: Can not write empty stream to file.
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_client.py", line 865, in test_help_function_with_iris self.assertTrue(got[-2].startswith('Available catalogs:')) File "/usr/share/miniconda3/envs/test/lib/python3.9/unittest/case.py", line 688, in assertTrue raise self.failureException(msg) AssertionError: False is not true
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/fdsn/tests/test_client.py", line 415, in test_iris_event_catalog_availability self.assertEqual(set(self.client.services["available_event_catalogs"]), File "/usr/share/miniconda3/envs/test/lib/python3.9/unittest/case.py", line 837, in assertEqual assertion_func(first, second, msg=msg) File "/usr/share/miniconda3/envs/test/lib/python3.9/unittest/case.py", line 1097, in assertSetEqual self.fail(self._formatMessage(msg, standardMsg)) File "/usr/share/miniconda3/envs/test/lib/python3.9/unittest/case.py", line 676, in fail raise self.failureException(msg) AssertionError: Items in the first set but not the second: 'ISC\n ' 'NEIC PDE\n ' 'GCMT\n ' Items in the second set but not the first: 'ISC' 'NEIC PDE' 'GCMT'
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 1377, in getresponse response.begin() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 320, in begin version, status, reason = self._read_status() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/share/miniconda3/envs/test/lib/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 1377, in getresponse response.begin() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 320, in begin version, status, reason = self._read_status() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/share/miniconda3/envs/test/lib/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/nrl/tests/test_nrl.py", line 32, in setUp self.nrl_online = NRL(root='http://ds.iris.edu/NRL') File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 294, in __init__ super(self.__class__, self).__init__() File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 65, in __init__ self.dataloggers = self._parse_ini(datalogger_index) File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 111, in _parse_ini cp = self._get_cp_from_ini(path) File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 316, in _get_cp_from_ini with io.StringIO(self._download(path)) as buf: File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 301, in _download r = requests.get(url) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/adapters.py", line 547, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 1377, in getresponse response.begin() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 320, in begin version, status, reason = self._read_status() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/share/miniconda3/envs/test/lib/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 1377, in getresponse response.begin() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 320, in begin version, status, reason = self._read_status() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/share/miniconda3/envs/test/lib/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/nrl/tests/test_nrl.py", line 32, in setUp self.nrl_online = NRL(root='http://ds.iris.edu/NRL') File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 294, in __init__ super(self.__class__, self).__init__() File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 65, in __init__ self.dataloggers = self._parse_ini(datalogger_index) File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 111, in _parse_ini cp = self._get_cp_from_ini(path) File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 316, in _get_cp_from_ini with io.StringIO(self._download(path)) as buf: File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 301, in _download r = requests.get(url) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/adapters.py", line 547, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 1377, in getresponse response.begin() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 320, in begin version, status, reason = self._read_status() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/share/miniconda3/envs/test/lib/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 1377, in getresponse response.begin() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 320, in begin version, status, reason = self._read_status() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/share/miniconda3/envs/test/lib/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/nrl/tests/test_nrl.py", line 32, in setUp self.nrl_online = NRL(root='http://ds.iris.edu/NRL') File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 294, in __init__ super(self.__class__, self).__init__() File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 65, in __init__ self.dataloggers = self._parse_ini(datalogger_index) File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 111, in _parse_ini cp = self._get_cp_from_ini(path) File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 316, in _get_cp_from_ini with io.StringIO(self._download(path)) as buf: File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 301, in _download r = requests.get(url) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/adapters.py", line 547, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 1377, in getresponse response.begin() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 320, in begin version, status, reason = self._read_status() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/share/miniconda3/envs/test/lib/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) ConnectionResetError: [Errno 104] Connection reset by peer During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/adapters.py", line 489, in send resp = conn.urlopen( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/util/retry.py", line 550, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise raise value.with_traceback(tb) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 703, in urlopen httplib_response = self._make_request( File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 449, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/urllib3/connectionpool.py", line 444, in _make_request httplib_response = conn.getresponse() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 1377, in getresponse response.begin() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 320, in begin version, status, reason = self._read_status() File "/usr/share/miniconda3/envs/test/lib/python3.9/http/client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "/usr/share/miniconda3/envs/test/lib/python3.9/socket.py", line 704, in readinto return self._sock.recv_into(b) urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/nrl/tests/test_nrl.py", line 32, in setUp self.nrl_online = NRL(root='http://ds.iris.edu/NRL') File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 294, in __init__ super(self.__class__, self).__init__() File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 65, in __init__ self.dataloggers = self._parse_ini(datalogger_index) File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 111, in _parse_ini cp = self._get_cp_from_ini(path) File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 316, in _get_cp_from_ini with io.StringIO(self._download(path)) as buf: File "/home/runner/work/obspy/obspy/obspy/clients/nrl/client.py", line 301, in _download r = requests.get(url) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/api.py", line 73, in get return request("get", url, params=params, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/share/miniconda3/envs/test/lib/python3.9/site-packages/requests/adapters.py", line 547, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
019 ----------- 020 021 First initialize a client object. 022 023 >>> from obspy.clients.syngine import Client 024 >>> client = Client() 025 026 Then request some data. 027 028 >>> st = client.get_waveforms(model="ak135f_5s", network="IU", station="ANMO", UNEXPECTED EXCEPTION: ClientHTTPException('HTTP code 500 when downloading \'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed\':\n\nError 500: GCMT lookup error [500]: Error 500: Error while accessing DB\n\nInternal Exception: org.postgresql.util.PSQLException: This connection has been closed.\nError Code: 0\nCall: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))\n\tbind => [4 parameters bound]\nQuery: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")\nThis connection has been closed.\n\n\nRequest:\nhttp://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk\n\nRequest Submitted:\n2022/08/03 16:05:14 UTC\n\nService version:\nSPUD Services: 3.0.1\nspu:80\n\n\n\nMore Details:\nhandler exited, code: 1 reason: Internal Server Error\n\nRequest:\nhttp://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed\n\nRequest Submitted:\n2022/08/03 16:05:14 UTC\n\nService version:\nService: irisws-syngine version: 1.0.5') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.9/doctest.py", line 1334, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.syngine[2]>", line 1, in <module> File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 363, in get_waveforms r = self._download(url=self._get_url("query"), params=params, File "/home/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download self._handle_requests_http_error(r) File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 55, in _handle_requests_http_error raise ClientHTTPException(msg.strip()) obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed': Error 500: GCMT lookup error [500]: Error 500: Error while accessing DB Internal Exception: org.postgresql.util.PSQLException: This connection has been closed. Error Code: 0 Call: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?))) bind => [4 parameters bound] Query: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))") This connection has been closed. Request: http://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk Request Submitted: 2022/08/03 16:05:14 UTC Service version: SPUD Services: 3.0.1 spu:80 More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed Request Submitted: 2022/08/03 16:05:14 UTC Service version: Service: irisws-syngine version: 1.0.5 /home/runner/work/obspy/obspy/obspy/clients/syngine/__init__.py:28: UnexpectedException
211 server side. The default values and all the exception handling are 212 deferred to the service. Please see `the Syngine documentation 213 <https://ds.iris.edu/ds/products/syngine/>`_ for more details and the 214 default values of all parameters. 215 216 .. rubric:: Example 217 218 >>> from obspy.clients.syngine import Client 219 >>> client = Client() 220 >>> st = client.get_waveforms(model="ak135f_5s", network="IU", UNEXPECTED EXCEPTION: ClientHTTPException('HTTP code 500 when downloading \'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed\':\n\nError 500: GCMT lookup error [500]: Error 500: Error while accessing DB\n\nInternal Exception: org.postgresql.util.PSQLException: This connection has been closed.\nError Code: 0\nCall: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))\n\tbind => [4 parameters bound]\nQuery: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")\nThis connection has been closed.\n\n\nRequest:\nhttp://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk\n\nRequest Submitted:\n2022/08/03 16:05:31 UTC\n\nService version:\nSPUD Services: 3.0.1\nspu:80\n\n\n\nMore Details:\nhandler exited, code: 1 reason: Internal Server Error\n\nRequest:\nhttp://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed\n\nRequest Submitted:\n2022/08/03 16:05:31 UTC\n\nService version:\nService: irisws-syngine version: 1.0.5') Traceback (most recent call last): File "/usr/share/miniconda3/envs/test/lib/python3.9/doctest.py", line 1334, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.clients.syngine.client.Client.get_waveforms[2]>", line 1, in <module> File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 363, in get_waveforms r = self._download(url=self._get_url("query"), params=params, File "/home/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download self._handle_requests_http_error(r) File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 55, in _handle_requests_http_error raise ClientHTTPException(msg.strip()) obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed': Error 500: GCMT lookup error [500]: Error 500: Error while accessing DB Internal Exception: org.postgresql.util.PSQLException: This connection has been closed. Error Code: 0 Call: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?))) bind => [4 parameters bound] Query: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))") This connection has been closed. Request: http://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk Request Submitted: 2022/08/03 16:05:31 UTC Service version: SPUD Services: 3.0.1 spu:80 More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&format=miniseed Request Submitted: 2022/08/03 16:05:31 UTC Service version: Service: irisws-syngine version: 1.0.5 /home/runner/work/obspy/obspy/obspy/clients/syngine/client.py:220: UnexpectedException
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/syngine/tests/test_client.py", line 261, in test_error_handling self.assertIn("HTTP code 400 when", msg) File "/usr/share/miniconda3/envs/test/lib/python3.9/unittest/case.py", line 1104, in assertIn self.fail(self._formatMessage(msg, standardMsg)) File "/usr/share/miniconda3/envs/test/lib/python3.9/unittest/case.py", line 676, in fail raise self.failureException(msg) AssertionError: 'HTTP code 400 when' not found in 'HTTP code 500 when downloading \'http://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=ABC&format=miniseed\':\n\nError 500: GCMT lookup error [500]: Error 500: Error while accessing DB\n\nInternal Exception: org.postgresql.util.PSQLException: This connection has been closed.\nError Code: 0\nCall: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))\n\tbind => [4 parameters bound]\nQuery: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))")\nThis connection has been closed.\n\n\nRequest:\nhttp://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk\n\nRequest Submitted:\n2022/08/03 16:05:47 UTC\n\nService version:\nSPUD Services: 3.0.1\nspu:80\n\n\n\nMore Details:\nhandler exited, code: 1 reason: Internal Server Error\n\nRequest:\nhttp://service.iris.edu/irisws/syngine/1/query?model=ak135f_5s&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=ABC&format=miniseed\n\nRequest Submitted:\n2022/08/03 16:05:47 UTC\n\nService version:\nService: irisws-syngine version: 1.0.5'
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/syngine/tests/test_client.py", line 348, in test_get_waveforms st = self.c.get_waveforms(model="test", network="IU", station="ANMO", File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 363, in get_waveforms r = self._download(url=self._get_url("query"), params=params, File "/home/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download self._handle_requests_http_error(r) File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 55, in _handle_requests_http_error raise ClientHTTPException(msg.strip()) obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed': Error 500: GCMT lookup error [500]: Error 500: Error while accessing DB Internal Exception: org.postgresql.util.PSQLException: This connection has been closed. Error Code: 0 Call: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?))) bind => [4 parameters bound] Query: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))") This connection has been closed. Request: http://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk Request Submitted: 2022/08/03 16:06:12 UTC Service version: SPUD Services: 3.0.1 spu:80 More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed Request Submitted: 2022/08/03 16:06:12 UTC Service version: Service: irisws-syngine version: 1.0.5
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/syngine/tests/test_client.py", line 441, in test_reading_saczip_files st = self.c.get_waveforms( File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 363, in get_waveforms r = self._download(url=self._get_url("query"), params=params, File "/home/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download self._handle_requests_http_error(r) File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 55, in _handle_requests_http_error raise ClientHTTPException(msg.strip()) obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=saczip&starttime=P-10&endtime=P%2B10': Error 500: GCMT lookup error [500]: Error 500: Error while accessing DB Internal Exception: org.postgresql.util.PSQLException: This connection has been closed. Error Code: 0 Call: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?))) bind => [4 parameters bound] Query: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))") This connection has been closed. Request: http://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk Request Submitted: 2022/08/03 16:06:27 UTC Service version: SPUD Services: 3.0.1 spu:80 More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=saczip&starttime=P-10&endtime=P%2B10 Request Submitted: 2022/08/03 16:06:27 UTC Service version: Service: irisws-syngine version: 1.0.5
Traceback (most recent call last): File "/home/runner/work/obspy/obspy/obspy/clients/syngine/tests/test_client.py", line 417, in test_saving_directly_to_file st = self.c.get_waveforms( File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 363, in get_waveforms r = self._download(url=self._get_url("query"), params=params, File "/home/runner/work/obspy/obspy/obspy/clients/base.py", line 238, in _download self._handle_requests_http_error(r) File "/home/runner/work/obspy/obspy/obspy/clients/syngine/client.py", line 55, in _handle_requests_http_error raise ClientHTTPException(msg.strip()) obspy.clients.base.ClientHTTPException: HTTP code 500 when downloading 'http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed&starttime=P-10&endtime=P%2B10': Error 500: GCMT lookup error [500]: Error 500: Error while accessing DB Internal Exception: org.postgresql.util.PSQLException: This connection has been closed. Error Code: 0 Call: SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?))) bind => [4 parameters bound] Query: ReadAllQuery(referenceClass=MomentTensor sql="SELECT t0.ID, t0.PRODUCT_TYPE, t0.ACTIVE, t0.DESCRIPTION, t0.DOI, t0.EXTERN_DOI, t0.NOTES, t0.PRODUCT_ID, t0.PRODUCT_SUB_TYPE, t0.TAGS, t0.EVENT_ID, t0.LOCATION_TIME_ID, t0.PROV_ID, t1.ID, t1.BODY_COMPONENT_CNT, t1.BODY_SHORTEST_PERIOD, t1.BODY_STATION_CNT, t1.DEPTH, t1.DEPTH_STDERR, t1.DEPTH_TYPE, t1.EIGEN_0, t1.EIGEN_0_AZIMUTH, t1.EIGEN_0_PLUNGE, t1.EIGEN_1, t1.EIGEN_1_AZIMUTH, t1.EIGEN_1_PLUNGE, t1.EIGEN_2, t1.EIGEN_2_AZIMUTH, t1.EIGEN_2_PLUNGE, t1.EVENT_NAME, t1.EXPONENT, t1.FUNCTION_TYPE, t1.HALF_DURATION, t1.LATITUDE, t1.LATITUDE_STDERR, t1.LONGITUDE, t1.LONGITUDE_STDERR, t1.MANTLE_COMPONENT_CNT, t1.MANTLE_SHORTEST_PERIOD, t1.MANTLE_STATION_CNT, t1.MPP, t1.MPP_STDERR, t1.MRP, t1.MRP_STDERR, t1.MRR, t1.MRR_STDERR, t1.MRT, t1.MRT_STDERR, t1.MTP, t1.MTP_STDERR, t1.MTT, t1.MTT_STDERR, t1.NP1_DIP, t1.NP1_RAKE, t1.NP1_STRIKE, t1.NP2_DIP, t1.NP2_RAKE, t1.NP2_STRIKE, t1.REF_EVENT_DEPTH, t1.REF_EVENT_LATITUDE, t1.REF_EVENT_LONGITUDE, t1.REF_EVENT_MAG_MB, t1.REF_EVENT_MAG_MS, t1.REF_EVENT_REGION, t1.REF_EVENT_TIME, t1.REF_TIME_OFFSET, t1.REF_TIME_OFFSET_STDERR, t1.REF_CATALOG, t1.SCALAR_MOMENT, t1.SOURCE_TYPE, t1.SURFACE_COMPONENT_CNT, t1.SURFACE_SHORTEST_PERIOD, t1.SURFACE_STATION_CNT, t1.TIMESTAMP, t1.VERSION FROM item t0, moment_tensor t1 WHERE ((((t0.ACTIVE = ?) AND (t1.EVENT_NAME = ?)) AND (t0.PRODUCT_TYPE = ?)) AND ((t1.ID = t0.ID) AND (t0.PRODUCT_TYPE = ?)))") This connection has been closed. Request: http://ds.iris.edu/spudservice/momenttensor/gcmtid/C201002270634A/ndk Request Submitted: 2022/08/03 16:06:42 UTC Service version: SPUD Services: 3.0.1 spu:80 More Details: handler exited, code: 1 reason: Internal Server Error Request: http://service.iris.edu/irisws/syngine/1/query?model=test&network=IU&station=ANMO&eventid=GCMT%3AC201002270634A&components=Z&format=miniseed&starttime=P-10&endtime=P%2B10 Request Submitted: 2022/08/03 16:06:43 UTC Service version: Service: irisws-syngine version: 1.0.5
Skipped tests (5)
Submodule | Test | Skip message |
---|---|---|
clients.fdsn | clients/fdsn/tests/test_client.py::ClientTestCase::test_eida_token_resolution | Skipped: Token is expired |
clients.fdsn | clients/fdsn/tests/test_client.py::ClientTestCase::test_trim_stream_after_get_waveform | Skipped: data no longer available |
clients.seedlink | clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_info | Skipped: test must be started manually |
clients.seedlink | clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_issue708 | Skipped: test must be started manually |
clients.seedlink | clients/seedlink/tests/test_slclient.py::SLClientTestCase::test_time_window | Skipped: test must be started manually |