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

2010-03-09 Thread Darren Govoni
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 -121712

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

2010-03-08 Thread Oleg Broytman
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 creat

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

2010-03-08 Thread Martin v. Löwis
> Which is correct. Yet when I run my progam using the newly built python > executable and attempt to use sqlite3 > functionality across threads it still says: > > ProgrammingError: SQLite objects created in a thread can only be used in > that same thread.The object was created in thread id -12171

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

2010-03-08 Thread Darren Govoni
Thanks. It says. sqlite: found /usr/local/include/sqlite3.h /usr/local/include/sqlite3.h: version 3.6.22 Which is correct. Yet when I run my progam using the newly built python executable and attempt to use sqlite3 functionality across threads it still says: ProgrammingError: SQLite objects crea

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

2010-03-08 Thread Martin v. Löwis
> thanks for any tips. Set sqlite_setup_debug to True in setup.py Regards, Martin ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archiv