You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
20:29:07.002 | ERROR | sqlalchemy.pool.impl.NullPool - Exception closing connection <AdaptedConnection <Connection(Thread-16, started daemon 139909163644608)>>
Traceback (most recent call last):
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 376, in _close_connection
self._dialect.do_close(connection)
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 708, in do_close
dbapi_connection.close()
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 275, in close
self.await_(self._connection.close())
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_only
return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn
value = await result
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/aiosqlite/core.py", line 178, in close
await self._execute(self._conn.close)
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/aiosqlite/core.py", line 132, in _execute
return await future
asyncio.exceptions.CancelledError
If DaskTaskRunner is used, the following error is reported.
14:25:36.839 | ERROR | sqlalchemy.pool.impl.NullPool - Exception during reset or similar
Traceback (most recent call last):
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 986, in _finalize_fairy
fairy._reset(
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/pool/base.py", line 1432, in _reset
pool._dialect.do_rollback(self)
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/engine/default.py", line 699, in do_rollback
dbapi_connection.rollback()
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/dialects/sqlite/aiosqlite.py", line 263, in rollback
self.await_(self._connection.rollback())
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 132, in await_only
return current.parent.switch(awaitable) # type: ignore[no-any-return,attr-defined] # noqa: E501
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 196, in greenlet_spawn
value = await result
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/aiosqlite/core.py", line 169, in rollback
await self._execute(self._conn.rollback)
File "/root/.pyenv/versions/3.9.16/lib/python3.9/site-packages/aiosqlite/core.py", line 132, in _execute
return await future
asyncio.exceptions.CancelledError
WTSRUVF
changed the title
sqlalchemy.pool.impl.NullPool
Error message when multithreaded operation is closed:sqlalchemy.pool.impl.NullPool
Dec 30, 2024
WTSRUVF
changed the title
Error message when multithreaded operation is closed:sqlalchemy.pool.impl.NullPool
Error message when program is closed:sqlalchemy.pool.impl.NullPool
Dec 30, 2024
Thanks for the issue @WTSRUVF! It looks like you're running against an ephemeral server, and something is getting canceled as the ephemeral server is shutting down. It's likely related to .submit not being used since those runs will be executed in a separate thread or on a Dask cluster.
I'm not able to reproduce this issue on my machine. Can you share the full log output of a flow run where you see this error? Also, do you see anything strange in the UI for flow runs where you see this error?
Bug summary
When I execute the program in the documentation, this error is sometimes reported after the program is executed.
code
error
If DaskTaskRunner is used, the following error is reported.
Version info
Additional context
The text was updated successfully, but these errors were encountered: