MagicStack / uvloop

Ultra fast asyncio event loop.
Apache License 2.0
10.27k stars 538 forks source link

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

Open m0hammadhossein opened 1 year ago

m0hammadhossein commented 1 year ago
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
kekekekule commented 1 year ago

got the same issue with 0.16

andrmueller commented 7 months ago

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.