Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
whmc76 opened this issue May 14, 2024 · 0 comments

Comments

@whmc76
Copy link

whmc76 commented May 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant