mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
issue: "RuntimeError: no running event loop" After upgrade to 0.3.25 via pip on Windows #2175
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @e-uhlich on GitHub (Sep 24, 2024).
Originally assigned to: @tjbck on GitHub.
Bug Report
Installation Method
pip install --upgrade open-webui
Environment
Open WebUI Version: 0.3.25
Ollama (if applicable): /
Operating System: Windows 10
Browser (if applicable): /
Confirmation:
Expected Behavior:
When entering "open-webui serve" in the windows command prompt, the server should be started.
Actual Behavior:
After entering "open-webui serve" I'm getting an error message ending with:
"RuntimeError: no running event loop
sys:1: RuntimeWarning: coroutine 'periodic_usage_pool_cleanup' was never awaited"
open-webui version 0.3.23 worked just fine and after reverting to this version, the server starts.
Description
Bug Summary:
After upgrading to open-webui version 0.3.25 the server doesn't start and returns an error.
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
Browser Console Logs:
[Include relevant browser console logs, if applicable]
Docker Container Logs:
[Include relevant Docker container logs, if applicable]
Screenshots/Screen Recordings (if applicable):
[Attach any relevant screenshots to help illustrate the issue]
Additional Information
Error message after running "open-webui serve":
RuntimeError: no running event loop
sys:1: RuntimeWarning: coroutine 'periodic_usage_pool_cleanup' was never awaited
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
@shenyunhuan commented on GitHub (Sep 24, 2024):
0.3.26 on windows issue "RuntimeError: no running event loop
sys:1: RuntimeWarning: coroutine 'periodic_usage_pool_cleanup' was never awaited"
@tjbck commented on GitHub (Sep 24, 2024):
https://pypi.org/project/open-webui/0.3.27.dev2/ seems to have solved the issue, 0.3.27 will be released shortly.