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

Issue when trying to run script on streamlit cloud, but it runs well on local

Open hoppybunny opened this issue 2 years ago • 2 comments

This is my code. It works well on my local environment, but gives that error when I deploy it on streamlit cloud.

I repeatedly keep getting this error on streamlit cloud: PermissionError: [Errno 13] Permission denied: '/home/adminuser/venv/lib/python3.9/site-packages/streamlit_timeline/frontend/build/index.html'

This is the full code. please help! thank you

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

hoppybunny avatar Aug 17 '23 15:08 hoppybunny

I no longer actively work on this streamlit component. Contributions are welcome.

giswqs avatar Aug 17 '23 18:08 giswqs

Same for me, unusable until fixed in my opinion

informatica92 avatar Sep 02 '24 07:09 informatica92