#135031 Report by node kozel covering 2060 tests from 60 modules resulted into 9 errors

Report

ObsPy version
1.4.0
GitHub Pull Request
-
Report file
JSON document
Total runtime
121.3 sec
Report date/time
July 28, 2023, 6:58 a.m.

System / Python

Architecture
64bit
Machine
arm64
Node
kozel
Processor
arm
Python Compiler
Clang 14.0.3 (clang-1403.0.22.14.1)
Python Implementation
CPython
Python Version
3.11.4
Release
22.5.0
System
Darwin
Version
Darwin Kernel Version 22.5.0: Thu Jun 8 22:22:20 PDT 2023; root:xnu-8796.121.3~7/RELEASE_ARM64_T6000

Dependencies

cartopy
0.21.1
decorator
5.1.1
flake8
---
geographiclib
1.50
lxml
4.9.1
matplotlib
3.7.2
numpy
1.24.1
obspy
1.4.0
pyproj
3.6.0
pytest
7.4.0
pytest-json-report
1.5.0
requests
2.31.0
scipy
1.10.1
setuptools
67.7.2
shapefile
---
sqlalchemy
2.0.17

Modules (60)

Module Errors / Failures Tracebacks
obspy.clients Not tested -
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 - -
obspy.clients.seedlink Not tested -
obspy.clients.syngine Not tested -
obspy.core - -
obspy.core.event - -
obspy.core.inventory - -
obspy.core.util - -
obspy.geodetics - -
obspy.imaging - -
obspy.io.ah - -
obspy.io.alsep - -
obspy.io.arclink - -
obspy.io.ascii - -
obspy.io.cmtsolution - -
obspy.io.cnv - -
obspy.io.css - -
obspy.io.dmx - -
obspy.io.focmec - -
obspy.io.gcf - -
obspy.io.gse2 - -
obspy.io.hypodd - -
obspy.io.iaspei - -
obspy.io.json - -
obspy.io.kinemetrics - -
obspy.io.kml - -
obspy.io.mseed - -
obspy.io.ndk - -
obspy.io.nied - -
obspy.io.nlloc - -
obspy.io.nordic - -
obspy.io.pdas - -
obspy.io.pde - -
obspy.io.quakeml - -
obspy.io.reftek - -
obspy.io.rg16 - -
obspy.io.sac - -
obspy.io.scardec - -
obspy.io.seg2 - -
obspy.io.segy - -
obspy.io.seisan - -
obspy.io.seiscomp - -
obspy.io.sh - -
obspy.io.shapefile - -
obspy.io.stationtxt - -
obspy.io.stationxml - -
obspy.io.wav - -
obspy.io.win - -
obspy.io.xseed - -
obspy.io.y - -
obspy.io.zmap - -
obspy.realtime - -
obspy.scripts - -
obspy.signal - -
obspy.taup - -
Summary 9 9

