Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hoppybunny opened this issue Aug 17, 2023 · 2 comments

Comments

@hoppybunny
Copy link

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
Copy link
Owner

giswqs commented Aug 17, 2023

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

@informatica92
Copy link

Same for me, unusable until fixed in my opinion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants