#5344 (RuntimeError: Event loop is closed)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kokkuvõte
future: <Task finished name='Task-3334' coro=<Connection.disconnect() done, defined at /home/luc/virtualenvs/dev/lib/python3.10/site-packages/redis/asyncio/connection.py:687> exception=RuntimeError('Event loop is closed')>
Traceback (most recent call last):
File "/home/luc/virtualenvs/dev/lib/python3.10/site-packages/redis/asyncio/connection.py", line 696, in disconnect
self._writer.close() # type: ignore[union-attr]
File "/usr/lib/python3.10/asyncio/streams.py", line 337, in close
return self._transport.close()
File "/usr/lib/python3.10/asyncio/selector_events.py", line 706, in close
self._loop.call_soon(self._call_connection_lost, None)
File "/usr/lib/python3.10/asyncio/base_events.py", line 753, in call_soon
self._check_closed()
File "/usr/lib/python3.10/asyncio/base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Task exception was never retrieved
Children
Kommentaarid
- 2 aastat, 9 kuud ago by Luc Saffre about #5344 (RuntimeError: Event loop is closed) : No need to try. This issue has vanished as a side effect of #5278.
- 2 aastat, 10 kuud ago by Luc Saffre about #5344 (RuntimeError: Event loop is closed) : @8lurry (and maybe @hannes) do you also have this phenomen on your computer?
- 2 aastat, 10 kuud ago by Luc Saffre about #5344 (RuntimeError: Event loop is closed) : When I run "pm prep" in noi11e demo project, I get a lot of output that repeats always the same traceback (except that the task number increases).
- 2 aastat, 10 kuud ago by Luc Saffre about #5344 (RuntimeError: Event loop is closed) : Created new Ticket #5344 (RuntimeError: Event loop is closed).