S
Solara10mo ago
James

Quickstart server not rendering any components

Hi all, apologies if this is a very basic question. I am running through the quickstart for solara on the website: https://solara.dev/docs/quickstart; however, I'm running into an issue where once I run the example sol.py file and go to http://localhost:8765/ on my local computer, there seems to be nothing rendered as it is just a blank page. Looking at the browser logs it seems that the server is returning a 404 response as seen in the sreenshot attached. Pinging the server at curl http://localhost:8765/readyz results in a 200 OK response. Furthermore, running solara with logs such as solara run --log-level debug sol.py does not seem to yield any particular useful information. I am running with the following versions: solara-1.27.0 ipyvuetify-1.8.10 ipywidgets-8.0.4 Python 3.8.18 Chrome Version 121.0.6167.184 Mac M1 Max Please let me know if there is anything glaring I am missing - thank you all in advance!
No description
2 Replies
mariobuikhuizen
mariobuikhuizen10mo ago
If you don't have an internet connection, you can install solara-assets (pip install solara-assets) , these files will then be available
James
JamesOP10mo ago
Ahh thanks! This seems to have solved the problem - it is weird though because I do have an internet connection so I'm not sure why these assets failed to load originally
Want results from more Discord servers?
Add your server