Hello, I have created a simple timeline on my local streamlit environment with streamlit-vis-timeline. I pip installed this and it works perfectly on local: streamlit-vis-timeline==0.3.0
However, when I tried to deploy the app on streamlit’s community cloud, I keep getting this error: PermissionError: [Errno 13] Permission denied: ‘/home/adminuser/venv/lib/python3.9/site-packages/streamlit_timeline/frontend/build/index.html’
Does anyone know how to fix this? please do help! thank you so much
Hi @clarac1996,
Thanks for posting! Can you share your code/ repo? You might be trying to access a file you might not have write access to.
Hello Tony! thanks for helping out!
This is my code. It works well on my local environment, but gives that error when I deploy it on streamlit cloud.
import streamlit as st
from streamlit_timeline import st_timeline
items = [
{“id”: 1, “content”: “Event 1”, “start”: “21 Nov 2020”},
{“id”: 2, “content”: “Event 2”, “start”: “14 Dec 2020”},
{“id”: 3, “content”: “Event 3”, “start”: “1 Apr 2021”},
{“id”: 4, “content”: “Event 4”, “start”: “13 Jan 2022”},
{“id”: 5, “content”: “Event 5”, “start”: “30 April 2026”}
]
timeline = st_timeline(items, groups=, options={}, height=“300px”)
This is what i pip installed:
streamlit==1.25.0
streamlit-vis-timeline==0.3.0
Please help!
Thank you so much, appreciate loads!
Hello @tonykip !
Reposting this in case you might have missed:
This is my code. It works well on my local environment, but gives that error when I deploy it on streamlit cloud.
import streamlit as st
from streamlit_timeline import st_timeline
items = [
{“id”: 1, “content”: “Event 1”, “start”: “21 Nov 2020”},
{“id”: 2, “content”: “Event 2”, “start”: “14 Dec 2020”},
{“id”: 3, “content”: “Event 3”, “start”: “1 Apr 2021”},
{“id”: 4, “content”: “Event 4”, “start”: “13 Jan 2022”},
{“id”: 5, “content”: “Event 5”, “start”: “30 April 2026”}
]
timeline = st_timeline(items, groups=, options={}, height=“300px”)
This is what i pip installed:
streamlit==1.25.0
streamlit-vis-timeline==0.3.0
Please help!
Thank you so much, appreciate loads!
Thanks for resharing! It seems the component code breaks in Community Cloud deployment. The component creator’s, @giswqs, demo app is also broken. I tagged him here so we can troubleshoot together.
@tonykip thank you! I posted the same problem and @giswqs mentioned that he is no longer actively working on this streamlit component and that contributions are welcomed. Do you have any idea how to troubleshoot and fix this? Really appreciate any kind of help! :")