The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
This is a new issue that happens during the application shutdown, I guess with 0.67.1. Crucially I'm not using a ToastRack nor Tooltip (not even sure what those are)
<06-13 04:16:09.592 CRITICAL bt.trader [trade:817]: Critical failures occurred - shutting down
| ExceptionGroup: Critical failures occurred - shutting down (1 sub-exception)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "/home/arcivanov/Documents/src/karellen/myapp/src/main/python/myapp/trade.py", line 783, in _ui_loop
| await myappr.run_async()
| File "/home/arcivanov/.pyenv/versions/myapp/lib/python3.12/site-packages/textual/app.py", line 1572, in run_async
| await app._shutdown()
| File "/home/arcivanov/.pyenv/versions/myapp/lib/python3.12/site-packages/textual/app.py", line 2788, in _shutdown
| await self._close_all()
| File "/home/arcivanov/.pyenv/versions/myapp/lib/python3.12/site-packages/textual/app.py", line 2768, in _close_all
| await self._prune_node(stack_screen)
| File "/home/arcivanov/.pyenv/versions/myapp/lib/python3.12/site-packages/textual/app.py", line 3418, in _prune_node
| raise asyncio.TimeoutError(
| TimeoutError: Timeout waiting for [Header(), TradingClockBar(), Grid(id='content-grid'), Footer(), ToastRack(id='textual-toastrack'), Tooltip(id='textual-tooltip')] to close; possible deadlock
|
+------------------------------------
I have neither added ToastRack nor Tooltip to the app and it's completely unclear to me why would they be there.
This is a new issue that happens during the application shutdown, I guess with 0.67.1. Crucially I'm not using a ToastRack nor Tooltip (not even sure what those are)
I have neither added
ToastRack
norTooltip
to the app and it's completely unclear to me why would they be there.Textual Diagnostics
Versions
Python
Operating System
Terminal
Rich Console options