Skip to content

IsADirectoryError in component_request_handler #13

Open
@janhenner

Description

@janhenner

Hello,

I've noticed recurrent "IsADirectoryError" messages in the logs of our cloud-hosted Streamlit repository. Despite no current issues being visible to the end users, I would like to proactively address this.

Could anyone shed light on the severity of this error and potential preventative measures?

ComponentRequestHandler: GET /opt/venv/lib/python3.8/site-packages/streamlit_javascript/frontend/build read error
Traceback (most recent call last):
File "/opt/venv/lib/python3.8/site-packages/streamlit/web/server/component_request_handler.py", line 55, in get
with open(abspath, "rb") as file:
IsADirectoryError: [Errno 21] Is a directory: '/opt/venv/lib/python3.8/site-packages/streamlit_javascript/frontend/build'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions