Get help from the marimo community

Updated yesterday

how does marimo grab the BROWSER env var?

I'm on a WSL + NixOS setup and recently switched to Wayland, so my xdg settings are all messed up and running marimo edit freezes everything up. I've tried most of the low hanging fruit but can't figure out why the output of my marimo env command leaves "browser" blank. It doesn't do this on the windows side, and I can run marimo fine. Any ideas??
s
d
18 comments
interesting update... running it in headless mode doesn't seem to work either, which i didnt expect. symptom is the shell hanging right after the command, no log output or anything....
Can you run with -d? for debugging? I have 2 theories
[D 250311 23:59:14 file_router:44] Routing to file nb.py
whoa okay, i have no idea why but after 10 minutes it actually loaded.. p sure i've waited longer before so dunno what changed but i have TONS of lines in debug mode saying "validating auth"
no idea if that's related or not
oh and at the top just found this:
WARNING: Current configuration will not reload as not all conditions are met, please refer to documentation.
(guessing that's the browser? but my browser did launch πŸ€”
Hmmm. Did you install from nixpkgs or pypi?
pypi, do y'all distribute on nixpkgs?
i did install uv through nixpkgs though
and sometimes if i don't have the right version of python installed, it will give me an error and i have to update my nix config to install the right one
when i do uv run marimo
(validating auth is still ticking fwiw)
Not sure if it's browser related since nothing happens with headless. marimo just uses the native webbrowser package in python (https://docs.python.org/3/library/webbrowser.html). I recently patched this for wasm and wondered if that might be the issue (it's not)

pypi, do y'all distribute on nixpkgs?

Yes, nixpkgs normally lags a few minor versions though. I want to add first class support for nix package management, but we'll see if I can make a strong case it's worth the time

when i do uv run marimo
Hmm. uv downloads binaries that aren't always happy with nix. Maybe something's up there?

---

Here's another issue with really slow start-ups:
https://discord.com/channels/1059888774789730424/1254862968068243476/threads/1342662295972478986

If you could share the timestamps of your debug log on startup, that might go a way in figuring out what's up.
I found out what it's related to, I'll post the WSL issue in a bit
Add a reply
Sign up and join the conversation on Discord