Hi,
related to this topic i have a st app with components in gCloud (appEngine & cloudRun).
Very, very, sporadically, the infamous warning below appears. I hope with components v2 this will never happen anymore, with same speed for native & non-native widgets.
But meanwhile, in the config file
can i make st wait more for the components to load?
can i mute (or customize) the warning?
In a production app, for external clients, i would prefer an ommitting widget without warning, than current behaviour.
disclaim, this warning happens with almost every component: login, antd, option_menu, etc.
thanks
warning
Your app is having trouble loading the streamlit_option_menu.option_menu component.
(The app is attempting to load the component from ****, and hasn't received its 'streamlit message.)
If this is a development build, have you started the dev server?
If this is a release build, have you compiled the frontend?
For more troubleshooting help, please see the Streamlit Component docs or visit our forums.
.```
Hi @dataprofessor,
thanks for the response,
but as stated above, streamlit displays a st.warning.
Not a python warning, even less a python error raise.
So your solution does not fit.
My question is more in the streamlit developers side, on how to catch this st.warning as a warning or error. Or if not posible, at least, mute it
Streamlit version 1.32.0 is now available and includes a significant improvement for custom components. The timeout warning for custom components was replaced with an element skeleton to improve the UX for slow-loading components, especially in some cloud-hosted platforms.
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.