comfyanonymous / ComfyUI

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
https://www.comfy.org/
GNU General Public License v3.0
50.21k stars 5.29k forks source link

error and crash <asyncio.locks.Lock object at 0x00000247270ADED0 [unlocked, waiters:1]> is bound to a different event loop #3478

Open whmc76 opened 4 months ago

whmc76 commented 4 months ago

got prompt


main.py 254 loop.run_until_complete(run(server, address=args.listen, port=args.port, verbose=not args.dont_print_server, call_on_start=call_on_start))

base_events.py 654 run_until_complete

main.py 149 run await asyncio.gather(server.start(address, port, verbose, call_on_start), server.publish_loop())

server.py 622 publish_loop await self.send(*msg)

server.py 557 send await self.send_json(event, data, sid)

server.py 608 send_json await send_socket_catch_exception(ws.send_json, message)

server.py 36 send_socket_catch_exception await function(message)

web_ws.py 351 send_json await self.send_str(dumps(data), compress=compress)

web_ws.py 335 send_str await self._writer.send(data, binary=False, compress=compress)

http_websocket.py 729 send await self._send_frame(message, WSMsgType.TEXT, compress)

http_websocket.py 644 _send_frame message = await compressobj.compress(message)

compression_utils.py 71 compress async with self._compress_lock:

locks.py 15 aenter

locks.py 106 acquire

mixins.py 20 _get_loop

RuntimeError: <asyncio.locks.Lock object at 0x00000247270ADED0 [unlocked, waiters:1]> is bound to a different event loop

LankyPoet commented 2 months ago

Seeing similar.