maestromusic / maestro

Complex music management application.
GNU General Public License v3.0
2 stars 0 forks source link

Sqlalchemy throws error on shutdown when using SQLite #30

Closed supermihi closed 9 years ago

supermihi commented 9 years ago

2015-02-08 16:50:53,825: ERROR - Exception closing connection <sqlite3.Connection object at 0x7fdc7bbd0ab0> Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/sqlalchemy/pool.py", line 250, in _close_connection self._dialect.do_close(connection) File "/usr/lib/python3.4/site-packages/sqlalchemy/engine/default.py", line 412, in do_close dbapi_connection.close() sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 140584936683264 and this is thread id 140585865611008 2015-02-08 16:50:53,828: ERROR - Exception closing connection <sqlite3.Connection object at 0x7fdc793ab2d0> Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/sqlalchemy/pool.py", line 250, in _close_connection self._dialect.do_close(connection) File "/usr/lib/python3.4/site-packages/sqlalchemy/engine/default.py", line 412, in do_close dbapi_connection.close() sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 140584921003776 and this is thread id 140585865611008