DataChad icon indicating copy to clipboard operation
DataChad copied to clipboard

Can't able to open site

Open sidmish opened this issue 2 years ago • 8 comments

Screenshot_2023-05-18-09-42-36-26_e4424258c8b8649f6e67d283a50a2cbc.jpg

sidmish avatar May 18 '23 04:05 sidmish

hey @sidmish , i've noticed this too and pinged @gustavz ! we had a lot of demand :D

mikayelh avatar May 18 '23 04:05 mikayelh

Rebooting it now. The issue is that streamlit community cloud is not really built for multi users.

gustavz avatar May 18 '23 06:05 gustavz

@gustavz Thanks for this project. Do you know how to solve this problem?

Traceback (most recent call last): File "app.py", line 104, in if not st.session_state["auth_ok"]: KeyError: 'st.session_state has no key "auth_ok". Did you forget to initialize it? More info: https://docs.streamlit.io/library/advanced-features/session-state#initialization'

mczhuge avatar May 19 '23 08:05 mczhuge

@mczhuge hm weird, I don't know how you were able to run into this error as auth_ok is initialised here: https://github.com/gustavz/DataChad/blob/3dfff5a41d678233e6a8f21a1ee7165f27626f99/app.py#L54-L56

gustavz avatar May 19 '23 10:05 gustavz

@gustavz I solve this. But when I upload the file, it shows:

Failed to load '/Users/$mypath/DataChad/data/sample.jpeg':
tesseract is not installed or it's not in your PATH. See README file for more information.

Besides, when open the DataChad, it naturally appears:

Failed to build chain for data source 'https://github.com/gustavz/DataChad.git' with error: A dataset does not exist at the specified path, or you do not have sufficient permissions to load or create one. Please check the dataset path and make sure that you have sufficient permissions to the path.

mczhuge avatar May 19 '23 12:05 mczhuge

What kind of file? Name type and suffix please.

gustavz avatar May 19 '23 12:05 gustavz

sample.jpeg But I think this is from some other problems,

Dataset 'hub://${ACTIVELOOP_ORG_NAME}/https-github-com-gustavz-DataChad-git-1000' does not exist -> uploading
Failed to build chain for data source 'https://github.com/gustavz/DataChad.git' with error: A dataset does not exist at the specified path, or you do not have sufficient permissions to load or create one. Please check the dataset path and make sure that you have sufficient permissions to the path.
Dataset 'hub://${ACTIVELOOP_ORG_NAME}/https-github-com-gustavz-DataChad-git-1000' does not exist -> uploading

${ACTIVELOOP_ORG_NAME} is my ACTIVELOOP_ORG_NAME in .env

mczhuge avatar May 19 '23 13:05 mczhuge

Try deleting the datachad related datasets from your activeloop account. They could be broken. Let me know if this helped.

gustavz avatar May 22 '23 05:05 gustavz