From cac9afd33e323a1dbe0d9ae9926ea9b8fd029969 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Wed, 19 Jan 2011 20:59:24 -0600 Subject: [PATCH] document sqlite/threads bug --- BUGS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUGS b/BUGS index de45459..1ba8265 100644 --- a/BUGS +++ b/BUGS @@ -6,3 +6,6 @@ dr.botzo --- BUGS * probably many, many more * possible to have not well-formed XML in pywapi.get_weather_from_google: xml.parsers.expat.ExpatError: not well-formed (invalid token) + * get_db() in Module is not thread-aware, threads other than the main bot thread + cannot call it (see Twitter.py) + ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 1 and this is thread id 2