Deploy Error : streamlit-drawable-canvas : ComponentRequestHandler : png read error

Dear all,

I am trying to deploy streamlit-drawable-canvas and get the following error:


2022-05-29 21:30:25.260 ComponentRequestHandler: GET streamlit_drawable_canvas.st_canvas/index.html/media/75a4a7bc1891348225c62861b481cd443770070cf661114be260d892.png read error

Traceback (most recent call last):

File “/home/appuser/venv/lib/python3.7/site-packages/streamlit/components/v1/components.py”, line 324, in get

with open(abspath, "rb") as file:

NotADirectoryError: [Errno 20] Not a directory: ‘/home/appuser/venv/lib/python3.7/site-packages/streamlit_drawable_canvas/frontend/build/index.html/media/75a4a7bc1891348225c62861b481cd443770070cf661114be260d892.png’


streamlit>=1.9.2
streamlit-drawable-canvas>=0.9.1

Any help is appreciated.

Thanks

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.