"library routine called out of sequence" error

"Murat Erten" <[email protected]>
Newsgroups gmane.comp.python.db.pysqlite.user
Message-ID <[email protected]>
Hi,

    I have threads in my program that uses the same connection to my
database. In my code, to execute a database query threads have to
acquire a lock first. That is two threads cannot execute a query at
the same time. But I face this error after some time I begin to make
queries. I compiled sqlite with the option
"--enable-cross-thread-connections". It didn't do anything. I thought
there can be a bug in pysqlite. Has anyone faced this error before and
found a solution to it ? I will try using different connections.

pysqlite 2.3.3
sqlite 3.3.12
slackware 11.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.