EternityForest / KaithemAutomation

Pure Python, GUI-focused home automation/consumer grade SCADA
GNU General Public License v3.0
49 stars 5 forks source link

Occasionally it seems that thread creation can hang. #4

Closed EternityForest closed 11 months ago

EternityForest commented 2 years ago

There is already code to partly mitigate this, but i have no idea what causes it.

File "/home/daniel/.vscode/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydev_bundle/pydev_monkey.py", line 1034, in call py_db.notify_thread_created(thread_id, t) File "/home/daniel/.vscode/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/pydevd.py", line 1620, in notify_thread_created additional_info = set_additional_thread_info(thread) File "/home/daniel/.vscode/extensions/ms-python.python-2022.4.1/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_additional_thread_info_regular.py", line 136, in set_additional_thread_info additional_info = PyDBAdditionalThreadInfo() File "/home/daniel/Projects/KaithemAutomation/kaithem/src/thirdparty/scullery/iceflow.py", line 61, in del workers.do(self.worker.wait) File "/home/daniel/Projects/KaithemAutomation/kaithem/src/thirdparty/scullery/workers.py", line 298, in do addWorker() File "/home/daniel/Projects/KaithemAutomation/kaithem/src/thirdparty/scullery/workers.py", line 241, in addWorker t.start() File "/usr/lib/python3.8/threading.py", line 857, in start self._started.wait() File "/usr/lib/python3.8/threading.py", line 558, in wait signaled = self._cond.wait(timeout) File "/usr/lib/python3.8/threading.py", l

EternityForest commented 11 months ago

Does not appear to still be an issue.