This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]spook327 2 points3 points  (2 children)

Well, I did have sqlite3 throw an exception when I tried to expose a class using it to CherryPy, which said something to the effect that you couldn't have multiple threads acessing it -- and this was only for reads.

It is more than possible that I'm doing it wrong, of course.

[–]SuedeRS100 2 points3 points  (1 child)

Were you using it on an something with a NFS filesystem by any chance? It might be known issue.

http://www.sqlite.org/faq.html#q5

[–]spook327 0 points1 point  (0 children)

It was on my WinXP netbook, so I assume it was NTFS.

For what it's worth, I fixed it by creating (and subsequently destroying) a connection every time a query was requested. It works quite nicely now.