-
Hi, I'm trying to upgrade from solara 1.22.0 but with no success. The environment with 1.22.0 keeps working OK, but I can't make the new environment work. I did a clean install in a new conda environment (windows 10, python 3.12 solara 1.37.1) and try to run the eample from here: https://solara.dev/documentation/getting_started "First Script".
The server gets started but only blank page with solara logo on the tab is rendered in browsers (EDGE or Chrome). When installed Jupyter Lab the example runs OK in the Jupyter Lab, but not from the command line. I've also discussed in this in Discord with other user with same type of issue: https://discord.com/channels/1106593685241614489/1272769680641359893/1272769866545369138 Edit: Tried exact the same thing on MacOS Sonoma 14.1.1 and Chrome Browser - works as expected. So my problem seems to be related to my Windows environment. But still appreciate if anyone has any advice on what might be the problem in Windows. Edit 19th Aug 2024: Apparently the app tries to load a files from: "/_solara/cdn/font etc. etc." but can't find any of them. I can't figure out where in my computer local server root directory is so can't check if they are there. Edit 20th Aug 2024: potentially linked to the Issue #490 (comment) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi, Finally figured out the problem. The problem occurred in my company Windows computer which is using OneDrive. Apparently during installation OneDrive breaks some symbolic links and thus solara can't find it's assets. The solution was to install solara with assets like this (using uv), preferably to a location that is not cloud shared: |
Beta Was this translation helpful? Give feedback.
Hi,
Finally figured out the problem. The problem occurred in my company Windows computer which is using OneDrive. Apparently during installation OneDrive breaks some symbolic links and thus solara can't find it's assets. The solution was to install solara with assets like this (using uv), preferably to a location that is not cloud shared:
uv pip install "solara[assets]" --link-mode=copy
There were bunch of other problems with company computer as well, starting from Cortex XDR security SW blocking the installation but that is another story.