Hi,
I am trying to set an app on streamlit cloud using AgGrid.
At the beginning I can “play” with the table on the dashboard, but after “playing” with it, it seems to freeze the app, no error message is thrown and I cannot use the other function on the dashboard afterwards.
streamlit version : 1.14.0
streamlit-aggrid : 0.3.2
python 3.7
I guess the problem is from this aggrid command : selection = AgGrid(df, enable_enterprise_modules=True, gridOptions=options.build(), theme="light", update_mode=GridUpdateMode.MODEL_CHANGED, allow_unsafe_jscode=True, )
I have to say that it works when I run the app locally (means not on streamlit cloud).
Here is the app : https://py53-projet7-dashboard-z498gi.streamlit.app/
And the github repository : GitHub - PY53/Projet7: Failure risk estimation for loan delivery
Please If you have already experienced such a behavior or if you have some tips to help me for finding a solution it would be much appreciated.
Thanks in advance
PS: another strange behavior is that I cannot always get my log messages on the side panel, even though I put sys.stdout.flush() in my dashboard file.
I am not able to get to your app. I get a message that I don’t have access. Is it set to public?
I don’t if I can be much help, but the first thing I was going to look at is if anything could be eating up all the memory. That’s the one thing I’ve come across with “no error” crashing/freezing type problems is just not enough memory as implemented.
ok thanks,
yes, the app access is public. I set it just after sending the first message, maybe you were quicker than me.
I had a look at the memory (running in local with psrecord), but it doesn’t looks like a memory leak or something like this.
I have seen some issues similar to mine related to a timeout of the component, so I have to say that my internet connexion is not very good, could it be the source of the problem. I don’t have access to a good connexion to test yet…
I was able to get to your app this time, but it did not freeze for me. I tried to click around a bunch, mess with the dataframe, change the parameters, but it kept loading fine for me. So good news, I guess?
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.