uvloop
uvloop copied to clipboard
unable to perform operation on <WriteUnixTransport closed=True reading=False 0x7f16825f8ba0
- uvloop version: 0.17.0
- Python version: 3.10.7
- Platform: ubuntu 20.04
-
Can you reproduce the bug with
PYTHONASYNCIODEBUGin env?: yes - Does uvloop behave differently from vanilla asyncio? How?: yes
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/pytgcalls/methods/groups/join_group_call.py", line 275, in internal_sender
await self._binding.send(request)
File "/usr/local/lib/python3.10/dist-packages/pytgcalls/binding.py", line 212, in send
await self._send({
File "/usr/local/lib/python3.10/dist-packages/pytgcalls/binding.py", line 221, in _send
self._js_process.stdin.write(
File "/usr/lib/python3.10/asyncio/streams.py", line 326, in write
self._transport.write(data)
File "uvloop/handles/stream.pyx", line 674, in uvloop.loop.UVStream.write
File "uvloop/handles/handle.pyx", line 159, in uvloop.loop.UVHandle._ensure_alive
RuntimeError: unable to perform operation on <WriteUnixTransport closed=True reading=False 0x7f16825f8ba0>; the handler is closed
got the same issue with 0.16
got the issue when using aiomysql, probably the issue people are facing with aiomysql and uvloop seems to be related to this issue here.
Maybe the information posted in the aiomysql issue helps if someone takes this over.