[Python-Dev] Building thread-safe sqlite3 with Python 2.6.5rc1

Darren Govoni darren at ontrenet.com
Tue Mar 9 14:05:52 CET 2010


That worked great Oleg! Thank you!

On Tue, 2010-03-09 at 01:52 +0300, Oleg Broytman wrote:

> On Mon, Mar 08, 2010 at 05:28:10PM -0500, Darren Govoni wrote:
> > ProgrammingError: SQLite objects created in a thread can only be used in
> > that same thread.The object was created in thread id -1217128768 and
> > this is thread id -1218753680
> 
>    Darren, try to pass check_same_thread=False when creating a connection.
> 
> Oleg.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100309/1a577e0d/attachment.html>


More information about the Python-Dev mailing list