giswqs / streamlit-timeline

Streamlit component for rendering vis.js timeline
https://timeline.streamlitapp.com
MIT License
93 stars 11 forks source link

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

Open clarac1996 opened 1 year ago

clarac1996 commented 1 year ago

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
giswqs commented 1 year ago

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

informatica92 commented 1 day ago

Same for me, unusable until fixed in my opinion