Hello,
I am encountering an issue with my Streamlit application[Chatbot] , where a blank page randomly appears for a random query. Iāve tried using the dataFrameSerialization = ālegacyā approach, but the issue persists. When inspecting the page, the errors Iām seeing look like the following:
TypeError: Cannot read properties of undefined (reading āverticalā)
at Di (main, 1661a802.js:2:4213879)
at wa (main. 1661a802.js:2:2230016)
at wl (main.1661a802.js:2:2287129)
at ze (main.1661a802.js:2:2276235)
at Oc (main.1661a802.js:2:2276163)
at Mc (main. 1661a802.js:2:2276026)
at cc (main, 16612802.js:2:2273142)
at Uo (moin. 1661a802.js:2:2213737)
at rc (main.1661a802.js:2:2270229)
at Object.enqueueSetState (main.1661a802.js:2:2220755)
Uncaught TypeError: Cannot read properties of undefined (reading āverticalā)
at Di (main. 1661a802.js:2:4213879)
at wa (main.1661a802.js:2:2230016)
at wl (moin.1661a802.js:2:2287129)
at zc (main.16618802.js:2:2276235)
at Oc (main. 1661a802.js:2:2276163)
at Mc (main.1661a802.js:2:2276026)
at cc (main.1661a802.js:2:2273142)
at Uo (main. 1661a802.js:2:2213737)
at rc (main.1661a802.js:2:2270229)
at Object.enqueueSetState (main, 1661a802.js:2:2220755)
Any insights on how to address this would be greatly appreciated.
Thanks for reaching out!. I am unable to share the repository outside of my organization. If thereās anything specific youād like to know or if you have any suggestions based on the error message provided, Iād be happy to discuss further.
Itās a bit difficult to diagnose the issue without seeing the code, but there doesnāt seem to be anything obvious in the error trace youāve provided.
To proceed by elimination, it might be helpful to try deploying the app and checking the Streamlit version in your requirements.txt file to ensure itās the correct one.
I am encountering this issue[showing the blank page] in local and deployed one also.
even I checked the backend logs in both[local and deployed] its working fine, I mean there are no errors and interrupts.
when I inspect the black page, able to see these kind of errors
TypeError: Cannot read properties of undefined (reading āverticalā)
at Di (main, 1661a802.js:2:4213879)
at wa (main. 1661a802.js:2:2230016)
at wl (main.1661a802.js:2:2287129)
at ze (main.1661a802.js:2:2276235)
at Oc (main.1661a802.js:2:2276163)
at Mc (main. 1661a802.js:2:2276026)
at cc (main, 16612802.js:2:2273142)
at Uo (moin. 1661a802.js:2:2213737)
at rc (main.1661a802.js:2:2270229)
at Object.enqueueSetState (main.1661a802.js:2:2220755)
Uncaught TypeError: Cannot read properties of undefined (reading āverticalā)
at Di (main. 1661a802.js:2:4213879)
at wa (main.1661a802.js:2:2230016)
at wl (moin.1661a802.js:2:2287129)
at zc (main.16618802.js:2:2276235)
at Oc (main. 1661a802.js:2:2276163)
at Mc (main.1661a802.js:2:2276026)
at cc (main.1661a802.js:2:2273142)
at Uo (main. 1661a802.js:2:2213737)
at rc (main.1661a802.js:2:2270229)
at Object.enqueueSetState (main, 1661a802.js:2:2220755)
Hi @Charly_Wargnier@user11 Iām also having the same issue with the same type error message. Did you have a chance to find the reason and fix this error? Any comment would be grateful!
Hi @Charly_Wargnier Iāve downgraded to 1.26.0 and now that JS failing error is gone. I think the streamlit dev team should know about these issues for the version >=1.32.0, as Iāve seen several discussion posts talking about this issue TypeError: Cannot read properties of undefined (reading āverticalā) but nobody found the solutions yet.
Thanks @mleeee, but as requested, I think it would be helpful if you could share your repo so we could diagnose further. Hopefully, this is something you can do?
It does occur in a more complex structure of tabs that contain expander components with quite some content. Not sure if it could have something to do with loading or the nested structure of components?
Anyway, I can not consistently reproduce it myself. Sometimes it crashes after 2 clicks, than 5 clicks, etcā¦
The time that I wait between clicks also does not seem to have any influence. Sometimes it does also crash after I wait for 10s to retrieve the next content. (Content is loaded from session states)
No error messages from streamlit in the terminal. Only error message I have is in the image.
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.