Skip to content

Fix RuntimeError: no running event loop#40

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

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

Conversation

@justynleung

@justynleung justynleung commented Sep 28, 2025

Copy link
Copy Markdown

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