Re: [Twisted-Python] adbapi : sqlite3.OperationalError : database is locked

2009-06-22 Thread Gabriel Rossetti
Jean-Paul Calderone wrote: > On Mon, 22 Jun 2009 11:06:24 +0200, Gabriel Rossetti > wrote: > >> Hello everyone, >> >> I am using twisted.enterprise.adbapi with sqlite3 database adapter and >> "runInteraction()". I keep on getting "sqlite3.OperationalError : >> database is locked" errors. I und

Re: [Twisted-Python] adbapi : sqlite3.OperationalError : database is locked

2009-06-22 Thread Jean-Paul Calderone
On Mon, 22 Jun 2009 11:06:24 +0200, Gabriel Rossetti wrote: >Hello everyone, > >I am using twisted.enterprise.adbapi with sqlite3 database adapter and >"runInteraction()". I keep on getting "sqlite3.OperationalError : >database is locked" errors. I understand the problem, multiple threads >try to

[Twisted-Python] adbapi : sqlite3.OperationalError : database is locked

2009-06-22 Thread Gabriel Rossetti
Hello everyone, I am using twisted.enterprise.adbapi with sqlite3 database adapter and "runInteraction()". I keep on getting "sqlite3.OperationalError : database is locked" errors. I understand the problem, multiple threads try to access the DB and it being already locked by a thread it raises