Barrold
The timer thread is an infinte loop That
That was at like line 13. In the code below, dateTime is just a datetime object. I have to learn to think more like a compiler!
@solara.component
def updateGlobe(dateTime, COLZ, localTimeZone, localLat, localLong):
x=dateTime
for cob in CC.Celestial(localTimeZone, localLat, localLong).iterrows():
...
18 replies
The timer thread is an infinte loop That
The problem was that I was passing passing the value and not the reaction object itself. The state updating is working well for all the display objects. Thanks for your help! Now most of what I have to deal with is formatting.
18 replies
The timer thread is an infinte loop That
Btw, here's the streamlit version of the app: https://celestialcompanion.streamlit.app/
18 replies