Closed josejachuf closed 1 month ago
This is fixed in 2.6.1 Thank you for reporting this
Hi @gi0baro, Something broke with this update
TimeoutError in /usr/lib/python3.11/asyncio/tasks.py TimeoutError
# exception, we should re-raise it # See https://bugs.python.org/issue40607 try: return fut.result() except exceptions.CancelledError as exc: raise exceptions.TimeoutError() from exc finally: timeout_handle.cancel()
Detail:
ERROR in handlers [/venv/lib/python3.11/site-packages/emmett_core/protocols/rsgi/handlers.py:145]: Application exception: Traceback (most recent call last): File "/usr/lib/python3.11/asyncio/tasks.py", line 500, in wait_for return fut.result() ^^^^^^^^^^^^ File "/venv/lib/python3.11/site-packages/emmett/orm/connection.py", line 259, in _acquire_loop conn, _opened = await self._connection_open_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib/python3.11/site-packages/emmett/orm/connection.py", line 159, in _connection_open_loop return (await self._loop.run_in_executor(None, self._connector_loop), True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/venv/lib/python3.11/site-packages/emmett_core/protocols/rsgi/handlers.py", line 135, in dynamic_handle r http = await self.router.dispatch(request, response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib/python3.11/site-packages/emmett_core/routing/router.py", line 230, in dispatch return await match.dispatch(reqargs, response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib/python3.11/site-packages/emmett_core/routing/dispatchers.py", line 57, in dispatch await self._parallel_flow(self.flow_open) File "/venv/lib/python3.11/site-packages/emmett_core/routing/dispatchers.py", line 17, in _parallel_flow raise task.exception() File "/venv/lib/python3.11/site-packages/emmett/orm/base.py", line 40, in open await self.db.connection_open_loop() File "/venv/lib/python3.11/site-packages/emmett/orm/connection.py", line 330, in _connect_loop self.connection, _opened = await self._connection_manager.connect_loop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/venv/lib/python3.11/site-packages/emmett/orm/connection.py", line 227, in connect_loop return await asyncio.wait_for(self._acquire_loop(), self.connect_timeout or None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/tasks.py", line 502, in wait_for raise exceptions.TimeoutError() from exc TimeoutError
@josejachuf which database engine are you using?
My error, apologies. The VPN was dropped
replacing this
With this
failure:
The stream_dbfile version still works on version 2.6.x