#159060 Report by node localhost covering 243 tests from 18 modules resulted into 105 errors
Report
- ObsPy version
- 0.0.0.dev0+.g70097b6a1a
- GitHub Pull Request
- -
- Report file
- XML document
- Total runtime
- 1.2 sec
- Report date/time
- Aug. 12, 2026, 10:10 a.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- localhost
- Processor
- x86_64
- Python Compiler
- GCC 11.4.0
- Python Implementation
- CPython
- Python Version
- 3.10.12
- Release
- 6.18.39-rFBS0e6b625b863de1
- System
- Linux
- Version
- #1 SMP PREEMPT_DYNAMIC Tue Jul 21 14:21:08 UTC 2026
Dependencies
- flake8
- 7.3.0
- future
- 1.0.0
- lxml.etree
- 4.8.0
- matplotlib
- 3.5.3
- mock
- Not Installed
- mpl_toolkits.basemap
- Not Installed
- numpy
- 1.21.6
- pyflakes
- 3.4.0
- pyimgur
- Not Installed
- scipy
- 1.8.1
- sqlalchemy
- 2.0.52
- suds
- Not Installed
Modules (18)
| Module | Errors / Failures | Tracebacks | ||||
|---|---|---|---|---|---|---|
| obspy.ah | 1 | 4 | 4 | - | 0.01s | 1 |
| obspy.arclink | Not tested | - | - | - | - | - |
| obspy.cnv | 1 | 1 | 1 | - | 0.00s | 2 |
| obspy.core | Not tested | - | - | - | - | - |
| obspy.css | 2 | 4 | 4 | - | 0.12s | 3 4 |
| obspy.datamark | 1 | 2 | 2 | - | 0.02s | 5 |
| obspy.db | Not tested | - | - | - | - | - |
| obspy.earthworm | Not tested | - | - | - | - | - |
| obspy.fdsn | Not tested | - | - | - | - | - |
| obspy.gse2 | Not tested | - | - | - | - | - |
| obspy.imaging | Not tested | - | - | - | - | - |
| obspy.iris | Not tested | - | - | - | - | - |
| obspy.kinemetrics | 3 | 7 | 7 | - | 0.12s | 6 7 8 |
| obspy.mseed | Not tested | - | - | - | - | - |
| obspy.ndk | 15 | 20 | 20 | - | 0.05s | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
| obspy.neic | Not tested | - | - | - | - | - |
| obspy.neries | Not tested | - | - | - | - | - |
| obspy.nlloc | 5 | 6 | 6 | - | 0.04s | 24 25 26 27 28 |
| obspy.pdas | 1 | 3 | 3 | - | 0.01s | 29 |
| obspy.pde | 2 | 13 | 13 | - | 0.09s | 30 31 |
| obspy.realtime | Not tested | - | - | - | - | - |
| obspy.sac | 34 | 88 | 88 | - | 0.13s | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
| obspy.seedlink | Not tested | - | - | - | - | - |
| obspy.seg2 | 1 | 1 | 1 | - | 0.00s | 66 |
| obspy.segy | Not tested | - | - | - | - | - |
| obspy.seisan | 3 | 8 | 8 | - | 0.02s | 67 68 69 |
| obspy.seishub | Not tested | - | - | - | - | - |
| obspy.sh | 6 | 17 | 17 | - | 0.05s | 70 71 72 73 74 75 |
| obspy.signal | 1 | 1 | 1 | - | 0.00s | 76 |
| obspy.station | Not tested | - | - | - | - | - |
| obspy.taup | Not tested | - | - | - | - | - |
| obspy.wav | 6 | 8 | 7 | 1 | 0.01s | 77 78 79 80 81 82 |
| obspy.xseed | 9 | 43 | 43 | - | 0.52s | 83 84 85 86 87 88 89 90 91 |
| obspy.y | 1 | 4 | 4 | - | 0.01s | 92 |
| obspy.zmap | 13 | 13 | 13 | - | 0.02s | 93 94 95 96 97 98 99 100 101 102 103 104 105 |
| Summary | 105 | 243 | 242 | 1 | 1.23s | 105 |
Tracebacks (105)
Traceback (most recent call last): File "/app/repo/obspy/ah/tests/test_core.py", line 66, in test_read st = read(testfile) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/ah/tests/data/hrv.lh.zne
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'QUAKEML' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/cnv/tests/test_core.py", line 31, in test_write_cnv cat = readEvents(filename, format="QUAKEML") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "QUAKEML" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/css/tests/test_core.py", line 76, in test_readViaObsPy st = read(self.filename) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/css/tests/data/test.wfdisc
Traceback (most recent call last): File "/app/repo/obspy/css/tests/test_station.py", line 65, in test_default_write inv = obspy.station.read_inventory() File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/station/inventory.py", line 52, in read_inventory return _createExampleInventory() File "/app/repo/obspy/station/inventory.py", line 36, in _createExampleInventory return read_inventory('/path/to/BW_GR_misc.xml.gz', format="STATIONXML") File "/app/repo/obspy/core/util/decorator.py", line 302, in new_func args[ind] = getExampleFile(args[ind][9:]) File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat'
Traceback (most recent call last): File "/app/repo/obspy/datamark/tests/test_core.py", line 32, in test_readViaObsPy st = read(filename) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/datamark/tests/data/10030302.00
Traceback (most recent call last): File "/app/repo/obspy/kinemetrics/tests/test_core.py", line 82, in test_read_via_ObsPy st = read(filename) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/kinemetrics/tests/data/BI008_MEMA-04823.evt
Traceback (most recent call last): File "/app/repo/obspy/core/stream.py", line 210, in read stream = _read(pathname_or_url, format, headonly, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 148, in wrapped_func return func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file <_io.BytesIO object at 0x7fe634078bd0> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/kinemetrics/tests/test_core.py", line 131, in test_reading_via_obspy_and_bytesio st = read(buf) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 218, in read st.extend(_read(fh.name, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /tmp/obspy-dv1iyxu3.tmp
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.kinemetrics.__init__ File "/app/repo/obspy/kinemetrics/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/app/repo/obspy/kinemetrics/__init__.py", line 24, in obspy.kinemetrics.__init__ Failed example: st = read("/path/to/BI008_MEMA-04823.evt") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.kinemetrics.__init__[1]>", line 1, in <module> st = read("/path/to/BI008_MEMA-04823.evt") File "/app/repo/obspy/core/util/decorator.py", line 302, in new_func args[ind] = getExampleFile(args[ind][9:]) File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat' ---------------------------------------------------------------------- File "/app/repo/obspy/kinemetrics/__init__.py", line 25, in obspy.kinemetrics.__init__ Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.kinemetrics.__init__[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/kinemetrics/__init__.py", line 27, in obspy.kinemetrics.__init__ Failed example: print (st) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.kinemetrics.__init__[3]>", line 1, in <module> print (st) # doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/kinemetrics/__init__.py", line 45, in obspy.kinemetrics.__init__ Failed example: stats_evt = st[0].stats.pop('kinemetrics_evt') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.kinemetrics.__init__[4]>", line 1, in <module> stats_evt = st[0].stats.pop('kinemetrics_evt') NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/kinemetrics/__init__.py", line 46, in obspy.kinemetrics.__init__ Failed example: print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.kinemetrics.__init__[5]>", line 1, in <module> print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/kinemetrics/__init__.py", line 58, in obspy.kinemetrics.__init__ Failed example: for k, v in sorted(stats_evt.items()): print(k, v) # doctest: +ELLIPSIS, +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.kinemetrics.__init__[6]>", line 1, in <module> for k, v in sorted(stats_evt.items()): NameError: name 'stats_evt' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/kinemetrics/__init__.py", line 98, in obspy.kinemetrics.__init__ Failed example: type(st[0].data) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.kinemetrics.__init__[7]>", line 1, in <module> type(st[0].data) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/kinemetrics/__init__.py", line 100, in obspy.kinemetrics.__init__ Failed example: print(st[0].data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.kinemetrics.__init__[8]>", line 1, in <module> print(st[0].data) NameError: name 'st' is not defined
Traceback (most recent call last): File "/app/repo/obspy/core/event.py", line 109, in readEvents catalog = _read(pathname_or_url, format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 148, in wrapped_func return func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file <_io.StringIO object at 0x7fe634193b50> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 280, in test_missing_lines cat = readEvents(data) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 115, in readEvents fh.write(pathname_or_url.read()) File "/app/repo/obspy/core/util/base.py", line 96, in write return self._fileobj.write(*args, **kwargs) TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last): File "/app/repo/obspy/core/event.py", line 109, in readEvents catalog = _read(pathname_or_url, format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 148, in wrapped_func return func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file <_io.StringIO object at 0x7fe634193b50> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 318, in test_raise_exception_if_no_events_in_file self.assertRaises(ObsPyNDKException, readEvents, data) File "/usr/lib/python3.10/unittest/case.py", line 738, in assertRaises return context.handle('assertRaises', args, kwargs) File "/usr/lib/python3.10/unittest/case.py", line 201, in handle callable_obj(*args, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 115, in readEvents fh.write(pathname_or_url.read()) File "/app/repo/obspy/core/util/base.py", line 96, in write return self._fileobj.write(*args, **kwargs) TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last): File "/app/repo/obspy/ndk/core.py", line 180, in lines_iter raise StopIteration StopIteration The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 47, in test_read_multiple_events cat = read_ndk(filename) File "/app/repo/obspy/ndk/core.py", line 187, in read_ndk for _i, lines in enumerate(itertools.zip_longest(*[lines_iter()] * 5)): RuntimeError: generator raised StopIteration
Traceback (most recent call last): File "/app/repo/obspy/ndk/core.py", line 180, in lines_iter raise StopIteration StopIteration The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 34, in test_read_single_ndk cat = read_ndk(filename) File "/app/repo/obspy/ndk/core.py", line 187, in read_ndk for _i, lines in enumerate(itertools.zip_longest(*[lines_iter()] * 5)): RuntimeError: generator raised StopIteration
Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 297, in test_reading_event_with_faulty_but_often_occurring_timestamp cat = readEvents(filename) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/ndk/tests/data/faulty_cmt_timestamp.ndk
Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 220, in test_reading_file_with_multiple_errors cat = readEvents(filename) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/ndk/tests/data/faulty_multiple_events.ndk
Traceback (most recent call last): File "/app/repo/obspy/core/event.py", line 109, in readEvents catalog = _read(pathname_or_url, format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 148, in wrapped_func return func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file <_io.BytesIO object at 0x7fe633dc3dd0> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 132, in test_reading_from_bytes_io cat = readEvents(file_object) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 116, in readEvents catalog = _read(fh.name, format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /tmp/obspy-0o8ak90_.tmp
Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 257, in test_reading_from_bytestring ref_cat = readEvents(reference) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/ndk/tests/data/C200604092050A.xml
Traceback (most recent call last): File "/app/repo/obspy/core/event.py", line 109, in readEvents catalog = _read(pathname_or_url, format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 148, in wrapped_func return func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file <_io.BufferedReader name='/app/repo/obspy/ndk/tests/data/C200604092050A.ndk'> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 159, in test_reading_from_open_file_in_binary_mode cat = readEvents(fh) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 116, in readEvents catalog = _read(fh.name, format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /tmp/obspy-gv_x3q89.tmp
Traceback (most recent call last): File "/app/repo/obspy/core/event.py", line 109, in readEvents catalog = _read(pathname_or_url, format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 148, in wrapped_func return func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file <_io.TextIOWrapper name='/app/repo/obspy/ndk/tests/data/C200604092050A.ndk' mode='rt' encoding='UTF-8'> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 146, in test_reading_from_open_file_in_text_mode cat = readEvents(fh) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 115, in readEvents fh.write(pathname_or_url.read()) File "/app/repo/obspy/core/util/base.py", line 96, in write return self._fileobj.write(*args, **kwargs) TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 240, in test_reading_from_string ref_cat = readEvents(reference) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/ndk/tests/data/C200604092050A.xml
Traceback (most recent call last): File "/app/repo/obspy/core/event.py", line 109, in readEvents catalog = _read(pathname_or_url, format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 148, in wrapped_func return func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file <_io.StringIO object at 0x7fe634193eb0> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 116, in test_reading_from_string_io cat = readEvents(file_object) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 115, in readEvents fh.write(pathname_or_url.read()) File "/app/repo/obspy/core/util/base.py", line 96, in write return self._fileobj.write(*args, **kwargs) TypeError: a bytes-like object is required, not 'str'
Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 172, in test_reading_the_same_file_twice_does_not_raise_a_warnings cat_1 = readEvents(filename) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/ndk/tests/data/C200604092050A.ndk
Traceback (most recent call last): File "/app/repo/obspy/ndk/tests/test_ndk.py", line 101, in test_reading_using_obspy_plugin cat = readEvents(filename) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/ndk/tests/data/C200604092050A.ndk
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.ndk.__init__ File "/app/repo/obspy/ndk/__init__.py", line 2, in __init__ ---------------------------------------------------------------------- File "/app/repo/obspy/ndk/__init__.py", line 60, in obspy.ndk.__init__ Failed example: cat = obspy.readEvents("/path/to/C200604092050A.ndk") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.ndk.__init__[1]>", line 1, in <module> cat = obspy.readEvents("/path/to/C200604092050A.ndk") File "/app/repo/obspy/core/util/decorator.py", line 302, in new_func args[ind] = getExampleFile(args[ind][9:]) File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat' ---------------------------------------------------------------------- File "/app/repo/obspy/ndk/__init__.py", line 61, in obspy.ndk.__init__ Failed example: print(cat) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.ndk.__init__[2]>", line 1, in <module> print(cat) NameError: name 'cat' is not defined
Traceback (most recent call last): File "/app/repo/obspy/nlloc/tests/test_core.py", line 128, in test_is_nlloc_hyp filename = getExampleFile("nlloc.hyp") File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat'
Traceback (most recent call last): File "/app/repo/obspy/nlloc/tests/test_core.py", line 85, in test_read_nlloc_hyp filename = getExampleFile("nlloc.hyp") File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat'
Traceback (most recent call last): File "/app/repo/obspy/nlloc/tests/test_core.py", line 120, in test_read_nlloc_hyp_via_plugin filename = getExampleFile("nlloc.hyp") File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat'
Traceback (most recent call last): File "/app/repo/obspy/nlloc/tests/test_core.py", line 142, in test_read_nlloc_with_picks picks = readEvents(getExampleFile("nlloc.qml"))[0].picks File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat'
Traceback (most recent call last): File "/app/repo/obspy/nlloc/tests/test_core.py", line 50, in test_write_nlloc_obs filename = getExampleFile("nlloc.qml") File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat'
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.pdas.core.readPDAS File "/app/repo/obspy/pdas/core.py", line 44, in readPDAS ---------------------------------------------------------------------- File "/app/repo/obspy/pdas/core.py", line 60, in obspy.pdas.core.readPDAS Failed example: st = read("/path/to/p1246001.108") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.pdas.core.readPDAS[1]>", line 1, in <module> st = read("/path/to/p1246001.108") File "/app/repo/obspy/core/util/decorator.py", line 302, in new_func args[ind] = getExampleFile(args[ind][9:]) File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat' ---------------------------------------------------------------------- File "/app/repo/obspy/pdas/core.py", line 61, in obspy.pdas.core.readPDAS Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.pdas.core.readPDAS[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/pdas/core.py", line 63, in obspy.pdas.core.readPDAS Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.pdas.core.readPDAS[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
Traceback (most recent call last): File "/app/repo/obspy/pde/tests/test_mchedr.py", line 329, in test_readEvents catalog = readEvents(filename) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/pde/tests/data/mchedr.dat
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.pde.mchedr.readMchedr File "/app/repo/obspy/pde/mchedr.py", line 295, in readMchedr ---------------------------------------------------------------------- File "/app/repo/obspy/pde/mchedr.py", line 312, in obspy.pde.mchedr.readMchedr Failed example: cat = readEvents('/path/to/mchedr.dat') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.pde.mchedr.readMchedr[1]>", line 1, in <module> cat = readEvents('/path/to/mchedr.dat') File "/app/repo/obspy/core/util/decorator.py", line 302, in new_func args[ind] = getExampleFile(args[ind][9:]) File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat' ---------------------------------------------------------------------- File "/app/repo/obspy/pde/mchedr.py", line 313, in obspy.pde.mchedr.readMchedr Failed example: print(cat) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.pde.mchedr.readMchedr[2]>", line 1, in <module> print(cat) NameError: name 'cat' is not defined
Traceback (most recent call last): File "/app/repo/obspy/core/stream.py", line 1409, in write format_ep = ENTRY_POINTS['waveform_write'][format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 226, in test_convert2Sac st.write(tmpfile, format="SAC") File "/app/repo/obspy/core/stream.py", line 1416, in write raise TypeError(msg % (format, TypeError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 261, in test_defaultValues tr = read(self.file)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/test.sac
Traceback (most recent call last): File "/app/repo/obspy/core/stream.py", line 1409, in write format_ep = ENTRY_POINTS['waveform_write'][format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 332, in test_issue156 tr.write(sac_file, 'SAC') File "/app/repo/obspy/core/trace.py", line 895, in write Stream([self]).write(filename, format, **kwargs) File "/app/repo/obspy/core/stream.py", line 1416, in write raise TypeError(msg % (format, TypeError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 429, in test_issue390 tr = read(self.file, headonly=True, debug_headers=True)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/test.sac
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 244, in test_iztype11 tr = read(sod_file)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/dis.G.SCZ.__.BHE_short
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 365, in test_notUsedButGivenHeaders tr1 = read(self.file)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/test.sac
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 404, in test_nullTerminatedStrings tr = read(null_file)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/null_terminated.sac
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 185, in test_readAndWriteViaObsPy tr = read(self.file)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/test.sac
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 106, in test_readBigEndianViaObsPy tr = read(self.filebe, format='SAC')[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 147, in test_readHeadViaObsPy tr = read(self.file, format='SAC', headonly=True)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 43, in test_readViaObsPy tr = read(self.file, format='SAC')[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'SACXY' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 76, in test_readXYwriteXYViaObsPy tr = read(self.filexy, format='SACXY')[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "SACXY" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/core/stream.py", line 210, in read stream = _read(pathname_or_url, format, headonly, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 148, in wrapped_func return func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file <_io.BytesIO object at 0x7fe63804d0d0> During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 584, in test_read_via_obspy_from_bytes_io tr = read(buf)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 218, in read st.extend(_read(fh.name, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /tmp/obspy-e_tql1bg.tmp
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 465, in test_read_with_fsize self.assertRaises(SacError, read, longer_file) File "/usr/lib/python3.10/unittest/case.py", line 738, in assertRaises return context.handle('assertRaises', args, kwargs) File "/usr/lib/python3.10/unittest/case.py", line 201, in handle callable_obj(*args, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/seism-longer.sac
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 58, in test_readwriteViaObsPy tr = read(self.file, format='SAC')[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 87, in test_readwriteXYViaObsPy tr = read(self.file, format='SAC')[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 274, in test_referenceTime tr = read(file)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/seism.sac
Traceback (most recent call last): File "/app/repo/obspy/core/stream.py", line 1409, in write format_ep = ENTRY_POINTS['waveform_write'][format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 176, in test_setVersion st.write(tempfile, format="SAC") File "/app/repo/obspy/core/stream.py", line 1416, in write raise TypeError(msg % (format, TypeError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 120, in test_swapbytesViaObsPy trbe = read(self.filebe, format='SAC')[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 302, in test_undefinedB tr = read(self.file)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/test.sac
Traceback (most recent call last): File "/app/repo/obspy/core/stream.py", line 1409, in write format_ep = ENTRY_POINTS['waveform_write'][format] KeyError: 'SACXY' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 356, in test_writeSACXYWithMinimumStats tr.write(sac_file, 'SACXY') File "/app/repo/obspy/core/trace.py", line 895, in write Stream([self]).write(filename, format, **kwargs) File "/app/repo/obspy/core/stream.py", line 1416, in write raise TypeError(msg % (format, TypeError: Writing format "SACXY" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/core/stream.py", line 1409, in write format_ep = ENTRY_POINTS['waveform_write'][format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 418, in test_writeSmallTrace tr.write(tempfile, format=format) File "/app/repo/obspy/core/trace.py", line 895, in write Stream([self]).write(filename, format, **kwargs) File "/app/repo/obspy/core/stream.py", line 1416, in write raise TypeError(msg % (format, TypeError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/core/stream.py", line 1409, in write format_ep = ENTRY_POINTS['waveform_write'][format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 164, in test_writeViaObsPy st.write(tempfile, format='SAC') File "/app/repo/obspy/core/stream.py", line 1416, in write raise TypeError(msg % (format, TypeError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 595, in test_write_via_obspy_to_bytes_io tr = read(self.file)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/test.sac
Traceback (most recent call last): File "/app/repo/obspy/core/stream.py", line 1409, in write format_ep = ENTRY_POINTS['waveform_write'][format] KeyError: 'SAC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 392, in test_writingMicroSeconds st.write(tmpfile, format="SAC") File "/app/repo/obspy/core/stream.py", line 1416, in write raise TypeError(msg % (format, TypeError: Writing format "SAC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 725, in test_writing_to_file_like_objects_with_obspy st = read()[:1] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 204, in read st = _createExampleStream(headonly=headonly) File "/app/repo/obspy/core/stream.py", line 317, in _createExampleStream inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml")) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/station/inventory.py", line 53, in read_inventory return _readFromPlugin("inventory", path_or_file_object, format=format)[0] File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/core/data/BW_RJOB.xml
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 569, in test_writing_to_io_string_io_fails st = read()[:1] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 204, in read st = _createExampleStream(headonly=headonly) File "/app/repo/obspy/core/stream.py", line 317, in _createExampleStream inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml")) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/station/inventory.py", line 53, in read_inventory return _readFromPlugin("inventory", path_or_file_object, format=format)[0] File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/core/data/BW_RJOB.xml
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_core.py", line 561, in test_writing_to_obj_with_multiple_traces_fails st = read() File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 204, in read st = _createExampleStream(headonly=headonly) File "/app/repo/obspy/core/stream.py", line 317, in _createExampleStream inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml")) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/station/inventory.py", line 53, in read_inventory return _readFromPlugin("inventory", path_or_file_object, format=format)[0] File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/core/data/BW_RJOB.xml
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_sacio.py", line 373, in test_issue171 tr = read()[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 204, in read st = _createExampleStream(headonly=headonly) File "/app/repo/obspy/core/stream.py", line 317, in _createExampleStream inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml")) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/station/inventory.py", line 53, in read_inventory return _readFromPlugin("inventory", path_or_file_object, format=format)[0] File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/core/data/BW_RJOB.xml
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_sacpz.py", line 49, in test_write_SACPZ_multiple_channels inv = read_inventory("/path/to/IU_ANMO_BH.xml") File "/app/repo/obspy/core/util/decorator.py", line 302, in new_func args[ind] = getExampleFile(args[ind][9:]) File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat'
Traceback (most recent call last): File "/app/repo/obspy/sac/tests/test_sacpz.py", line 33, in test_write_SACPZ_single_channel inv = read_inventory("/path/to/IU_ANMO_00_BHZ.xml") File "/app/repo/obspy/core/util/decorator.py", line 302, in new_func args[ind] = getExampleFile(args[ind][9:]) File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat'
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.sac.__init__ File "/app/repo/obspy/sac/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/app/repo/obspy/sac/__init__.py", line 20, in obspy.sac.__init__ Failed example: st = read('/path/to/test.sac') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sac.__init__[1]>", line 1, in <module> st = read('/path/to/test.sac') File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sac/tests/data/test.sac ---------------------------------------------------------------------- File "/app/repo/obspy/sac/__init__.py", line 21, in obspy.sac.__init__ Failed example: st #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sac.__init__[2]>", line 1, in <module> st #doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/sac/__init__.py", line 23, in obspy.sac.__init__ Failed example: print(st) #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sac.__init__[3]>", line 1, in <module> print(st) #doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/sac/__init__.py", line 35, in obspy.sac.__init__ Failed example: print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sac.__init__[4]>", line 1, in <module> print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/sac/__init__.py", line 48, in obspy.sac.__init__ Failed example: print(st[0].stats.sac.dist) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sac.__init__[5]>", line 1, in <module> print(st[0].stats.sac.dist) NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/sac/__init__.py", line 53, in obspy.sac.__init__ Failed example: st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sac.__init__[6]>", line 1, in <module> st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE NameError: name 'st' is not defined
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.sac.core.writeSAC File "/app/repo/obspy/sac/core.py", line 396, in writeSAC ---------------------------------------------------------------------- File "/app/repo/obspy/sac/core.py", line 421, in obspy.sac.core.writeSAC Failed example: st = read() Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sac.core.writeSAC[1]>", line 1, in <module> st = read() File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 204, in read st = _createExampleStream(headonly=headonly) File "/app/repo/obspy/core/stream.py", line 317, in _createExampleStream inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml")) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/station/inventory.py", line 53, in read_inventory return _readFromPlugin("inventory", path_or_file_object, format=format)[0] File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/core/data/BW_RJOB.xml
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.sac.core.writeSACXY File "/app/repo/obspy/sac/core.py", line 246, in writeSACXY ---------------------------------------------------------------------- File "/app/repo/obspy/sac/core.py", line 267, in obspy.sac.core.writeSACXY Failed example: st = read() Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sac.core.writeSACXY[1]>", line 1, in <module> st = read() File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 204, in read st = _createExampleStream(headonly=headonly) File "/app/repo/obspy/core/stream.py", line 317, in _createExampleStream inv = read_inventory(os.path.join(data_dir, "BW_RJOB.xml")) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/station/inventory.py", line 53, in read_inventory return _readFromPlugin("inventory", path_or_file_object, format=format)[0] File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/core/data/BW_RJOB.xml
Traceback (most recent call last): File "/app/repo/obspy/seg2/tests/test_seg2.py", line 81, in test_readDataFormat2 st = read(basename + ".seg2.gz") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 207, in wrapped_func stream = func(tempfile.name, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /tmp/obspy-vmbttryk.tmp
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'SEISAN' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/seisan/tests/test_core.py", line 113, in test_readSEISANVsReference st = read(_file, format='SEISAN') File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "SEISAN" is not supported. Supported types:
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.seisan.__init__ File "/app/repo/obspy/seisan/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/app/repo/obspy/seisan/__init__.py", line 23, in obspy.seisan.__init__ Failed example: st = read("/path/to/2001-01-13-1742-24S.KONO__004") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.seisan.__init__[1]>", line 1, in <module> st = read("/path/to/2001-01-13-1742-24S.KONO__004") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/seisan/tests/data/2001-01-13-1742-24S.KONO__004 ---------------------------------------------------------------------- File "/app/repo/obspy/seisan/__init__.py", line 24, in obspy.seisan.__init__ Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.seisan.__init__[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/seisan/__init__.py", line 26, in obspy.seisan.__init__ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.seisan.__init__[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/seisan/__init__.py", line 37, in obspy.seisan.__init__ Failed example: print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.seisan.__init__[4]>", line 1, in <module> print(st[0].stats) # doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/seisan/__init__.py", line 52, in obspy.seisan.__init__ Failed example: print(st[0].data) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.seisan.__init__[5]>", line 1, in <module> print(st[0].data) NameError: name 'st' is not defined
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.seisan.core.readSEISAN File "/app/repo/obspy/seisan/core.py", line 117, in readSEISAN ---------------------------------------------------------------------- File "/app/repo/obspy/seisan/core.py", line 133, in obspy.seisan.core.readSEISAN Failed example: st = read("/path/to/2001-01-13-1742-24S.KONO__004") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.seisan.core.readSEISAN[1]>", line 1, in <module> st = read("/path/to/2001-01-13-1742-24S.KONO__004") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/seisan/tests/data/2001-01-13-1742-24S.KONO__004 ---------------------------------------------------------------------- File "/app/repo/obspy/seisan/core.py", line 134, in obspy.seisan.core.readSEISAN Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.seisan.core.readSEISAN[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/seisan/core.py", line 136, in obspy.seisan.core.readSEISAN Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.seisan.core.readSEISAN[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'SH_ASC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sh/tests/test_core.py", line 147, in test_readAndWriteMultiChannelASCFileViaObsPy stream1 = read(origfile, format="SH_ASC") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "SH_ASC" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'Q' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sh/tests/test_core.py", line 204, in test_readAndWriteMultiChannelQFileViaObsPy stream1 = read(origfile, format="Q") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "Q" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/core/stream.py", line 1409, in write format_ep = ENTRY_POINTS['waveform_write'][format] KeyError: 'SH_ASC' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/sh/tests/test_core.py", line 260, in test_writeSmallTrace tr.write(tempfile, format=format) File "/app/repo/obspy/core/trace.py", line 895, in write Stream([self]).write(filename, format, **kwargs) File "/app/repo/obspy/core/stream.py", line 1416, in write raise TypeError(msg % (format, TypeError: Writing format "SH_ASC" is not supported. Supported types:
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.sh.__init__ File "/app/repo/obspy/sh/__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "/app/repo/obspy/sh/__init__.py", line 23, in obspy.sh.__init__ Failed example: st = read("/path/to/QFILE-TEST-ASC.ASC") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.__init__[1]>", line 1, in <module> st = read("/path/to/QFILE-TEST-ASC.ASC") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sh/tests/data/QFILE-TEST-ASC.ASC ---------------------------------------------------------------------- File "/app/repo/obspy/sh/__init__.py", line 24, in obspy.sh.__init__ Failed example: st #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.__init__[2]>", line 1, in <module> st #doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/sh/__init__.py", line 26, in obspy.sh.__init__ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.__init__[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/sh/__init__.py", line 36, in obspy.sh.__init__ Failed example: print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.__init__[4]>", line 1, in <module> print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/sh/__init__.py", line 50, in obspy.sh.__init__ Failed example: print(st[0].stats.sh['COMMENT']) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.__init__[5]>", line 1, in <module> print(st[0].stats.sh['COMMENT']) NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/sh/__init__.py", line 55, in obspy.sh.__init__ Failed example: st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.__init__[6]>", line 1, in <module> st[0].data #doctest: +ELLIPSIS +NORMALIZE_WHITESPACE NameError: name 'st' is not defined
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.sh.core.readASC File "/app/repo/obspy/sh/core.py", line 96, in readASC ---------------------------------------------------------------------- File "/app/repo/obspy/sh/core.py", line 124, in obspy.sh.core.readASC Failed example: st = read("/path/to/QFILE-TEST-ASC.ASC") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.core.readASC[1]>", line 1, in <module> st = read("/path/to/QFILE-TEST-ASC.ASC") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sh/tests/data/QFILE-TEST-ASC.ASC ---------------------------------------------------------------------- File "/app/repo/obspy/sh/core.py", line 125, in obspy.sh.core.readASC Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.core.readASC[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/sh/core.py", line 127, in obspy.sh.core.readASC Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.core.readASC[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.sh.core.readQ File "/app/repo/obspy/sh/core.py", line 326, in readQ ---------------------------------------------------------------------- File "/app/repo/obspy/sh/core.py", line 367, in obspy.sh.core.readQ Failed example: st = read("/path/to/QFILE-TEST.QHD") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.core.readQ[1]>", line 1, in <module> st = read("/path/to/QFILE-TEST.QHD") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/sh/tests/data/QFILE-TEST.QHD ---------------------------------------------------------------------- File "/app/repo/obspy/sh/core.py", line 368, in obspy.sh.core.readQ Failed example: st #doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.core.readQ[2]>", line 1, in <module> st #doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/sh/core.py", line 370, in obspy.sh.core.readQ Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.sh.core.readQ[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
ImportError: Failed to import test module: signal Traceback (most recent call last): File "/app/repo/obspy/core/util/libnames.py", line 94, in _load_CDLL cdll = ctypes.CDLL(libpath) File "/usr/lib/python3.10/ctypes/__init__.py", line 374, in __init__ self._handle = _dlopen(self._name, mode) OSError: /app/repo/obspy/core/util/../../lib/libsignal_Linux_64bit_py310.cpython-310-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.10/unittest/loader.py", line 154, in loadTestsFromName module = __import__(module_name) File "/app/repo/obspy/signal/__init__.py", line 197, in <module> from obspy.signal.cpxtrace import centroid, instBwith, instFreq, normEnvelope File "/app/repo/obspy/signal/cpxtrace.py", line 26, in <module> from . import util File "/app/repo/obspy/signal/util.py", line 24, in <module> from obspy.signal.headers import clibsignal File "/app/repo/obspy/signal/headers.py", line 18, in <module> clibsignal = _load_CDLL("signal") File "/app/repo/obspy/core/util/libnames.py", line 97, in _load_CDLL raise ImportError(msg) ImportError: Could not load shared library "libsignal_Linux_64bit_py310.cpython-310-x86_64-linux-gnu.so". /app/repo/obspy/core/util/../../lib/libsignal_Linux_64bit_py310.cpython-310-x86_64-linux-gnu.so: cannot open shared object file: No such file or directory
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'WAV' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/wav/tests/test_core.py", line 71, in test_readAndWriteViaObsPy tr = read(self.file, format='WAV')[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "WAV" is not supported. Supported types:
Traceback (most recent call last): File "/app/repo/obspy/wav/tests/test_core.py", line 57, in test_readHeadViaObsPy tr = read(self.file, headonly=True)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/wav/tests/data/3cssan.near.8.1.RNON.wav
Traceback (most recent call last): File "/app/repo/obspy/wav/tests/test_core.py", line 44, in test_readViaObsPy tr = read(self.file)[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/wav/tests/data/3cssan.near.8.1.RNON.wav
Traceback (most recent call last): File "/app/repo/obspy/core/util/base.py", line 408, in _readFromPlugin format_ep = EPS[format] KeyError: 'WAV' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/app/repo/obspy/wav/tests/test_core.py", line 114, in test_writeStreamViaObsPy tr = read(self.file, format='WAV')[0] File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 411, in _readFromPlugin raise TypeError(msg % (format, ', '.join(EPS))) TypeError: Format "WAV" is not supported. Supported types:
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.wav.__init__ File "/app/repo/obspy/wav/__init__.py", line 0, in __init__ ---------------------------------------------------------------------- File "/app/repo/obspy/wav/__init__.py", line 22, in obspy.wav.__init__ Failed example: st = read("/path/to/3cssan.near.8.1.RNON.wav") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.wav.__init__[1]>", line 1, in <module> st = read("/path/to/3cssan.near.8.1.RNON.wav") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/wav/tests/data/3cssan.near.8.1.RNON.wav ---------------------------------------------------------------------- File "/app/repo/obspy/wav/__init__.py", line 23, in obspy.wav.__init__ Failed example: print(st) #doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.wav.__init__[2]>", line 1, in <module> print(st) #doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/wav/__init__.py", line 33, in obspy.wav.__init__ Failed example: print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.wav.__init__[3]>", line 1, in <module> print(st[0].stats) #doctest: +NORMALIZE_WHITESPACE +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/wav/__init__.py", line 48, in obspy.wav.__init__ Failed example: st[0].data Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.wav.__init__[4]>", line 1, in <module> st[0].data NameError: name 'st' is not defined
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.wav.core.readWAV File "/app/repo/obspy/wav/core.py", line 69, in readWAV ---------------------------------------------------------------------- File "/app/repo/obspy/wav/core.py", line 88, in obspy.wav.core.readWAV Failed example: st = read("/path/to/3cssan.near.8.1.RNON.wav") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.wav.core.readWAV[1]>", line 1, in <module> st = read("/path/to/3cssan.near.8.1.RNON.wav") File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/wav/tests/data/3cssan.near.8.1.RNON.wav ---------------------------------------------------------------------- File "/app/repo/obspy/wav/core.py", line 89, in obspy.wav.core.readWAV Failed example: print(st) #doctest: +NORMALIZE_WHITESPACE Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.wav.core.readWAV[2]>", line 1, in <module> print(st) #doctest: +NORMALIZE_WHITESPACE NameError: name 'st' is not defined
Traceback (most recent call last): File "/app/repo/obspy/xseed/tests/test_parser.py", line 673, in test_rotationToZNE st = read(os.path.join(self.path, File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/stream.py", line 231, in read st.extend(_read(file, format, headonly, **kwargs).traces) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/stream.py", line 274, in _read stream, format = _readFromPlugin('waveform', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/xseed/tests/data/II_COCO_three_channel_borehole.mseed
Traceback (most recent call last): File "/app/repo/obspy/xseed/tests/test_fields.py", line 86, in test_readCompactDateTime self.assertEqual(field.write(dt), orig) AssertionError: b'1992,002,00~' != b'1992,002~'
Traceback (most recent call last): File "/app/repo/obspy/xseed/tests/test_fields.py", line 27, in test_readDateTime self.assertEqual(field.write(dt), b'1992,002~') AssertionError: b'1992,002,00:00:00.0000~' != b'1992,002~'
Traceback (most recent call last): File "/app/repo/obspy/xseed/tests/test_parser.py", line 160, in test_blocketteStartsAfterRecord self.assertEqual(b010, blockette.getSEED()) AssertionError: b'0100042 2.4082008,001~2038,001~2009,001~~~' != b'0100051 2.4082008,001,00~2038,001,00~2009,001,00~~~'
Traceback (most recent call last): File "/app/repo/obspy/xseed/tests/test_parser.py", line 55, in test_issue165 self.assertEqual(len(w), 1) AssertionError: 2 != 1
Traceback (most recent call last): File "/app/repo/obspy/xseed/tests/test_parser.py", line 562, in test_missingRequiredDateTimes self.assertEqual(b010, blockette.getSEED()) AssertionError: b'0100034 2.408~2038,001~2009,001~~~' != b'0100062 2.408~2038,001,00:00:00.0000~2009,001,00:00:00.0000~~~'
Traceback (most recent call last): File "/app/repo/obspy/xseed/tests/test_parser.py", line 181, in test_multipleContinuedStationControlHeader self.assertEqual(b010, blockette.getSEED()) AssertionError: b'0100042 2.4082008,001~2038,001~2009,001~~~' != b'0100051 2.4082008,001,00~2038,001,00~2009,001,00~~~'
Traceback (most recent call last): File "/app/repo/obspy/xseed/tests/test_utils.py", line 42, in test_DateTime2String self.assertEqual(DateTime2String(dt), "2008,358") AssertionError: '2008,358,00:00:00.0000' != '2008,358' - 2008,358,00:00:00.0000 + 2008,358
Traceback (most recent call last): File "/app/repo/obspy/xseed/tests/test_utils.py", line 55, in test_DateTime2StringCompact self.assertEqual(DateTime2String(dt, True), "2008,358") AssertionError: '2008,358,00' != '2008,358' - 2008,358,00 ? --- + 2008,358
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.y.core.readY File "/app/repo/obspy/y/core.py", line 85, in readY ---------------------------------------------------------------------- File "/app/repo/obspy/y/core.py", line 104, in obspy.y.core.readY Failed example: st = read("/path/to/YAYT_BHZ_20021223.124800") Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.y.core.readY[1]>", line 1, in <module> st = read("/path/to/YAYT_BHZ_20021223.124800") File "/app/repo/obspy/core/util/decorator.py", line 302, in new_func args[ind] = getExampleFile(args[ind][9:]) File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat' ---------------------------------------------------------------------- File "/app/repo/obspy/y/core.py", line 105, in obspy.y.core.readY Failed example: st # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.y.core.readY[2]>", line 1, in <module> st # doctest: +ELLIPSIS NameError: name 'st' is not defined ---------------------------------------------------------------------- File "/app/repo/obspy/y/core.py", line 107, in obspy.y.core.readY Failed example: print(st) # doctest: +ELLIPSIS Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.y.core.readY[3]>", line 1, in <module> print(st) # doctest: +ELLIPSIS NameError: name 'st' is not defined
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/app/repo/obspy/zmap/tests/test_zmap.py", line 30, in setUp self.catalog = readEvents(path_to_catalog) File "/app/repo/obspy/core/util/decorator.py", line 307, in new_func return func(*args, **kwargs) File "/app/repo/obspy/core/event.py", line 141, in readEvents catalog = _read(pathnames[0], format, **kwargs) File "/app/repo/obspy/core/util/decorator.py", line 215, in wrapped_func result = func(filename, *args, **kwargs) File "/app/repo/obspy/core/event.py", line 153, in _read catalog, format = _readFromPlugin('event', filename, format=format, File "/app/repo/obspy/core/util/base.py", line 403, in _readFromPlugin raise TypeError('Unknown format for file %s' % filename) TypeError: Unknown format for file /app/repo/obspy/zmap/tests/data/neries_events.xml
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.zmap.__init__ File "/app/repo/obspy/zmap/__init__.py", line 1, in __init__ ---------------------------------------------------------------------- File "/app/repo/obspy/zmap/__init__.py", line 22, in obspy.zmap.__init__ Failed example: cat = readEvents('/path/to/zmap_events.txt') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.zmap.__init__[1]>", line 1, in <module> cat = readEvents('/path/to/zmap_events.txt') File "/app/repo/obspy/core/util/decorator.py", line 302, in new_func args[ind] = getExampleFile(args[ind][9:]) File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat' ---------------------------------------------------------------------- File "/app/repo/obspy/zmap/__init__.py", line 23, in obspy.zmap.__init__ Failed example: print(cat) Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.zmap.__init__[2]>", line 1, in <module> print(cat) NameError: name 'cat' is not defined
Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 2221, in runTest raise self.failureException(self.format_failure(new.getvalue())) AssertionError: Failed doctest test for obspy.zmap.core.isZmap File "/app/repo/obspy/zmap/core.py", line 276, in isZmap ---------------------------------------------------------------------- File "/app/repo/obspy/zmap/core.py", line 292, in obspy.zmap.core.isZmap Failed example: isZmap('/path/to/zmap_events.txt') Exception raised: Traceback (most recent call last): File "/usr/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.zmap.core.isZmap[0]>", line 1, in <module> isZmap('/path/to/zmap_events.txt') File "/app/repo/obspy/core/util/decorator.py", line 302, in new_func args[ind] = getExampleFile(args[ind][9:]) File "/app/repo/obspy/core/util/base.py", line 183, in getExampleFile mod = __import__("obspy.%s" % module, File "/app/repo/obspy/taup/__init__.py", line 346, in <module> from .tau import TauPyModel # NOQA File "/app/repo/obspy/taup/tau.py", line 13, in <module> import matplotlib.pyplot as plt File "/usr/local/lib/python3.10/dist-packages/matplotlib/pyplot.py", line 49, in <module> import matplotlib.colorbar File "/usr/local/lib/python3.10/dist-packages/matplotlib/colorbar.py", line 21, in <module> from matplotlib import _api, collections, cm, colors, contour, ticker File "/usr/local/lib/python3.10/dist-packages/matplotlib/contour.py", line 13, in <module> from matplotlib.backend_bases import MouseButton File "/usr/local/lib/python3.10/dist-packages/matplotlib/backend_bases.py", line 46, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/textpath.py", line 11, in <module> from matplotlib.mathtext import MathTextParser File "/usr/local/lib/python3.10/dist-packages/matplotlib/mathtext.py", line 27, in <module> from matplotlib import ( File "/usr/local/lib/python3.10/dist-packages/matplotlib/_mathtext.py", line 30, in <module> ParserElement.enablePackrat() File "/usr/local/lib/python3.10/dist-packages/pyparsing/util.py", line 472, in _inner warnings.warn( pyparsing.warnings.PyparsingDeprecationWarning: 'enablePackrat' deprecated - use 'enable_packrat'
Slowest tests (20)
| Runtime | Test |
|---|---|
| 0.160s | test_createReadAssertAndWriteXSEED (obspy.xseed.tests.test_parser.ParserTestCase) |
| 0.067s | test_writeQuakeML (obspy.pde.tests.test_mchedr.mchedrTestCase) |
| 0.049s | test_read_via_module (obspy.kinemetrics.tests.test_core.CoreTestCase) |
| 0.047s | test_read_via_module_and_bytesio (obspy.kinemetrics.tests.test_core.CoreTestCase) |
| 0.041s | test_dataless2xseed_split (obspy.xseed.tests.test_scripts.ScriptTestCase) |
| 0.039s | test_isCSS (obspy.css.tests.test_core.CoreTestCase) |
| 0.038s | test_getCoordinates (obspy.xseed.tests.test_parser.ParserTestCase) |
| 0.036s | test_readViaModule (obspy.css.tests.test_core.CoreTestCase) |
| 0.034s | test_xseed2dataless (obspy.xseed.tests.test_scripts.ScriptTestCase) |
| 0.029s | test_readViaObsPy (obspy.css.tests.test_core.CoreTestCase) |
| 0.029s | test_dataless2resp (obspy.xseed.tests.test_scripts.ScriptTestCase) |
| 0.027s | test_dataless2xseed (obspy.xseed.tests.test_scripts.ScriptTestCase) |
| 0.027s | test_dataless2resp_zipped (obspy.xseed.tests.test_scripts.ScriptTestCase) |
| 0.024s | test_createRESPFromXSEED (obspy.xseed.tests.test_parser.ParserTestCase) |
| 0.023s | test_readViaModule (obspy.datamark.tests.test_core.CoreTestCase) |
| 0.021s | test_getPAZ (obspy.xseed.tests.test_parser.ParserTestCase) |
| 0.018s | __init__ (obspy.kinemetrics) |
| 0.016s | test_readAndWriteSEED (obspy.xseed.tests.test_parser.ParserTestCase) |
| 0.016s | test_getPAZFromXSEED (obspy.xseed.tests.test_parser.ParserTestCase) |
| 0.016s | test_splitStationsDataless2XSEED (obspy.xseed.tests.test_parser.ParserTestCase) |