thunderbug1 / streamlit-javascript

Streamlit component to execute javascript code on the client side and get back the result
MIT License
102 stars 3 forks source link

IsADirectoryError in component_request_handler #13

Open janhenner opened 1 year ago

janhenner commented 1 year ago

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'