2006/1/9, Leandro Lucarella <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED], el lunes  9 de enero a las 07:01 me escribiste:
> > 2. I tried to tell it to use sqlite but got the following error
> >
> > 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
>
> --
> Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/

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.

--
Grzegorz Staniak <gstaniak [at] gmail _dot_ com>

Reply via email to