Deployment failing: Failed to download the sources for repository

Running into this error when deploying my simple app. The repository is public:GitHub - scunden/omscs-reviews

Here are the error logs

As you can see, I have given access to streamlit to my github

Not sure how to go about fixing this - the app works perfectly fine locally. I tried doing the deployment through a link, but that didn’t work either. Any help would be greatly appreciated!

Hi @scunden, welcome to the Streamlit community! :wave:

Could you try the following and let us know if this issue persists:

  1. Delete your app on Streamlit Cloud
  2. Re-deploy your app on share.streamlit.io

Having the same problem here, deleting and re-deploying didn’t solve it.
Seems like some problem in streamlit cloud server side in copying sources from github repo

[09:15:32] 🖥 Provisioning machine...
[09:15:37] 🎛 Preparing system...
[09:15:44] ⛓ Spinning up manager process...
[09:15:49] 🎈 Inflating balloons...
[09:15:56] 📖 Unpacking Comic Sans RAR files...
[09:16:01] 🚧 Loading "Under construction" GIF...
[09:16:08] 🛠 Compiling <blink> tags...
[09:16:14] 📠 Initializing Java applet...
[09:16:21] ⏳ Please wait...
[09:15:36] 🚀 Starting up repository: 'colorskim', branch: 'aplikasi', main module: 'colorskim_app/streamlit-serv.py'
[09:15:36] 🐙 Cloning repository...
[09:15:43] 🐙 Enumerating objects: 570, done.
Counting objects: 100% (238/238), done.
Compressing objects: 100% (111/111), done.
Total 570 (delta 151), reused 182 (delta 112), pack-reused 332
[09:15:57] 🐙 Enumerating objects: 570, done.
Counting objects: 100% (238/238), done.
Compressing objects: 100% (111/111), done.
Total 570 (delta 151), reused 182 (delta 112), pack-reused 332
[09:16:10] 🐙 Enumerating objects: 570, done.
Counting objects: 100% (238/238), done.
Compressing objects: 100% (111/111), done.
Total 570 (delta 151), reused 182 (delta 112), pack-reused 332
[09:16:23] 🐙 Enumerating objects: 570, done.
Counting objects: 100% (238/238), done.
Compressing objects: 100% (111/111), done.
Total 570 (delta 151), reused 182 (delta 112), pack-reused 332
[09:16:36] 🐙 Enumerating objects: 570, done.
Counting objects: 100% (238/238), done.
Compressing objects: 100% (111/111), done.
Total 570 (delta 151), reused 182 (delta 112), pack-reused 332
[09:16:46] 🐙 Failed to download the sources for repository: 'colorskim', branch: 'aplikasi', main module: 'colorskim_app/streamlit-serv.py'
[09:16:46] 🐙 Make sure the repository and the branch exist and you have write access to it, and then reboot the app.

is this issue resolved facing the same issue.

I am facing this same issue, and re-deployment is not working. Kindly work upon it @StreamlitTeam.

I am also facing this issue as well. It deployed successfully once before, but then crashed and wasn’t able to redeploy again.

https://roomscape.streamlit.app/

@StreamlitTeam @dataprofessor

I am also facing the same issue. Tried rebooting the app 4 to 5 times, deleting and redeploying the app, unlinked and re-linked streamlit and github. Nothing worked. This is my app url :

Please help @StreamlitTeam

Hey @Reyonaes,

I see some errors in the logs for your app, including the following:


Traceback (most recent call last): File "/home/ad<mark>min</mark>user/venv/lib/python3.9/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 534, in _run_script exec(code, module.__dict__) File "/mount/src/emotion-detection/app.py", line 13, in <module> img=img.reshape(48,48,1) ValueError: cannot reshape array of size 1 into shape (48,48,1)

After uploading an image that error is not displayed

I had deployed the same app few hours ago and it worked. I have no idea why it’s not working now

Can you share the GitHub repo for the app?

Yes, here you go.

Hey @Caroline,
Is the issue fixed? Thank you so much for helping by the way.

It looks like your app is exceeding the memory limit for apps on Community Cloud.

If your app is used by an educational or non-profit organization, you can request additional resources here.

Thank you so much!! @Caroline. I’ve submitted the form. How long before I can expect a reply?

@Jessica_Smith should be in touch within a week

I am also facing the same issue. I’ve redeployed this application, but it still encounters an error. Can u help me @Caroline ?

This is my app url:
https://sistem-rekomendasi-musik-md4fvgpd8ttb2kr5mlwfd8.streamlit.app/