Tracebacks (9)

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 0x168702c50; network>, <sqlalchemy.sql.elements.Label at 0x16860de50; station>, <sqlalchemy.sql.elements.Label at 0x13c7c2a10; location>, <sqlalchemy.sql.elements.Label at 0x13c1ebd10; channel>, <sqlalchemy.sql.elements.Label at 0x16871c2d0; starttime>, <sqlalchemy.sql.elements.Label at 0x16871c390; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x168702c50; network>, <sqlalchemy.sql.elements.Label at 0x16860de50; station>, <sqlalchemy.sql.elements.Label at 0x13c7c2a10; location>, <sqlalchemy.sql.elements.Label at 0x13c1ebd10; channel>, <sqlalchemy.sql.elements.Label at 0x16871c2d0; starttime>, <sqlalchemy.sql.elements.Label at 0x16871c390; endtime>)?')
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1726, in _fetch_summary_rows
stmts = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1727, in <listcomp>
sa.select([
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 535, 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 0x168702c50; network>, <sqlalchemy.sql.elements.Label at 0x16860de50; station>, <sqlalchemy.sql.elements.Label at 0x13c7c2a10; location>, <sqlalchemy.sql.elements.Label at 0x13c1ebd10; channel>, <sqlalchemy.sql.elements.Label at 0x16871c2d0; starttime>, <sqlalchemy.sql.elements.Label at 0x16871c390; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x168702c50; network>, <sqlalchemy.sql.elements.Label at 0x16860de50; station>, <sqlalchemy.sql.elements.Label at 0x13c7c2a10; location>, <sqlalchemy.sql.elements.Label at 0x13c1ebd10; channel>, <sqlalchemy.sql.elements.Label at 0x16871c2d0; starttime>, <sqlalchemy.sql.elements.Label at 0x16871c390; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/doctest.py", line 1351, in __run
exec(compile(example.source, filename, "single",
File "<doctest obspy.clients.filesystem.tsindex[6]>", line 1, in <module>
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 358, in get_availability_extent
summary_rows = self._get_summary_rows(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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 0x168702c50; network>, <sqlalchemy.sql.elements.Label at 0x16860de50; station>, <sqlalchemy.sql.elements.Label at 0x13c7c2a10; location>, <sqlalchemy.sql.elements.Label at 0x13c1ebd10; channel>, <sqlalchemy.sql.elements.Label at 0x16871c2d0; starttime>, <sqlalchemy.sql.elements.Label at 0x16871c390; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x168702c50; network>, <sqlalchemy.sql.elements.Label at 0x16860de50; station>, <sqlalchemy.sql.elements.Label at 0x13c7c2a10; location>, <sqlalchemy.sql.elements.Label at 0x13c1ebd10; channel>, <sqlalchemy.sql.elements.Label at 0x16871c2d0; starttime>, <sqlalchemy.sql.elements.Label at 0x16871c390; endtime>)?
/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py:64: UnexpectedException
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1546, in _fetch_index_rows
stmts = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1547, in <listcomp>
sa.select([
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 535, 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 0x16882fbd0; network>, <sqlalchemy.sql.elements.Label at 0x1689d5510; station>, <sqlalchemy.sql.elements.Label at 0x1688efb50; location>, <sqlalchemy.sql.elements.Label at 0x16871c790; channel>, <sqlalchemy.sql.elements.Label at 0x13c1ea9d0; starttime>, <sqlalchemy.sql.elements.Label at 0x1688eb2d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x16882fbd0; network>, <sqlalchemy.sql.elements.Label at 0x1689d5510; station>, <sqlalchemy.sql.elements.Label at 0x1688efb50; location>, <sqlalchemy.sql.elements.Label at 0x16871c790; channel>, <sqlalchemy.sql.elements.Label at 0x13c1ea9d0; starttime>, <sqlalchemy.sql.elements.Label at 0x1688eb2d0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 380, in test_get_availability
actual_avail = client.get_availability(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 415, in get_availability
tsindex_rows = self._get_tsindex_rows(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 679, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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 0x16882fbd0; network>, <sqlalchemy.sql.elements.Label at 0x1689d5510; station>, <sqlalchemy.sql.elements.Label at 0x1688efb50; location>, <sqlalchemy.sql.elements.Label at 0x16871c790; channel>, <sqlalchemy.sql.elements.Label at 0x13c1ea9d0; starttime>, <sqlalchemy.sql.elements.Label at 0x1688eb2d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x16882fbd0; network>, <sqlalchemy.sql.elements.Label at 0x1689d5510; station>, <sqlalchemy.sql.elements.Label at 0x1688efb50; location>, <sqlalchemy.sql.elements.Label at 0x16871c790; channel>, <sqlalchemy.sql.elements.Label at 0x13c1ea9d0; starttime>, <sqlalchemy.sql.elements.Label at 0x1688eb2d0; endtime>)?
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1726, in _fetch_summary_rows
stmts = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1727, in <listcomp>
sa.select([
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 535, 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 0x1313c1490; network>, <sqlalchemy.sql.elements.Label at 0x168801dd0; station>, <sqlalchemy.sql.elements.Label at 0x1688035d0; location>, <sqlalchemy.sql.elements.Label at 0x1688033d0; channel>, <sqlalchemy.sql.elements.Label at 0x1688023d0; starttime>, <sqlalchemy.sql.elements.Label at 0x168802650; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x1313c1490; network>, <sqlalchemy.sql.elements.Label at 0x168801dd0; station>, <sqlalchemy.sql.elements.Label at 0x1688035d0; location>, <sqlalchemy.sql.elements.Label at 0x1688033d0; channel>, <sqlalchemy.sql.elements.Label at 0x1688023d0; starttime>, <sqlalchemy.sql.elements.Label at 0x168802650; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 235, in test_get_availability_extent
actual_avail_extents = client.get_availability_extent(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 358, in get_availability_extent
summary_rows = self._get_summary_rows(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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 0x1313c1490; network>, <sqlalchemy.sql.elements.Label at 0x168801dd0; station>, <sqlalchemy.sql.elements.Label at 0x1688035d0; location>, <sqlalchemy.sql.elements.Label at 0x1688033d0; channel>, <sqlalchemy.sql.elements.Label at 0x1688023d0; starttime>, <sqlalchemy.sql.elements.Label at 0x168802650; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x1313c1490; network>, <sqlalchemy.sql.elements.Label at 0x168801dd0; station>, <sqlalchemy.sql.elements.Label at 0x1688035d0; location>, <sqlalchemy.sql.elements.Label at 0x1688033d0; channel>, <sqlalchemy.sql.elements.Label at 0x1688023d0; starttime>, <sqlalchemy.sql.elements.Label at 0x168802650; endtime>)?
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1726, in _fetch_summary_rows
stmts = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1727, in <listcomp>
sa.select([
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 535, 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 0x130d49250; network>, <sqlalchemy.sql.elements.Label at 0x1688b7a90; station>, <sqlalchemy.sql.elements.Label at 0x1689e7d90; location>, <sqlalchemy.sql.elements.Label at 0x168907ad0; channel>, <sqlalchemy.sql.elements.Label at 0x168907210; starttime>, <sqlalchemy.sql.elements.Label at 0x1689043d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x130d49250; network>, <sqlalchemy.sql.elements.Label at 0x1688b7a90; station>, <sqlalchemy.sql.elements.Label at 0x1689e7d90; location>, <sqlalchemy.sql.elements.Label at 0x168907ad0; channel>, <sqlalchemy.sql.elements.Label at 0x168907210; starttime>, <sqlalchemy.sql.elements.Label at 0x1689043d0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 174, in test_get_nslc
actual_nslc = client.get_nslc("I*,CU",
^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 317, in get_nslc
summary_rows = self._get_summary_rows(network, station, location,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 597, in _get_summary_rows
return self.request_handler._fetch_summary_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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 0x130d49250; network>, <sqlalchemy.sql.elements.Label at 0x1688b7a90; station>, <sqlalchemy.sql.elements.Label at 0x1689e7d90; location>, <sqlalchemy.sql.elements.Label at 0x168907ad0; channel>, <sqlalchemy.sql.elements.Label at 0x168907210; starttime>, <sqlalchemy.sql.elements.Label at 0x1689043d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x130d49250; network>, <sqlalchemy.sql.elements.Label at 0x1688b7a90; station>, <sqlalchemy.sql.elements.Label at 0x1689e7d90; location>, <sqlalchemy.sql.elements.Label at 0x168907ad0; channel>, <sqlalchemy.sql.elements.Label at 0x168907210; starttime>, <sqlalchemy.sql.elements.Label at 0x1689043d0; endtime>)?
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1546, in _fetch_index_rows
stmts = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1547, in <listcomp>
sa.select([
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 535, 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 0x1688f6a90; network>, <sqlalchemy.sql.elements.Label at 0x1688f7510; station>, <sqlalchemy.sql.elements.Label at 0x1688f71d0; location>, <sqlalchemy.sql.elements.Label at 0x1688f7390; channel>, <sqlalchemy.sql.elements.Label at 0x1688f7250; starttime>, <sqlalchemy.sql.elements.Label at 0x1688f6f10; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x1688f6a90; network>, <sqlalchemy.sql.elements.Label at 0x1688f7510; station>, <sqlalchemy.sql.elements.Label at 0x1688f71d0; location>, <sqlalchemy.sql.elements.Label at 0x1688f7390; channel>, <sqlalchemy.sql.elements.Label at 0x1688f7250; starttime>, <sqlalchemy.sql.elements.Label at 0x1688f6f10; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 61, in test_get_waveforms
returned_stream = client.get_waveforms(
^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 262, in get_waveforms
return self._get_waveforms(query_rows, merge)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 623, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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 0x1688f6a90; network>, <sqlalchemy.sql.elements.Label at 0x1688f7510; station>, <sqlalchemy.sql.elements.Label at 0x1688f71d0; location>, <sqlalchemy.sql.elements.Label at 0x1688f7390; channel>, <sqlalchemy.sql.elements.Label at 0x1688f7250; starttime>, <sqlalchemy.sql.elements.Label at 0x1688f6f10; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x1688f6a90; network>, <sqlalchemy.sql.elements.Label at 0x1688f7510; station>, <sqlalchemy.sql.elements.Label at 0x1688f71d0; location>, <sqlalchemy.sql.elements.Label at 0x1688f7390; channel>, <sqlalchemy.sql.elements.Label at 0x1688f7250; starttime>, <sqlalchemy.sql.elements.Label at 0x1688f6f10; endtime>)?
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1546, in _fetch_index_rows
stmts = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1547, in <listcomp>
sa.select([
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 535, 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 0x168143890; network>, <sqlalchemy.sql.elements.Label at 0x16880b090; station>, <sqlalchemy.sql.elements.Label at 0x168911910; location>, <sqlalchemy.sql.elements.Label at 0x16871c2d0; channel>, <sqlalchemy.sql.elements.Label at 0x1688f78d0; starttime>, <sqlalchemy.sql.elements.Label at 0x1688f6c50; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x168143890; network>, <sqlalchemy.sql.elements.Label at 0x16880b090; station>, <sqlalchemy.sql.elements.Label at 0x168911910; location>, <sqlalchemy.sql.elements.Label at 0x16871c2d0; channel>, <sqlalchemy.sql.elements.Label at 0x1688f78d0; starttime>, <sqlalchemy.sql.elements.Label at 0x1688f6c50; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 141, in test_get_waveforms_bulk
returned_stream = client.get_waveforms_bulk(bulk_request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 288, in get_waveforms_bulk
return self._get_waveforms(query_rows, merge)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 623, in _get_waveforms
index_rows = self.request_handler._fetch_index_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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 0x168143890; network>, <sqlalchemy.sql.elements.Label at 0x16880b090; station>, <sqlalchemy.sql.elements.Label at 0x168911910; location>, <sqlalchemy.sql.elements.Label at 0x16871c2d0; channel>, <sqlalchemy.sql.elements.Label at 0x1688f78d0; starttime>, <sqlalchemy.sql.elements.Label at 0x1688f6c50; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x168143890; network>, <sqlalchemy.sql.elements.Label at 0x16880b090; station>, <sqlalchemy.sql.elements.Label at 0x168911910; location>, <sqlalchemy.sql.elements.Label at 0x16871c2d0; channel>, <sqlalchemy.sql.elements.Label at 0x1688f78d0; starttime>, <sqlalchemy.sql.elements.Label at 0x1688f6c50; endtime>)?
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1546, in _fetch_index_rows
stmts = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1547, in <listcomp>
sa.select([
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 535, 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 0x16887e010; network>, <sqlalchemy.sql.elements.Label at 0x1689e4c50; station>, <sqlalchemy.sql.elements.Label at 0x168919190; location>, <sqlalchemy.sql.elements.Label at 0x16891af90; channel>, <sqlalchemy.sql.elements.Label at 0x16891ac10; starttime>, <sqlalchemy.sql.elements.Label at 0x1688035d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x16887e010; network>, <sqlalchemy.sql.elements.Label at 0x1689e4c50; station>, <sqlalchemy.sql.elements.Label at 0x168919190; location>, <sqlalchemy.sql.elements.Label at 0x16891af90; channel>, <sqlalchemy.sql.elements.Label at 0x16891ac10; starttime>, <sqlalchemy.sql.elements.Label at 0x1688035d0; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 580, in test_has_data
self.assertTrue(client.has_data())
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 558, in has_data
avail_percentage = self.get_availability_percentage(network,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 494, in get_availability_percentage
avail = self.get_availability(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 415, in get_availability
tsindex_rows = self._get_tsindex_rows(network, station,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 679, in _get_tsindex_rows
return self.request_handler._fetch_index_rows(query_rows)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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 0x16887e010; network>, <sqlalchemy.sql.elements.Label at 0x1689e4c50; station>, <sqlalchemy.sql.elements.Label at 0x168919190; location>, <sqlalchemy.sql.elements.Label at 0x16891af90; channel>, <sqlalchemy.sql.elements.Label at 0x16891ac10; starttime>, <sqlalchemy.sql.elements.Label at 0x1688035d0; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x16887e010; network>, <sqlalchemy.sql.elements.Label at 0x1689e4c50; station>, <sqlalchemy.sql.elements.Label at 0x168919190; location>, <sqlalchemy.sql.elements.Label at 0x16891af90; channel>, <sqlalchemy.sql.elements.Label at 0x16891ac10; starttime>, <sqlalchemy.sql.elements.Label at 0x1688035d0; endtime>)?
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1546, in _fetch_index_rows
stmts = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1547, in <listcomp>
sa.select([
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 535, 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 0x1689d0210; network>, <sqlalchemy.sql.elements.Label at 0x16885a4d0; station>, <sqlalchemy.sql.elements.Label at 0x16882fdd0; location>, <sqlalchemy.sql.elements.Label at 0x1689f2bd0; channel>, <sqlalchemy.sql.elements.Label at 0x168883fd0; starttime>, <sqlalchemy.sql.elements.Label at 0x13c7c1e90; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x1689d0210; network>, <sqlalchemy.sql.elements.Label at 0x16885a4d0; station>, <sqlalchemy.sql.elements.Label at 0x16882fdd0; location>, <sqlalchemy.sql.elements.Label at 0x1689f2bd0; channel>, <sqlalchemy.sql.elements.Label at 0x168883fd0; starttime>, <sqlalchemy.sql.elements.Label at 0x13c7c1e90; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 773, in test_build_file_list
self.assertRaisesRegex(OSError,
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 1318, in assertRaisesRegex
return context.handle('assertRaisesRegex', args, kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 237, in handle
callable_obj(*args, **kwargs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1064, in build_file_list
tsindex = self.request_handler._fetch_index_rows()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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 0x1689d0210; network>, <sqlalchemy.sql.elements.Label at 0x16885a4d0; station>, <sqlalchemy.sql.elements.Label at 0x16882fdd0; location>, <sqlalchemy.sql.elements.Label at 0x1689f2bd0; channel>, <sqlalchemy.sql.elements.Label at 0x168883fd0; starttime>, <sqlalchemy.sql.elements.Label at 0x13c7c1e90; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x1689d0210; network>, <sqlalchemy.sql.elements.Label at 0x16885a4d0; station>, <sqlalchemy.sql.elements.Label at 0x16882fdd0; location>, <sqlalchemy.sql.elements.Label at 0x1689f2bd0; channel>, <sqlalchemy.sql.elements.Label at 0x168883fd0; starttime>, <sqlalchemy.sql.elements.Label at 0x13c7c1e90; endtime>)?
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1726, in _fetch_summary_rows
stmts = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tsindex.py", line 1727, in <listcomp>
sa.select([
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/_selectable_constructors.py", line 489, in select
return Select(*entities)
^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5130, in __init__
self._raw_columns = [
^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/selectable.py", line 5131, in <listcomp>
coercions.expect(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 413, in expect
resolved = impl._literal_coercion(
^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 651, in _literal_coercion
self._raise_for_expected(element, argname)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 1139, in _raise_for_expected
return super()._raise_for_expected(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 710, in _raise_for_expected
super()._raise_for_expected(
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/sqlalchemy/sql/coercions.py", line 535, 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 0x168802890; network>, <sqlalchemy.sql.elements.Label at 0x168913a10; station>, <sqlalchemy.sql.elements.Label at 0x1689dc3d0; location>, <sqlalchemy.sql.elements.Label at 0x1689dc710; channel>, <sqlalchemy.sql.elements.Label at 0x1688f8a10; starttime>, <sqlalchemy.sql.elements.Label at 0x1688fb750; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x168802890; network>, <sqlalchemy.sql.elements.Label at 0x168913a10; station>, <sqlalchemy.sql.elements.Label at 0x1689dc3d0; location>, <sqlalchemy.sql.elements.Label at 0x1689dc710; channel>, <sqlalchemy.sql.elements.Label at 0x1688f8a10; starttime>, <sqlalchemy.sql.elements.Label at 0x1688fb750; endtime>)?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/clients/filesystem/tests/test_tsindex.py", line 919, in test__fetch_summary_rows
ts_summary_data = request_handler._fetch_summary_rows(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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 0x168802890; network>, <sqlalchemy.sql.elements.Label at 0x168913a10; station>, <sqlalchemy.sql.elements.Label at 0x1689dc3d0; location>, <sqlalchemy.sql.elements.Label at 0x1689dc710; channel>, <sqlalchemy.sql.elements.Label at 0x1688f8a10; starttime>, <sqlalchemy.sql.elements.Label at 0x1688fb750; endtime>]. Did you mean to say select(<sqlalchemy.sql.elements.Label at 0x168802890; network>, <sqlalchemy.sql.elements.Label at 0x168913a10; station>, <sqlalchemy.sql.elements.Label at 0x1689dc3d0; location>, <sqlalchemy.sql.elements.Label at 0x1689dc710; channel>, <sqlalchemy.sql.elements.Label at 0x1688f8a10; starttime>, <sqlalchemy.sql.elements.Label at 0x1688fb750; endtime>)?

Skipped tests (19)

Submodule Test Skip message
core core/stream.py::obspy.core.stream._is_pickle Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.CatchOutput Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.SuppressOutput Skipped: all tests skipped by +SKIP option
core.util core/util/misc.py::obspy.core.util.misc.TemporaryWorkingDirectory Skipped: all tests skipped by +SKIP option
geodetics geodetics/tests/test_util_geodetics.py::TestUtilGeodetics::test_gps_2_dist_azimuth_bug150 Skipped: Geographiclib installed, not using calc_vincenty_inverse
imaging imaging/tests/test_mopad_script.py::TestMopad::test_script_plot Skipped: Currently broken until further review.
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_slist Skipped: all tests skipped by +SKIP option
io.ascii io/ascii/core.py::obspy.io.ascii.core._is_tspair Skipped: all tests skipped by +SKIP option
io.gcf io/gcf/core.py::obspy.io.gcf.core._write_gcf Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._evmagtonor Skipped: all tests skipped by +SKIP option
io.nordic io/nordic/utils.py::obspy.io.nordic.utils._nortoevmag Skipped: all tests skipped by +SKIP option
io.pde io/pde/mchedr.py::obspy.io.pde.mchedr._is_mchedr Skipped: all tests skipped by +SKIP option
io.quakeml io/quakeml/core.py::obspy.io.quakeml.core._is_quakeml Skipped: all tests skipped by +SKIP option
io.seisan io/seisan/core.py::obspy.io.seisan.core._is_seisan Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_asc Skipped: all tests skipped by +SKIP option
io.sh io/sh/core.py::obspy.io.sh.core._is_q Skipped: all tests skipped by +SKIP option
io.wav io/wav/core.py::obspy.io.wav.core._is_wav Skipped: all tests skipped by +SKIP option
io.y io/y/core.py::obspy.io.y.core._is_y Skipped: all tests skipped by +SKIP option
signal signal/quality_control.py::obspy.signal.quality_control.MSEEDMetadata Skipped: all tests skipped by +SKIP option

Slowest tests (20)

Runtime Test
5.806s core/tests/test_waveform_plugins.py::TestWaveformPlugins::test_is_format
5.275s io/xseed/tests/test_core.py::CoreTestCase::test_response_calculation_from_seed_and_xseed
3.302s io/mseed/tests/test_mseed_reading_and_writing.py::MSEEDReadingAndWritingTestCase::test_read_and_write_traces
2.786s core/tests/test_event.py::TestEvent::test_plot_farfield_without_quiver_with_maps
2.564s clients/filesystem/tests/test_sds.py::SDSTestCase::test_read_from_sds_with_wildcarded_seed_ids
2.225s core/tests/test_waveform_plugins.py::TestWaveformPlugins::test_read_and_write
1.591s io/mseed/tests/test_mseed_special_issues.py::MSEEDSpecialIssueTestCase::test_infinite_loop
1.525s signal/tests/test_calibration.py::CalibrationTestCase::test_relcal_different_overlaps
1.419s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_w_iris_against_obspy_results
1.387s taup/__init__.py::obspy.taup
1.376s taup/tests/test_tau.py::TestTauPyModel::test_regional_models
1.310s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_shoot_existing_ray_param
0.958s io/mseed/tests/test_mseed_special_issues.py::MSEEDSpecialIssueTestCase::test_long_year_range
0.929s signal/tests/test_cross_correlation.py::TestCrossCorrelation::test_correlate_stream_template_and_correlation_detector
0.913s core/stream.py::obspy.core.stream.read
0.901s taup/tests/test_seismic_phase.py::TestTauPySeismicPhase::test_many_identically_named_phases
0.693s clients/filesystem/tests/test_sds.py::SDSTestCase::test_sds_report
0.670s io/mseed/tests/test_mseed_reading_and_writing.py::MSEEDReadingAndWritingTestCase::test_libmseed_test_cases
0.667s signal/tests/test_spectral_estimation.py::TestPsd::test_ppsd_restricted_stacks
0.645s clients/filesystem/tests/test_sds.py::SDSTestCase::test_get_all_stations_and_nslc

Warnings (9)

Stage Filename Category Message
runtest /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/imaging/scripts/scan.py:437 UserWarning The figure layout has changed to tight
runtest /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/cartopy/crs.py:827 DeprecationWarning The 'geom_factory' function is deprecated in Shapely 2.0, and will be removed in a future version
runtest /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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).
collect /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/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 /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/multiprocessing/resource_tracker.py:104 UserWarning resource_tracker: process died unexpectedly, relaunching. Some resources might leak.
runtest /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/cartopy/crs.py:814 DeprecationWarning The 'geom_factory' function is deprecated in Shapely 2.0, and will be removed in a future version
config /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_pytest/stepwise.py:56 PytestCacheWarning could not create cache path /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/.pytest_cache/v/cache/stepwise: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/.pytest_cache'
config /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_pytest/cacheprovider.py:451 PytestCacheWarning could not create cache path /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/.pytest_cache/v/cache/nodeids: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/.pytest_cache'
config /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/_pytest/cacheprovider.py:405 PytestCacheWarning could not create cache path /opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/.pytest_cache/v/cache/lastfailed: [Errno 13] Permission denied: '/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/obspy/.pytest_cache'