Skip to content

Fix RuntimeError: no running event loop#40

Open
justynleung wants to merge 1 commit intoalesaccoia:mainfrom
justynleung:fix/asyncio-run-eventloop
Open

Fix RuntimeError: no running event loop#40
justynleung wants to merge 1 commit intoalesaccoia:mainfrom
justynleung:fix/asyncio-run-eventloop

Conversation

@justynleung
Copy link

@justynleung justynleung commented Sep 28, 2025

The only edit is at src/main.py.

This commit aims to fix event loop startup by replacing deprecated asyncio.get_event_loop().run_until_complete with asyncio.run to avoid RuntimeError: no running event loop on Python 3.11+ (see StackOverflow discussion).

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

Successfully merging this pull request may close these issues.

1 participant