#156154 Report by node cursor covering 2010 tests from 58 modules resulted into 25 errors

Report

ObsPy version
0.0.0.dev+0.g654442a26d
GitHub Pull Request
-
Report file
JSON document
Total runtime
84.1 sec
Report date/time
April 9, 2026, 2:59 p.m.

System / Python

Architecture
64bit
Machine
x86_64
Node
cursor
Processor
x86_64
Python Compiler
GCC 13.3.0
Python Implementation
CPython
Python Version
3.12.12
Release
6.12.58+
System
Linux
Version
#1 SMP PREEMPT_DYNAMIC Sat Jan 17 06:53:48 UTC 2026

Dependencies

cartopy
---
decorator
5.2.1
flake8
7.3.0
geographiclib
---
lxml
6.0.3
matplotlib
3.10.8
numpy
1.26.4
obspy
0.0.0.dev+0.g654442a26d
pyproj
3.7.2
pytest
9.0.3
pytest-json-report
1.5.0
requests
2.33.1
scipy
1.11.4
setuptools
81.0.0
shapefile
---
sqlalchemy
2.0.49

Modules (58)

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

Tracebacks (25)

Traceback (most recent call last):
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1547, in _fetch_index_rows
sa.select([
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3715c97c0; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715cb920; station>, <sqlalchemy.sql.elements.Label at 0x7fa3715eae40; location>, <sqlalchemy.sql.elements.Label at 0x7fa37179f950; channel>, <sqlalchemy.sql.elements.Label at 0x7fa37179fce0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa37179cd40; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3715c97c0; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715cb920; station>, <sqlalchemy.sql.elements.Label at 0x7fa3715eae40; location>, <sqlalchemy.sql.elements.Label at 0x7fa37179f950; channel>, <sqlalchemy.sql.elements.Label at 0x7fa37179fce0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa37179cd40; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 634, in run
self._callTestMethod(testMethod)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 381, in test_get_availability
actual_avail = client.get_availability(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 415, in get_availability
tsindex_rows = self._get_tsindex_rows(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 679, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1668, in _fetch_index_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3715c97c0; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715cb920; station>, <sqlalchemy.sql.elements.Label at 0x7fa3715eae40; location>, <sqlalchemy.sql.elements.Label at 0x7fa37179f950; channel>, <sqlalchemy.sql.elements.Label at 0x7fa37179fce0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa37179cd40; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3715c97c0; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715cb920; station>, <sqlalchemy.sql.elements.Label at 0x7fa3715eae40; location>, <sqlalchemy.sql.elements.Label at 0x7fa37179f950; channel>, <sqlalchemy.sql.elements.Label at 0x7fa37179fce0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa37179cd40; endtime>)?
Traceback (most recent call last):
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1727, in _fetch_summary_rows
sa.select([
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3715c8650; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715d5c40; station>, <sqlalchemy.sql.elements.Label at 0x7fa37178c1a0; location>, <sqlalchemy.sql.elements.Label at 0x7fa37178fce0; channel>, <sqlalchemy.sql.elements.Label at 0x7fa37178d250; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa37178d0d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3715c8650; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715d5c40; station>, <sqlalchemy.sql.elements.Label at 0x7fa37178c1a0; location>, <sqlalchemy.sql.elements.Label at 0x7fa37178fce0; channel>, <sqlalchemy.sql.elements.Label at 0x7fa37178d250; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa37178d0d0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 634, in run
self._callTestMethod(testMethod)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 236, in test_get_availability_extent
actual_avail_extents = client.get_availability_extent(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 358, in get_availability_extent
summary_rows = self._get_summary_rows(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1744, in _fetch_summary_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3715c8650; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715d5c40; station>, <sqlalchemy.sql.elements.Label at 0x7fa37178c1a0; location>, <sqlalchemy.sql.elements.Label at 0x7fa37178fce0; channel>, <sqlalchemy.sql.elements.Label at 0x7fa37178d250; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa37178d0d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3715c8650; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715d5c40; station>, <sqlalchemy.sql.elements.Label at 0x7fa37178c1a0; location>, <sqlalchemy.sql.elements.Label at 0x7fa37178fce0; channel>, <sqlalchemy.sql.elements.Label at 0x7fa37178d250; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa37178d0d0; endtime>)?
Traceback (most recent call last):
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1727, in _fetch_summary_rows
sa.select([
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3715e3aa0; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715e08f0; station>, <sqlalchemy.sql.elements.Label at 0x7fa3715e0950; location>, <sqlalchemy.sql.elements.Label at 0x7fa3715e1820; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3715e2840; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3715e0fb0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3715e3aa0; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715e08f0; station>, <sqlalchemy.sql.elements.Label at 0x7fa3715e0950; location>, <sqlalchemy.sql.elements.Label at 0x7fa3715e1820; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3715e2840; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3715e0fb0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 634, in run
self._callTestMethod(testMethod)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 175, in test_get_nslc
actual_nslc = client.get_nslc("I*,CU",
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 317, in get_nslc
summary_rows = self._get_summary_rows(network, station, location,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1744, in _fetch_summary_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3715e3aa0; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715e08f0; station>, <sqlalchemy.sql.elements.Label at 0x7fa3715e0950; location>, <sqlalchemy.sql.elements.Label at 0x7fa3715e1820; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3715e2840; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3715e0fb0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3715e3aa0; network>, <sqlalchemy.sql.elements.Label at 0x7fa3715e08f0; station>, <sqlalchemy.sql.elements.Label at 0x7fa3715e0950; location>, <sqlalchemy.sql.elements.Label at 0x7fa3715e1820; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3715e2840; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3715e0fb0; endtime>)?
Traceback (most recent call last):
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1547, in _fetch_index_rows
sa.select([
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa371f3e990; network>, <sqlalchemy.sql.elements.Label at 0x7fa371f3e570; station>, <sqlalchemy.sql.elements.Label at 0x7fa378eb2960; location>, <sqlalchemy.sql.elements.Label at 0x7fa37696bad0; channel>, <sqlalchemy.sql.elements.Label at 0x7fa379083dd0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3758f3680; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa371f3e990; network>, <sqlalchemy.sql.elements.Label at 0x7fa371f3e570; station>, <sqlalchemy.sql.elements.Label at 0x7fa378eb2960; location>, <sqlalchemy.sql.elements.Label at 0x7fa37696bad0; channel>, <sqlalchemy.sql.elements.Label at 0x7fa379083dd0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3758f3680; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 634, in run
self._callTestMethod(testMethod)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 62, in test_get_waveforms
returned_stream = client.get_waveforms(
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 262, in get_waveforms
return self._get_waveforms(query_rows, merge)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 623, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1668, in _fetch_index_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa371f3e990; network>, <sqlalchemy.sql.elements.Label at 0x7fa371f3e570; station>, <sqlalchemy.sql.elements.Label at 0x7fa378eb2960; location>, <sqlalchemy.sql.elements.Label at 0x7fa37696bad0; channel>, <sqlalchemy.sql.elements.Label at 0x7fa379083dd0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3758f3680; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa371f3e990; network>, <sqlalchemy.sql.elements.Label at 0x7fa371f3e570; station>, <sqlalchemy.sql.elements.Label at 0x7fa378eb2960; location>, <sqlalchemy.sql.elements.Label at 0x7fa37696bad0; channel>, <sqlalchemy.sql.elements.Label at 0x7fa379083dd0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3758f3680; endtime>)?
Traceback (most recent call last):
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1547, in _fetch_index_rows
sa.select([
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa371cb0bf0; network>, <sqlalchemy.sql.elements.Label at 0x7fa371cb0440; station>, <sqlalchemy.sql.elements.Label at 0x7fa371cb2000; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5970; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6fc0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6e40; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa371cb0bf0; network>, <sqlalchemy.sql.elements.Label at 0x7fa371cb0440; station>, <sqlalchemy.sql.elements.Label at 0x7fa371cb2000; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5970; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6fc0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6e40; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 634, in run
self._callTestMethod(testMethod)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 142, in test_get_waveforms_bulk
returned_stream = client.get_waveforms_bulk(bulk_request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 288, in get_waveforms_bulk
return self._get_waveforms(query_rows, merge)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 623, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1668, in _fetch_index_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa371cb0bf0; network>, <sqlalchemy.sql.elements.Label at 0x7fa371cb0440; station>, <sqlalchemy.sql.elements.Label at 0x7fa371cb2000; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5970; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6fc0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6e40; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa371cb0bf0; network>, <sqlalchemy.sql.elements.Label at 0x7fa371cb0440; station>, <sqlalchemy.sql.elements.Label at 0x7fa371cb2000; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5970; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6fc0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6e40; endtime>)?
Traceback (most recent call last):
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1547, in _fetch_index_rows
sa.select([
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3717b5700; network>, <sqlalchemy.sql.elements.Label at 0x7fa3717b7740; station>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6f30; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b7140; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b75c0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5760; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3717b5700; network>, <sqlalchemy.sql.elements.Label at 0x7fa3717b7740; station>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6f30; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b7140; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b75c0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5760; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 634, in run
self._callTestMethod(testMethod)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 581, in test_has_data
self.assertTrue(client.has_data())
^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 558, in has_data
avail_percentage = self.get_availability_percentage(network,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 494, in get_availability_percentage
avail = self.get_availability(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 415, in get_availability
tsindex_rows = self._get_tsindex_rows(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 679, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1668, in _fetch_index_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3717b5700; network>, <sqlalchemy.sql.elements.Label at 0x7fa3717b7740; station>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6f30; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b7140; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b75c0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5760; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3717b5700; network>, <sqlalchemy.sql.elements.Label at 0x7fa3717b7740; station>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6f30; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b7140; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b75c0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5760; endtime>)?
Traceback (most recent call last):
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1547, in _fetch_index_rows
sa.select([
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa376fc7560; network>, <sqlalchemy.sql.elements.Label at 0x7fa378528e30; station>, <sqlalchemy.sql.elements.Label at 0x7fa371784ce0; location>, <sqlalchemy.sql.elements.Label at 0x7fa371784c80; channel>, <sqlalchemy.sql.elements.Label at 0x7fa371785fa0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa376930b00; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa376fc7560; network>, <sqlalchemy.sql.elements.Label at 0x7fa378528e30; station>, <sqlalchemy.sql.elements.Label at 0x7fa371784ce0; location>, <sqlalchemy.sql.elements.Label at 0x7fa371784c80; channel>, <sqlalchemy.sql.elements.Label at 0x7fa371785fa0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa376930b00; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 634, in run
self._callTestMethod(testMethod)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 770, in test_build_file_list
self.assertRaisesRegex(OSError,
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 1316, in assertRaisesRegex
return context.handle('assertRaisesRegex', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 238, in handle
callable_obj(*args, **kwargs)
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1064, in build_file_list
tsindex = self.request_handler._fetch_index_rows()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1668, in _fetch_index_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa376fc7560; network>, <sqlalchemy.sql.elements.Label at 0x7fa378528e30; station>, <sqlalchemy.sql.elements.Label at 0x7fa371784ce0; location>, <sqlalchemy.sql.elements.Label at 0x7fa371784c80; channel>, <sqlalchemy.sql.elements.Label at 0x7fa371785fa0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa376930b00; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa376fc7560; network>, <sqlalchemy.sql.elements.Label at 0x7fa378528e30; station>, <sqlalchemy.sql.elements.Label at 0x7fa371784ce0; location>, <sqlalchemy.sql.elements.Label at 0x7fa371784c80; channel>, <sqlalchemy.sql.elements.Label at 0x7fa371785fa0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa376930b00; endtime>)?
Traceback (most recent call last):
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1727, in _fetch_summary_rows
sa.select([
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3716d9c40; network>, <sqlalchemy.sql.elements.Label at 0x7fa3716da480; station>, <sqlalchemy.sql.elements.Label at 0x7fa3716d9f40; location>, <sqlalchemy.sql.elements.Label at 0x7fa3716da240; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3716d9dc0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3716da1e0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3716d9c40; network>, <sqlalchemy.sql.elements.Label at 0x7fa3716da480; station>, <sqlalchemy.sql.elements.Label at 0x7fa3716d9f40; location>, <sqlalchemy.sql.elements.Label at 0x7fa3716da240; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3716d9dc0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3716da1e0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 634, in run
self._callTestMethod(testMethod)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tests/test_tsindex.py", line 918, in test__fetch_summary_rows
ts_summary_data = request_handler._fetch_summary_rows(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1744, in _fetch_summary_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3716d9c40; network>, <sqlalchemy.sql.elements.Label at 0x7fa3716da480; station>, <sqlalchemy.sql.elements.Label at 0x7fa3716d9f40; location>, <sqlalchemy.sql.elements.Label at 0x7fa3716da240; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3716d9dc0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3716da1e0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3716d9c40; network>, <sqlalchemy.sql.elements.Label at 0x7fa3716da480; station>, <sqlalchemy.sql.elements.Label at 0x7fa3716d9f40; location>, <sqlalchemy.sql.elements.Label at 0x7fa3716da240; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3716d9dc0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3716da1e0; endtime>)?
055 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
056
057 * :meth:`~Client.get_availability_extent()`:
058 Returns a list of (network, station, location, channel, earliest, latest)
059 tuples that represent the full extent of available data. This example
060 retrieves from the very small obspy test tsindex database a list of all
061 available ("BHZ") channel extents from the Global Seismograph Network
062 ("IU") for all times.
063
064 >>> extents = client.get_availability_extent(network="IU", channel="BHZ")
UNEXPECTED EXCEPTION: ValueError('Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3717b6b70; network>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6e70; station>, <sqlalchemy.sql.elements.Label at 0x7fa3717b69f0; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4a40; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5bb0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4890; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3717b6b70; network>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6e70; station>, <sqlalchemy.sql.elements.Label at 0x7fa3717b69f0; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4a40; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5bb0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4890; endtime>)?')
Traceback (most recent call last):
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1727, in _fetch_summary_rows
sa.select([
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 538, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/selectable.py", line 5404, in __init__
coercions.expect(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 396, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 635, in _literal_coercion
self._raise_for_expected(element, argname)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 1133, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 696, in _raise_for_expected
super()._raise_for_expected(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/sqlalchemy/sql/coercions.py", line 519, in _raise_for_expected
raise exc.ArgumentError(msg, code=code) from err
sqlalchemy.exc.ArgumentError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3717b6b70; network>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6e70; station>, <sqlalchemy.sql.elements.Label at 0x7fa3717b69f0; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4a40; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5bb0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4890; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3717b6b70; network>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6e70; station>, <sqlalchemy.sql.elements.Label at 0x7fa3717b69f0; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4a40; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5bb0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4890; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/doctest.py", line 1368, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.filesystem.tsindex[6]>", line 1, in <module>
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 358, in get_availability_extent
summary_rows = self._get_summary_rows(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/clients/filesystem/tsindex.py", line 1744, in _fetch_summary_rows
raise ValueError(str(err))
ValueError: Column expression, FROM clause, or other columns clause element expected, got [<sqlalchemy.sql.elements.Label at 0x7fa3717b6b70; network>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6e70; station>, <sqlalchemy.sql.elements.Label at 0x7fa3717b69f0; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4a40; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5bb0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4890; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x7fa3717b6b70; network>, <sqlalchemy.sql.elements.Label at 0x7fa3717b6e70; station>, <sqlalchemy.sql.elements.Label at 0x7fa3717b69f0; location>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4a40; channel>, <sqlalchemy.sql.elements.Label at 0x7fa3717b5bb0; starttime>, <sqlalchemy.sql.elements.Label at 0x7fa3717b4890; endtime>)?
/workspace/obspy/obspy/clients/filesystem/tsindex.py:64: UnexpectedException
2333
2334 .. rubric:: Example
2335
2336 >>> st = read()
2337 >>> print(st) # doctest: +ELLIPSIS
2338 3 Trace(s) in Stream:
2339 BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2340 BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2341 BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples
2342 >>> st.resample(10.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: ValueError('Unknown window type.')
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
^^^^^^^^^^^^^
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
~~~~~~~~~~^^^^^^^^
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/doctest.py", line 1368, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module>
File "/workspace/obspy/obspy/core/stream.py", line 2351, in resample
tr.resample(sampling_rate, window=window,
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
/workspace/obspy/obspy/core/stream.py:2342: UnexpectedException
Traceback (most recent call last):
File "/workspace/obspy/obspy/core/inventory/response.py", line 2263, in _adjust_bode_plot_figure
ax1.legend(loc="lower center", ncol=3, fontsize='small')
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/workspace/obspy/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_channel.py", line 32, in test_response_plot
cha.plot(0.005, outfile=image_path)
File "/workspace/obspy/obspy/core/inventory/channel.py", line 455, in plot
return self.response.plot(
^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/inventory/response.py", line 1902, in plot
_adjust_bode_plot_figure(fig, show=False,
File "/workspace/obspy/obspy/core/inventory/response.py", line 2265, in _adjust_bode_plot_figure
leg_ = ax1.legend(loc="lower center", ncol=3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/workspace/obspy/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/workspace/obspy/obspy/core/inventory/response.py", line 2263, in _adjust_bode_plot_figure
ax1.legend(loc="lower center", ncol=3, fontsize='small')
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/workspace/obspy/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_response.py", line 123, in test_response_plot
resp.plot(0.001, output="VEL", start_stage=1, end_stage=3,
File "/workspace/obspy/obspy/core/inventory/response.py", line 1902, in plot
_adjust_bode_plot_figure(fig, show=False,
File "/workspace/obspy/obspy/core/inventory/response.py", line 2265, in _adjust_bode_plot_figure
leg_ = ax1.legend(loc="lower center", ncol=3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/workspace/obspy/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/workspace/obspy/obspy/core/inventory/response.py", line 2263, in _adjust_bode_plot_figure
ax1.legend(loc="lower center", ncol=3, fontsize='small')
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/workspace/obspy/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_response.py", line 132, in test_response_plot_degrees
resp.plot(0.001, output="VEL", start_stage=1, end_stage=3,
File "/workspace/obspy/obspy/core/inventory/response.py", line 1902, in plot
_adjust_bode_plot_figure(fig, show=False,
File "/workspace/obspy/obspy/core/inventory/response.py", line 2265, in _adjust_bode_plot_figure
leg_ = ax1.legend(loc="lower center", ncol=3)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/axes/_axes.py", line 336, in legend
handles, labels, kwargs = mlegend._parse_legend_args([self], *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/legend.py", line 1350, in _parse_legend_args
_api.warn_external(
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/matplotlib/_api/__init__.py", line 405, in warn_external
warnings.warn(message, category, **kwargs)
File "/workspace/obspy/obspy/core/util/testing.py", line 136, in _warn
message=category(message), category=category,
^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not callable
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
^^^^^^^^^^^^^
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
~~~~~~~~~~^^^^^^^^
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_stream.py", line 2247, in test_method_chaining
.resample(st[0].stats.sampling_rate / 2)\
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/stream.py", line 2351, in resample
tr.resample(sampling_rate, window=window,
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_trace.py", line 1360, in test_taper_onesided
assert len(w) == 1
AssertionError: assert 2 == 1
+ where 2 = len([<warnings.WarningMessage object at 0x7fa370e9c2c0>, <warnings.WarningMessage object at 0x7fa3709ac0e0>])
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_trace.py", line 1390, in test_taper_length
assert len(w) == 1
AssertionError: assert 2 == 1
+ where 2 = len([<warnings.WarningMessage object at 0x7fa3708f24e0>, <warnings.WarningMessage object at 0x7fa3708f3ad0>])
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
^^^^^^^^^^^^^
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
~~~~~~~~~~^^^^^^^^
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_trace.py", line 1640, in test_resample
tr_2 = tr.copy().resample(sampling_rate=50.0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
^^^^^^^^^^^^^
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
~~~~~~~~~~^^^^^^^^
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_trace.py", line 1678, in test_method_chaining
.resample(tr.stats.sampling_rate / 2.0)\
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
^^^^^^^^^^^^^
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
~~~~~~~~~~^^^^^^^^
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_trace.py", line 1845, in test_processing_information
tr.resample(tr.stats.sampling_rate / 2.0)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
^^^^^^^^^^^^^
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
~~~~~~~~~~^^^^^^^^
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_trace.py", line 2119, in test_resample_new
tr.resample(0.5, window='hanning', no_filter=True)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
^^^^^^^^^^^^^
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
~~~~~~~~~~^^^^^^^^
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_trace.py", line 2544, in test_dtype_is_not_unnecessarily_changed
assert tr_int32.copy().resample(2.0).data.dtype == np.float64
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
^^^^^^^^^^^^^
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
~~~~~~~~~~^^^^^^^^
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_trace.py", line 2717, in test_resample_short_traces
tr.resample(30)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 353, in from_call
result: TResult | None = func()
^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 245, in <lambda>
lambda: runtest_hook(item=item, **kwds),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
return result.get_result()
^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_result.py", line 103, in get_result
raise exc.with_traceback(tb)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
res = yield
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 139, in _multicall
teardown.throw(exception)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
return (yield)
^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
item.runtest()
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 1720, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_hooks.py", line 512, in __call__
return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_manager.py", line 120, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 167, in _multicall
raise exception
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/pluggy/_callers.py", line 121, in _multicall
res = hook_impl.function(*args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
result = testfunction(**testargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/tests/test_waveform_plugins.py", line 220, in test_is_format
assert len(paths) > 0, msg + '\n '.join(all_paths)
AssertionError: Test data directories do not exist:
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/ah/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/css/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/dmx/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/gcf/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/gse2/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/gse2/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/kinemetrics/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/nied/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/mseed/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/css/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/pdas/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/core/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/sh/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/reftek/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/rg16/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/sac/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/sac/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/seg2/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/segy/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/seisan/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/sh/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/ascii/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/segy/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/ascii/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/wav/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/win/tests/data
/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/obspy/io/y/tests/data
assert 0 > 0
+ where 0 = len({})
1687 the signal is assumed to be periodic.
1688
1689 .. rubric:: Example
1690
1691 >>> tr = Trace(data=np.array([0.5, 0, 0.5, 1, 0.5, 0, 0.5, 1]))
1692 >>> len(tr)
1693 8
1694 >>> tr.stats.sampling_rate
1695 1.0
1696 >>> tr.resample(4.0) # doctest: +ELLIPSIS
UNEXPECTED EXCEPTION: ValueError('Unknown window type.')
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2344, in get_window
beta = float(window)
^^^^^^^^^^^^^
ValueError: could not convert string to float: 'hanning'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2362, in get_window
winfunc = _win_equiv[winstr]
~~~~~~~~~~^^^^^^^^
KeyError: 'hanning'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/doctest.py", line 1368, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module>
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/util/decorator.py", line 237, in skip_if_no_data
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/decorator.py", line 235, in fun
return caller(func, *(extras + args), **kw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 282, in _add_processing_info
result = func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/workspace/obspy/obspy/core/trace.py", line 1744, in resample
large_w = np.fft.ifftshift(get_window(window,
^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/scipy/signal/windows/_windows.py", line 2364, in get_window
raise ValueError("Unknown window type.") from e
ValueError: Unknown window type.
/workspace/obspy/obspy/core/trace.py:1696: UnexpectedException
Traceback (most recent call last):
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 58, in testPartExecutor
yield
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 634, in run
self._callTestMethod(testMethod)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 589, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/workspace/obspy/obspy/signal/tests/test_quality_control.py", line 693, in test_clock_locked_percentage
self.assertTrue(abs(sum(record_lengths) - (total_time)) < 1e-6)
File "/home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/unittest/case.py", line 727, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true

Skipped tests (41)

Submodule Test Skip message
core core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_location_plot_local Skipped: cartopy not installed
core core/tests/test_inventory.py::TestInventoryCartopy::test_combined_station_event_plot Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_global Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_ortho Skipped: cartopy not installed
core core/tests/test_network.py::TestNetworkCartopy::test_location_plot_local Skipped: cartopy not installed
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_with_geographiclib Skipped: Module geographiclib is not installed
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_issue_375 Skipped: Module geographiclib is not installed
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.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.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_catalog_shapefile_with_extra_field Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_via_plugin Skipped: pyshp not installed
io.shapefile io/shapefile/tests/test_core.py::ShapefileTestCase::test_write_inventory_shapefile_with_extra_field Skipped: pyshp not installed
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::QualityControlTestCase::test_schema_validation Skipped: Test requires the jsonschema module
taup taup/tests/test_ray_paths.py::TestRayPathCalculations::test_compute_ray_paths Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_p_iasp91_geo_manual Skipped: Module geographiclib is not installed
taup taup/tests/test_tau.py::TestTauPyModel::test_pierce_p_iasp91_geo Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_single_path_geo_iasp91 Skipped: test needs geographiclib >= 1.34
taup taup/tests/test_tau.py::TestTauPyModel::test_paths_for_crustal_phases Skipped: Unsure if these test paths are accurate.
taup taup/tests/test_taup_geo.py::TestTaupGeo::test_path_geo Skipped: Module geographiclib is not installed or too old.
taup taup/tests/test_taup_geo.py::TestTaupGeo::test_path_resampling Skipped: Module geographiclib is not installed or too old.

Slowest tests (20)

Runtime Test
4.467s taup/__init__.py::obspy.taup
2.730s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
2.377s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
1.988s taup/tau.py::obspy.taup.tau.plot_travel_times
1.975s taup/tests/test_tau.py::TestTauPyModel::test_vs_java_iasp91
1.827s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
1.660s core/stream.py::obspy.core.stream.read
1.380s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
1.168s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
1.130s core/tests/test_trace.py::TestTrace::test_remove_response_plot
1.093s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
1.077s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
1.043s core/tests/test_stream.py::TestStream::test_read_url_via_network
0.975s taup/tests/test_tau.py::TestTauPyModel::test_iasp91
0.973s io/arclink/tests/test_inventory_xml.py::ArclinkInventoryTestCase::test_auto_read_arclink_xml
0.925s taup/tau.py::obspy.taup.tau.TauPyModel.__init__
0.912s signal/tests/test_polarization.py::PolarizationTestCase::test_polarization_vidale
0.852s taup/tests/test_taup_plotting.py::TestTauPyPlotting::test_spherical_many_phases
0.849s taup/tests/test_taup_plotting.py::TestTauPyPlotting::test_spherical_many_phases_buried_station
0.816s taup/tests/test_tau.py::TestTauPyModel::test_ak135

Warnings (44)

Stage Filename Category Message
collect /workspace/obspy/obspy/clients/filesystem/tests/test_sds.py:2 DeprecationWarning 'imghdr' is deprecated and slated for removal in Python 3.13
runtest /workspace/obspy/obspy/imaging/source.py:339 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /workspace/obspy/obspy/taup/tau_branch.py:399 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/signal/tests/test_hoctavbands.py:87 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest /workspace/obspy/obspy/taup/tau_branch.py:281 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/imaging/scripts/mopad.py:840 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/signal/tests/test_polarization.py:62 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest /workspace/obspy/obspy/taup/tau_branch.py:400 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/io/sac/sactrace.py:1543 DeprecationWarning `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
runtest /workspace/obspy/obspy/taup/tau_branch.py:282 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/taup/taup_geo.py:91 DeprecationWarning `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
collect /workspace/obspy/obspy/imaging/cm.py:299 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /workspace/obspy/obspy/taup/tau_branch.py:370 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/io/sac/tests/test_sactrace.py:187 DeprecationWarning `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
collect /workspace/obspy/obspy/imaging/cm.py:300 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /workspace/obspy/obspy/imaging/waveform.py:1292 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /workspace/obspy/obspy/signal/tests/test_polarization.py:60 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest /workspace/obspy/obspy/taup/tau_branch.py:280 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
collect /workspace/obspy/obspy/clients/filesystem/db.py:18 MovedIn20Warning The ``declarative_base()`` function is now available as sqlalchemy.orm.declarative_base(). (deprecated since: 2.0) (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
runtest /workspace/obspy/obspy/taup/slowness_model.py:1813 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/taup/tau_branch.py:371 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/taup/tau_branch.py:372 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/signal/tests/test_cpxtrace.py:85 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest /workspace/obspy/obspy/taup/tau_branch.py:265 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/imaging/source.py:332 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
collect /workspace/obspy/obspy/io/ah/core.py:18 DeprecationWarning 'xdrlib' is deprecated and slated for removal in Python 3.13
runtest /workspace/obspy/obspy/signal/tests/test_freqattributes.py:88 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest /workspace/obspy/obspy/taup/tau_branch.py:244 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/taup/seismic_phase.py:1474 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/signal/tf_misfit.py:1084 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/taup/tau_branch.py:266 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /home/ubuntu/.pyenv/versions/3.12.12/lib/python3.12/site-packages/_pytest/python.py:166 DeprecationWarning `alltrue` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `all` instead.
collect /workspace/obspy/obspy/taup/tau.py:25 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /workspace/obspy/obspy/core/trace.py:2173 DeprecationWarning Importing hann from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hann' or the convenience function 'scipy.signal.get_window' instead.
runtest /workspace/obspy/obspy/taup/seismic_phase.py:1447 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/signal/tf_misfit.py:1344 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/taup/tau_branch.py:246 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/taup/tau_branch.py:245 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/io/mseed/tests/test_mseed_util.py:75 DeprecationWarning NumPy will stop allowing conversion of out-of-bound Python integers to integer arrays. The conversion of 128 to int8 will fail in the future. For the old behavior, usually: np.array(value).astype(dtype) will give the desired result (the cast overflows).
runtest /workspace/obspy/obspy/taup/tau_branch.py:267 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/taup/tau_branch.py:401 DeprecationWarning Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
runtest /workspace/obspy/obspy/signal/tests/test_polarization.py:64 DeprecationWarning Importing hamming from 'scipy.signal' is deprecated and will raise an error in SciPy 1.13.0. Please use 'scipy.signal.windows.hamming' or the convenience function 'scipy.signal.get_window' instead.
runtest /workspace/obspy/obspy/imaging/source.py:376 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.
runtest /workspace/obspy/obspy/io/kml/core.py:65 MatplotlibDeprecationWarning The get_cmap function was deprecated in Matplotlib 3.7 and will be removed in 3.11. Use ``matplotlib.colormaps[name]`` or ``matplotlib.colormaps.get_cmap()`` or ``pyplot.get_cmap()`` instead.