Oh no. Error running app - but no errors in log

I’ve successfully deployed an app locally but when I run it in the cloud it crashes without error (there is one error in installing dependencies that the protobuf version is not compatible with streamlit/tensorflow but I’ve removed the tf import and the error still happens). From similar topics it seems this might be a memory issue but I’ve stripped the code right back and am still having the same error.

Any pointers or advice on how to reduce/profile memory usage or other ways to figure out the issue would be much appreciated.

Hey @duncanwp, can you share the link to the deployed app?

Sure: https://duncanwp-climatebench-app-streamlit-app-gr3ej2.streamlit.app/

And the code is here: GitHub - duncanwp/climatebench-app

It looks like the app is getting stuck on this error:

tensorflow 2.11.0 requires protobuf<3.20,>=3.9.2, but you have protobuf 3.20.1 which is incompatible.

What happens if you use an older version of protobuf?

I wondered that, but the error is at install time and I removed the tensorflow import which I thought meant it wouldn’t cause an issue at runtime.

As far as I can see this is the version of protobuf needed by streamlit and gets installed by an internal streamlit pip install which overwrites the version I specify in my install script. But I might be misunderstanding the installation workflow…

No, streamlit requires protobuf<4,>=3.12.

Hmm, the protobuf compatibility issue has resolved itself, but I am still receiving the same error so it seems that wasn’t the cause. I can’t see any other errors in the log.

I will try and see if the problem lies with geoviews / Bokeh but if you have any other ideas or suggestions I’d be very grateful!

The problem appears to be in the plotting so I’ll open a new thread so this is clear. Thanks for your help

hey, kindly help me on the same issue please!
link to my app: https://mysummarizer.streamlit.app/

i will be grateful.

hello, even this app: http://locasai.streamlit.app/ used to work very well without errors but now it cant…same issue.

@Martin1998215
You did not provide any useful information, how do you expect to get help?

  • Look at the logs in the web console
  • Provide a link to your public github repos

https://discuss.streamlit.io/t/using-streamlit-how-to-post-a-question-in-the-streamlit-forum/30960

very sorry,
my github repo to the project: GitHub - Martin1998215/summaryai
my app link : https://mysummarizer.streamlit.app/

i will appreciate your help

Oh i have fixed this one by adding the altir < 5 in my requirements file… thanks

There must be some errors in the logs…


Besides, there is a problem with protobuf on Streamlit Cloud, I don’t know if that has been fixed by now:
https://discuss.streamlit.io/t/why-is-protobuf-forced-installed-in-version-3-20-1/42150/17

I would try the following:

requirements.txt

protobuf==3.20.1
transformers>=4.29.0
streamlit>=1.22.0

I tried to do what u said… the app loads well, but whenever i try to use it, it gives me back the same error…

Having the same issue please help me out with it
Link to app: Streamlit (adityar6-streamlit-youtube-transcript-summarizermain-ft0z9b.streamlit.app)
Github Link: Streamlit/Youtube-Transcript-Summarizer at main · AdityaR6/Streamlit (github.com)
Updates Requirements many time but can’t understand what the problem is.

Can you help with the issue stated above?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.