[pysqlite] DatabaseError: "database table is locked"

Luc Saffre luc.saffre at gmx.net
Sat Aug 27 15:26:16 CEST 2005


Hello,

I get a DatabaseError "database table is locked" while executing an
UPDATE statement, but I cannot yet isolate the problem to submit a code
snippet.

When is this exception supposed to raise? Is there documentation about
table locking in sqlite? I read
http://initd.org/pub/software/pysqlite/doc/usage-guide.html#controlling-transactions
but am still lost.

Luc


More information about the pysqlite mailing list