#127094 Report by node LAPTOP-4L24QJ37 covering 2010 tests from 60 modules resulted into 9 errors
Report
- ObsPy version
- 1.3.0
- GitHub Pull Request
- -
- Report file
- JSON document
- Total runtime
- 111.5 sec
- Report date/time
- Aug. 26, 2022, 9:16 p.m.
System / Python
- Architecture
- 64bit
- Machine
- x86_64
- Node
- LAPTOP-4L24QJ37
- Processor
- x86_64
- Python Compiler
- GCC 10.4.0
- Python Implementation
- CPython
- Python Version
- 3.10.6
- Release
- 5.10.16.3-microsoft-standard-WSL2
- System
- Linux
- Version
- #1 SMP Fri Apr 2 22:23:49 UTC 2021
Dependencies
- cartopy
- 0.20.3
- decorator
- 5.1.1
- flake8
- ---
- geographiclib
- ---
- lxml
- 4.9.1
- matplotlib
- 3.5.3
- numpy
- 1.23.2
- obspy
- 1.3.0
- pyproj
- 3.3.1
- pytest
- 7.1.2
- pytest-json-report
- 1.5.0
- requests
- 2.28.1
- scipy
- 1.9.0
- setuptools
- 65.3.0
- shapefile
- ---
- sqlalchemy
- 1.4.40
Modules (60)
Module | Errors / Failures | Tracebacks | ||||
---|---|---|---|---|---|---|
obspy.clients.earthworm | Not tested | - | - | - | - | - |
obspy.clients.fdsn | - | 13 | 13 | - | 0.03s | - |
obspy.clients.filesystem | - | 29 | 29 | - | 1.39s | - |
obspy.clients.iris | Not tested | - | - | - | - | - |
obspy.clients.neic | Not tested | - | - | - | - | - |
obspy.clients.nrl | Not tested | - | - | - | - | - |
obspy.clients.seedlink | Not tested | - | - | - | - | - |
obspy.clients.seishub | Not tested | - | - | - | - | - |
obspy.clients.syngine | Not tested | - | - | - | - | - |
obspy.core | 9 | 595 | 594 | 1 | 29.58s | 1 2 3 4 5 6 7 8 9 |
obspy.core.event | - | 18 | 18 | - | 0.12s | - |
obspy.core.inventory | - | 23 | 23 | - | 0.88s | - |
obspy.core.util | - | 23 | 20 | 3 | 0.10s | - |
obspy.db | Not tested | - | - | - | - | - |
obspy.geodetics | - | 21 | 19 | 2 | 0.06s | - |
obspy.imaging | - | 88 | 87 | 1 | 16.07s | - |
obspy.io.ah | - | 5 | 5 | - | 0.05s | - |
obspy.io.arclink | - | 5 | 5 | - | 1.01s | - |
obspy.io.ascii | - | 28 | 26 | 2 | 0.10s | - |
obspy.io.cmtsolution | - | 10 | 10 | - | 0.04s | - |
obspy.io.cnv | - | 1 | 1 | - | 0.01s | - |
obspy.io.css | - | 10 | 10 | - | 0.11s | - |
obspy.io.dmx | - | 5 | 5 | - | 0.02s | - |
obspy.io.focmec | - | 8 | 8 | - | 0.06s | - |
obspy.io.gcf | - | 9 | 9 | - | 0.02s | - |
obspy.io.gse2 | - | 55 | 55 | - | 0.28s | - |
obspy.io.hypodd | - | 9 | 9 | - | 0.11s | - |
obspy.io.iaspei | - | 7 | 7 | - | 0.40s | - |
obspy.io.json | - | 4 | 4 | - | 0.02s | - |
obspy.io.kinemetrics | - | 8 | 8 | - | 0.31s | - |
obspy.io.kml | - | 3 | 3 | - | 0.09s | - |
obspy.io.mseed | - | 127 | 127 | - | 1.14s | - |
obspy.io.ndk | - | 20 | 20 | - | 0.20s | - |
obspy.io.nied | - | 11 | 11 | - | 0.05s | - |
obspy.io.nlloc | - | 13 | 13 | - | 0.14s | - |
obspy.io.nordic | - | 60 | 58 | 2 | 1.14s | - |
obspy.io.pdas | - | 3 | 3 | - | 0.01s | - |
obspy.io.pde | - | 13 | 12 | 1 | 0.18s | - |
obspy.io.quakeml | - | 38 | 37 | 1 | 0.35s | - |
obspy.io.reftek | - | 21 | 21 | - | 0.11s | - |
obspy.io.rg16 | - | 38 | 38 | - | 0.11s | - |
obspy.io.sac | - | 96 | 96 | - | 0.33s | - |
obspy.io.scardec | - | 5 | 5 | - | 0.05s | - |
obspy.io.seg2 | - | 2 | 2 | - | 0.01s | - |
obspy.io.segy | - | 56 | 56 | - | 0.30s | - |
obspy.io.seisan | - | 8 | 7 | 1 | 0.06s | - |
obspy.io.seiscomp | - | 49 | 49 | - | 1.20s | - |
obspy.io.sh | - | 26 | 24 | 2 | 0.26s | - |
obspy.io.shapefile | - | 7 | 7 | - | 0.27s | - |
obspy.io.stationtxt | - | 11 | 11 | - | 0.05s | - |
obspy.io.stationxml | - | 23 | 23 | - | 0.31s | - |
obspy.io.wav | - | 8 | 7 | 1 | 0.03s | - |
obspy.io.win | - | 2 | 2 | - | 0.06s | - |
obspy.io.xseed | - | 82 | 82 | - | 4.50s | - |
obspy.io.y | - | 5 | 4 | 1 | 0.01s | - |
obspy.io.zmap | - | 14 | 14 | - | 0.15s | - |
obspy.realtime | - | 22 | 22 | - | 0.18s | - |
obspy.scripts | - | 2 | 2 | - | 0.01s | - |
obspy.signal | - | 201 | 199 | 2 | 18.98s | - |
obspy.taup | - | 70 | 64 | 6 | 25.86s | - |
Summary | 9 | 2010 | 1984 | 26 | 111.48s | 9 |
Tracebacks (9)
2333 2334 .. rubric:: Example 2335 2336 >>> st = read() 2337 >>> print(st) # doctest: +ELLIPSIS 2338 3 Trace(s) in Stream: 2339 BW.RJOB..EHZ | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples 2340 BW.RJOB..EHN | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples 2341 BW.RJOB..EHE | 2009-08-24T00:20:03.000000Z ... | 100.0 Hz, 3000 samples 2342 >>> st.resample(10.0) # doctest: +ELLIPSIS UNEXPECTED EXCEPTION: ValueError('Unknown window type.') Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.core.stream.Stream.resample[2]>", line 1, in <module> File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/stream.py", line 2351, in resample tr.resample(sampling_rate, window=window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 1744, in resample large_w = np.fft.ifftshift(get_window(window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type. /home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/stream.py:2342: UnexpectedException
1687 the signal is assumed to be periodic. 1688 1689 .. rubric:: Example 1690 1691 >>> tr = Trace(data=np.array([0.5, 0, 0.5, 1, 0.5, 0, 0.5, 1])) 1692 >>> len(tr) 1693 8 1694 >>> tr.stats.sampling_rate 1695 1.0 1696 >>> tr.resample(4.0) # doctest: +ELLIPSIS UNEXPECTED EXCEPTION: ValueError('Unknown window type.') Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/doctest.py", line 1350, in __run exec(compile(example.source, filename, "single", File "<doctest obspy.core.trace.Trace.resample[3]>", line 1, in <module> File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 1744, in resample large_w = np.fft.ifftshift(get_window(window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type. /home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py:1696: UnexpectedException
Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/tests/test_stream.py", line 2247, in test_method_chaining .resample(st[0].stats.sampling_rate / 2)\ File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/stream.py", line 2351, in resample tr.resample(sampling_rate, window=window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 1744, in resample large_w = np.fft.ifftshift(get_window(window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 1640, in test_resample tr_2 = tr.copy().resample(sampling_rate=50.0) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 1744, in resample large_w = np.fft.ifftshift(get_window(window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 1678, in test_method_chaining .resample(tr.stats.sampling_rate / 2.0)\ File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 1744, in resample large_w = np.fft.ifftshift(get_window(window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 1845, in test_processing_information tr.resample(tr.stats.sampling_rate / 2.0) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 1744, in resample large_w = np.fft.ifftshift(get_window(window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 2119, in test_resample_new tr.resample(0.5, window='hanning', no_filter=True) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 1744, in resample large_w = np.fft.ifftshift(get_window(window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 2544, in test_dtype_is_not_unnecessarily_changed assert tr_int32.copy().resample(2.0).data.dtype == np.float64 File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 1744, in resample large_w = np.fft.ifftshift(get_window(window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.
Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2214, in get_window beta = float(window) ValueError: could not convert string to float: 'hanning' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2232, in get_window winfunc = _win_equiv[winstr] KeyError: 'hanning' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/tests/test_trace.py", line 2717, in test_resample_short_traces tr.resample(30) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/util/decorator.py", line 237, in skip_if_no_data return func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/decorator.py", line 232, in fun return caller(func, *(extras + args), **kw) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 282, in _add_processing_info result = func(*args, **kwargs) File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/obspy/core/trace.py", line 1744, in resample large_w = np.fft.ifftshift(get_window(window, File "/home/zyt/opt/miniconda3/envs/seis/lib/python3.10/site-packages/scipy/signal/windows/_windows.py", line 2234, in get_window raise ValueError("Unknown window type.") from e ValueError: Unknown window type.