streamlit-oauth icon indicating copy to clipboard operation
streamlit-oauth copied to clipboard

No running event loop Error

Open SnakeRelatedBusiness opened this issue 10 months ago • 0 comments

Streamlit v1.43.1 streamlit-oauth v0.1.14

An error occurs consistently after clicking the log in button, whilst logged into the authenticating site. The popup window displays as the following before successfully authenticating.

Image

However, would be good to know what is causing this. Is this related to a recent bug fix in the release notes? https://github.com/streamlit/streamlit/pull/10455

Here is the corresponding error message:

2025-03-24 09:44:06.309 ComponentRequestHandler: GET [path/to]/streamlit_oauth\frontend\dist read error
Traceback (most recent call last):
  File "[path/to]/streamlit\Lib\site-packages\streamlit\web\bootstrap.py", line 345, in run
    if asyncio.get_running_loop().is_running():
       ~~~~~~~~~~~~~~~~~~~~~~~~^^
RuntimeError: no running event loop

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "_[path/to]_/streamlit\Lib\site-packages\streamlit\web\server\component_request_handler.py", line 56, in get
    with open(abspath, "rb") as file:
         ~~~~^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '[path/to]\\streamlit_oauth\\frontend\\dist'

SnakeRelatedBusiness avatar Mar 24 '25 09:03 SnakeRelatedBusiness