You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following assertion failure after upgrading to python 3.12.2. Please take a look at the threading monkey patch. I have reported a similar issue to python dev.
Exception ignored in: <function _after_fork at 0x7f04dd0b0400>
Traceback (most recent call last):
File "/home/scm/lib/python3.12/threading.py", line 1691, in _after_fork
thread._set_tstate_lock()
File "/home/scm/lib/python3.12/threading.py", line 1051, in _set_tstate_lock
if not self.daemon:
^^^^^^^^^^^
File "/home/scm/lib/python3.12/threading.py", line 1246, in daemon
assert self._initialized, "Thread.__init__() not called"
AssertionError: Thread.__init__() not called
What I've run:
I was running gevent together with gunicorn to provide rest services. Never have issues before python 3.12.2.
In _DummyThread definition, super init was not called, which caused assertion failures.
Description:
The following assertion failure after upgrading to python 3.12.2. Please take a look at the threading monkey patch. I have reported a similar issue to python dev.
What I've run:
I was running gevent together with gunicorn to provide rest services. Never have issues before python 3.12.2.
In _DummyThread definition, super init was not called, which caused assertion failures.
The text was updated successfully, but these errors were encountered: