W dniu 19.03.2010 08:20, Expo pisze:
You can put the SQLite database into a Singleton class and use a semaphore to serialize the access to methods which writes to the database.
I've tried this out but doesnt work. Still gives an error like:ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id -1216280896 and this is thread id -1217107088
-- best regards princess -- http://mail.python.org/mailman/listinfo/python-list