S
Solara

general

The timer thread is an infinte loop That

BBarrold7/31/2023
The timer thread is an infinte loop. That's the only loop I know of. And the timer isn't a problem when only using one second ticks to update the Markdown displayed time. The fifteen minute ticks cause no problem until they are used to trigger the component update. I don't touch the render function. I can show you more of the code @MaartenBreddels. Should I paste it here?
MMaartenBreddels7/31/2023
lets start a thread, yeah, you can paste more here
BBarrold7/31/2023
OK. This is all the solara-specifc code. If you want to see it, I can paste the file imported as CC as well.
BBarrold7/31/2023
Btw, here's the streamlit version of the app: https://celestialcompanion.streamlit.app/
MMaartenBreddels7/31/2023
i can't spot it right now 😦 I'm preparing for vacation.. so i cannot help a lot now i would try to debug this youself print out stuff, comment out stuff etc the code is bigger than i expected.. and i see nothing obviously wrong find when it breaks, when it doesn't
BBarrold7/31/2023
I'll see what I can do. Can you point me to a solara example of timer-driven component updates? Have a great vacation!
MMaartenBreddels7/31/2023
https://discord.com/channels/1106593685241614489/1106593686223069309/1111279663805898863 this might help but yours looks the same, its look good can't stand it! 🙂 if you fix it, let me know, i'm curious
BBarrold7/31/2023
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.
MMaartenBreddels8/1/2023
which line was that?
BBarrold8/1/2023
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(): ... Actually, I just looked at the example you posted this morning (8:39 CST). I'm surprised that DataDashboard re-executes when counter.value is passed. Value passing didn't work for me!

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
I m trying to run Solara as Embedding inI'm trying to run Solara as "Embedding in an existing Starlette application" and when I go to `/solaAren't all these the responsibility of the browser to fetch stuff from the CDN?Good afternoon! Can Solara run on a read-only file system? I tried running it on AWS Lambda and it cwhat did you use for thatwhat did you use for that?btw working with Layout and routes was abtw, working with Layout and routes was a pain in my case. One problem was it didn't use the LayoQuestion regarding the `component vue` IQuestion regarding the `component_vue` - I'm trying to create a Box component that will auto scroHi I’ve been trying to add backgroundHi. I’ve been trying to add background image to my page. I created a CSS.py script which contain a tAnother question I m trying to attachAnother question, I'm trying to attach `keydown` listener to TextArea (so that I can submit when "EnI m using IntelliJI'm using IntelliJ`````` from typing import List, cast import plotly import solara df = plotly.data.gapminder() columnNo error populates to python itself butNo error populates to python itself, but I get a bunch in console. I ran into a similar issue when tDeploy beta testersPretty quiet this week on core solara this week, but @mariobuikhuizen and I have been working on a whttps panel holoviz org gallery glaciershttps://panel.holoviz.org/gallery/glaciers.html I want to open files into Xarray datasets, rasterizHelloHello, Do you know if it's possible to enable https with solara ? 🙂It works fine with JupyterLab but SolaraIt works fine with JupyterLab, but Solara throws a lot of `no such comm` errors. See the screenshot.I m up for a screen recording sessionI'm up for a screen recording session! Do you have a cloud where I can upload the recording? With th