Closed jucor closed 2 years ago
I think I found the problem: some of my radio button values were None
.
When not using Firestore I just get a warning about this object not being serializable to JSON, but when using Firestore I have the crash above.
Fixed it by: 1/ changing my app logic so they are a regular string instead. 2/ deactivating Firestore so I could see the analytics and therefore the "reset" button 3/ reactivating Firestore (note: restarting streamlit instead of "Re-run" would have been as efficient as 2 and 3 :) ).
It could be useful to have a nice warning instead of the error, by recycling the same check done for seralizability.
Hey! I replaced None
values by empty strings now. Hope this should fix it, can't test right now because I don't have a Firestore instance set up. Feel free to reopen if the issue persists!
Hi! Quite excited at the prospect of using streamlit-analytics, but with streamlit-analytics 0.2.2 I get a bad error when calling
The following error gets displayed in my app:
Any idea what I'm missing, please?