Re: [sqlite] threading error in sqlite 3 in python

2010-08-04 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/04/2010 11:39 AM, Chris Hare wrote: > I have 3.6.12 in use. So how do I get around this error message> It > prevents part of my code from executing Easy - do no create SQLite objects (connections, cursors) in one thread and use them in anothe

Re: [sqlite] threading error in sqlite 3 in python

2010-08-04 Thread Chris Hare
Thanks. I have 3.6.12 in use. So how do I get around this error message> It prevents part of my code from executing On Aug 4, 2010, at 1:05 PM, Jay A. Kreibich wrote: > On Wed, Aug 04, 2010 at 01:00:02PM -0500, Chris Hare scratched on the wall: > >> How do I figure out what version of sqlite

Re: [sqlite] threading error in sqlite 3 in python

2010-08-04 Thread Jay A. Kreibich
On Wed, Aug 04, 2010 at 01:00:02PM -0500, Chris Hare scratched on the wall: > How do I figure out what version of sqlite3 is actually installed > in the python install? (It is python2.6) If it isn't too old: SELECT sqlite_version(); -j -- Jay A. Kreibich < J A Y @ K R E I B I.C H >

[sqlite] threading error in sqlite 3 in python

2010-08-04 Thread Chris Hare
I think this is a version problem based upon the FAQ, but I get this error when a thred timer fires in python and I then try to access my sqlite3 database ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 14073508872502