SQLite Multithread Error
DaThresh opened this issue · 1 comments
DaThresh commented
I'm receiving the following Error message when decoding a VIN using a Flask App served by Waitress:
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 8083607552 and this is thread id 11711803392.
From my understanding, it's a simple issue of the check_same_thread
option upon opening the SQLite connection.
davidpeckham commented
Thanks. I'll release 0.6.0 shortly to fix this.