uvloop icon indicating copy to clipboard operation
uvloop copied to clipboard

unable to perform operation on <WriteUnixTransport closed=True reading=False 0x7f16825f8ba0

Open m0hammadhossein opened this issue 3 years ago • 3 comments

  • uvloop version: 0.17.0
  • Python version: 3.10.7
  • Platform: ubuntu 20.04
  • Can you reproduce the bug with PYTHONASYNCIODEBUG in 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

m0hammadhossein avatar Sep 28 '22 10:09 m0hammadhossein

got the same issue with 0.16

kekekekule avatar Apr 04 '23 18:04 kekekekule

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.

andrmueller avatar Jan 27 '24 18:01 andrmueller