[issue43007] set_wakeup_fd() only works in main thread

MeneMeneTekel report at bugs.python.org
Sat Jan 23 05:40:30 EST 2021


New submission from MeneMeneTekel <mail at evation.eu>:

This problem is marked as solved in issue38563, BUT the solution refers to some signal issues being solved - I'm using Python 3.8.7 on windows 10, where a signal solution may not work. I.e. my django (vers. 3.1.5) website crashes every second call with the message:

  File "C:\Winpython\WPy64-3870\python-3.8.7.amd64\lib\asyncio\proactor_events.py", line 632, in __init__
    signal.set_wakeup_fd(self._csock.fileno())
ValueError: set_wakeup_fd only works in main thread

----------
components: asyncio
messages: 385528
nosy: MeneMeneTekel, asvetlov, yselivanov
priority: normal
severity: normal
status: open
title: set_wakeup_fd() only works in main thread
type: crash
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43007>
_______________________________________


More information about the Python-bugs-list mailing list