I have several programs utilizing dispy running the past several years. After upgrading to debian trixie (python 3.13) I am getting an error:
pycos - uncaught exception in add_cluster/547748473744:
Traceback (most recent call last):
File "/usr/lib/python3.13/dbm/sqlite3.py", line 79, in _execute
return closing(self._cx.execute(*args, **kwargs))
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 547770693472 and this is thread id 547747533152.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.13/site-packages/dispy/init.py", line 1644, in add_cluster
self.shelf['compute_%s' % compute.id] = info
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/shelve.py", line 125, in setitem
self.dict[key.encode(self.keyencoding)] = f.getvalue()
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/dbm/sqlite3.py", line 96, in setitem
self._execute(STORE_KV, (key, value))
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/dbm/sqlite3.py", line 81, in _execute
raise error(str(exc))
dbm.sqlite3.error: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 547770693472 and this is thread id 547747533152.
Other errors include "callback function is now depreciated in JobCluster"
I have several programs utilizing dispy running the past several years. After upgrading to debian trixie (python 3.13) I am getting an error:
pycos - uncaught exception in add_cluster/547748473744:
Traceback (most recent call last):
File "/usr/lib/python3.13/dbm/sqlite3.py", line 79, in _execute
return closing(self._cx.execute(*args, **kwargs))
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
sqlite3.ProgrammingError: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 547770693472 and this is thread id 547747533152.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.13/site-packages/dispy/init.py", line 1644, in add_cluster
self.shelf['compute_%s' % compute.id] = info
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/shelve.py", line 125, in setitem
self.dict[key.encode(self.keyencoding)] = f.getvalue()
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/dbm/sqlite3.py", line 96, in setitem
self._execute(STORE_KV, (key, value))
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/dbm/sqlite3.py", line 81, in _execute
raise error(str(exc))
dbm.sqlite3.error: SQLite objects created in a thread can only be used in that same thread. The object was created in thread id 547770693472 and this is thread id 547747533152.
Other errors include "callback function is now depreciated in JobCluster"