Exception during reset or similar
Traceback (most recent call last):
File "/home/callow46/.local/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 697, in _finalize_fairy
fairy._reset(pool)
File "/home/callow46/.local/lib/python3.8/site-packages/sqlalchemy/pool/base.py", line 893, in _reset
pool._dialect.do_rollback(self)
File "/home/callow46/.local/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 543, in do_rollback
dbapi_connection.rollback()
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 139675633149760 and this is thread id 139675095406336.
Exception closing connection <sqlite3.Connection object at 0x7f08a8e3e030>
The code continues to run after the error is raised and it does not affect the results. However it's annoying since it doesn't look good (and I'm not sure but maybe is capable of causing something critical). It seems random as to whether this error appears or not.