Get help from the marimo community

Home
Members
pie314159pi
p
pie314159pi
Offline, last seen 3 months ago
Joined November 25, 2024
Hi, I'm trying to get the VSCode embedded browser for marimo notebooks to launch, but it works on one of my computers and not my other one. It seems to work on my Windows 10 machine, but not on Windows 11. I don't have readily available access to another Windows machine to test on.

On both machines, I have marimo 0.7.6 and the marimo VSCode extension v 0.4.1. I tell VSCode to launch a marimo notebook py file in edit mode. On Win 10, it launches and loads the VSCode embedded browser on the side, whereas on Win 11, it does not (the localhost:2718 is in the terminal in VSCode, but seems to still be running on Win 11 - I need to press Ctrl-C to end the process, whereas on Win 10 it seems like it completes and there is a new line ready for me to run another terminal command).

Is this a known issue and, if so, are there any solutions? I am running Marimo 0.7.6 on both machines with the marimo VSCode extension v 0.4.1. Any ideas on next things to try would be appreciated.
6 comments
M
p
s
g
I'm using the ipyaladin (https://github.com/cds-astro/ipyaladin) based astronomical sky survey viewer, built on anywidget and it is not displaying properly, with the icons for the GUI below the image when displayed in Marimo. In the screenshot attached, I've zoomed out within the browser to 30% to show the buttons. The region to pan and zoom in/out for the image is below region where the image is displayed. Is there something I'm doing incorrectly from Marimo's side, or is this a problem I need to figure out with the devs of ipyaladin? I'm using the latest version of both ipyaladin (0.4.0) and marimo (0.8.2).

Code to reproduce
Plain Text
import marimo

__generated_with = "0.8.2"
app = marimo.App(width="full")


@app.cell
def __():
    import marimo as mo
    from ipyaladin import Aladin
    return Aladin, mo


@app.cell
def __(Aladin, mo):
    aladin = Aladin(target="ngc4151", fov=2)
    aladin = mo.ui.anywidget(aladin)
    aladin
    return aladin,


if __name__ == "__main__":
    app.run()
3 comments
p
M