Ooops w/ SQLite & threading
|Reported by:||Emmanuel Blot||Owned by:||Christopher Lenz|
Server runs on a Linux Debian, and I had to upgrade the Trac SQLite DB version (sqlite2 .dump, sqlite3 .read) after the last
aptitude upgrade - I don't know whether the problem is related to this upgrade, as I done the system upgrade and the Trac upgrade one after the other.
Oops... Trac detected an internal error: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1101532080 and this is thread id 1269304240 Traceback (most recent call last): File "/local/engine/trac/trac/web/modpython_frontend.py", line 274, in handler dispatch_request(mpr.path_info, mpr, env) File "/local/engine/trac/trac/web/main.py", line 434, in dispatch_request db.close() File "/local/engine/trac/trac/db.py", line 89, in close self.__pool._return_cnx(self.cnx) File "/local/engine/trac/trac/db.py", line 134, in _return_cnx cnx.rollback() ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1101532080 and this is thread id 1269304240