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

IsADirectoryError in component_request_handler

Open janhenner opened this issue 1 year ago • 0 comments

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'

janhenner avatar Sep 19 '23 09:09 janhenner