2006/1/11, Leandro Lucarella <[EMAIL PROTECTED]>: > > > > OperationalError: database is locked > > > > > > About this problem, I recall having this problem with sqlobject 2.x and > > > made a patch to use an option of sqlobject API to try acquiring the lock > > > for some time before giving up and raise the exception, let me look... > > > > > > Yep, it's undocumented but it's there, you can use the option 'timeout' > > > (in milliseconds) on the _connection_ to minimize the 'database is locked' > > > problem. It's more a workarround than a solution, but it's something... > > > http://sourceforge.net/tracker/index.php?func=detail&aid=1172964&group_id=74338&atid=540672 > > > > > > > Got the same error with TG 09a0dev-r485 on Fedora Core 4, which comes > > with pysqlite-1.1.6 in the distro base - after upgrading pysqlite to > > 2.0.5 the problem disappeared. > > Did you try the timeout option to the connection when using pysqlite > 1.1.6?
No, I started experimenting before reading your letter. All I did was to change pysqlite from 1.1.6 to 2.0.5 (i recompiled the src.rpm and upgraded the package). > Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/ -- Grzegorz Staniak <gstaniak [at] gmail _dot_ com>

