Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boids app visualization remains blank #2551

Closed
anitagraser opened this issue Dec 15, 2024 · 3 comments
Closed

Boids app visualization remains blank #2551

anitagraser opened this issue Dec 15, 2024 · 3 comments

Comments

@anitagraser
Copy link

anitagraser commented Dec 15, 2024

Describe the bug

Starting the boids app, I can see step numbers keep increasing but there's no visualization appearing on the right:

image

Expected behavior

I'd expect to see a viz of moving boids.

To Reproduce

Tested in Firefox and Vivaldi (Chrome)

(mesa) anita@anita-mint:~/Documents/Github/mesa/mesa/examples/basic/boid_flockers$ solara run app.py
Solara server is starting at http://localhost:8765
[26043:26043:1215/132629.456523:ERROR:CONSOLE(242)] "<webview>: Script cannot be injected into content until the page has loaded.", source: extensions::webView (242)
[26043:26043:1215/132629.457545:ERROR:CONSOLE(242)] "<webview>: Script cannot be injected into content until the page has loaded.", source: extensions::webView (242)

Additional context

(mesa) anita@anita-mint:~$ conda list
# packages in environment at /home/anita/miniforge3/envs/mesa:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
anyio                     4.7.0                    pypi_0    pypi
asttokens                 3.0.0                    pypi_0    pypi
attrs                     24.2.0                   pypi_0    pypi
bzip2                     1.0.8                h4bc722e_7    conda-forge
ca-certificates           2024.12.14           hbcca054_0    conda-forge
cachetools                5.5.0                    pypi_0    pypi
certifi                   2024.12.14               pypi_0    pypi
charset-normalizer        3.4.0                    pypi_0    pypi
click                     8.1.7                    pypi_0    pypi
comm                      0.2.2                    pypi_0    pypi
contourpy                 1.3.1                    pypi_0    pypi
cycler                    0.12.1                   pypi_0    pypi
debugpy                   1.8.11                   pypi_0    pypi
decorator                 5.1.1                    pypi_0    pypi
executing                 2.1.0                    pypi_0    pypi
fastjsonschema            2.21.1                   pypi_0    pypi
filelock                  3.16.1                   pypi_0    pypi
fonttools                 4.55.3                   pypi_0    pypi
h11                       0.14.0                   pypi_0    pypi
humanize                  4.11.0                   pypi_0    pypi
idna                      3.10                     pypi_0    pypi
ipykernel                 7.0.0a0                  pypi_0    pypi
ipython                   8.30.0                   pypi_0    pypi
ipyvue                    3.0.0a4                  pypi_0    pypi
ipyvuetify                3.0.0a2                  pypi_0    pypi
ipywidgets                8.1.5                    pypi_0    pypi
jedi                      0.19.2                   pypi_0    pypi
jinja2                    3.1.4                    pypi_0    pypi
jsonschema                4.23.0                   pypi_0    pypi
jsonschema-specifications 2024.10.1                pypi_0    pypi
jupyter-client            8.6.3                    pypi_0    pypi
jupyter-core              5.7.2                    pypi_0    pypi
jupyterlab-widgets        3.0.13                   pypi_0    pypi
kiwisolver                1.4.7                    pypi_0    pypi
ld_impl_linux-64          2.43                 h712a8e2_2    conda-forge
libexpat                  2.6.4                h5888daf_0    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc                    14.2.0               h77fa898_1    conda-forge
libgcc-ng                 14.2.0               h69a702a_1    conda-forge
libgomp                   14.2.0               h77fa898_1    conda-forge
liblzma                   5.6.3                hb9d3cd8_1    conda-forge
libmpdec                  4.0.0                h4bc722e_0    conda-forge
libsqlite                 3.47.2               hee588c1_0    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libzlib                   1.3.1                hb9d3cd8_2    conda-forge
markdown                  3.7                      pypi_0    pypi
markdown-it-py            3.0.0                    pypi_0    pypi
markupsafe                3.0.2                    pypi_0    pypi
matplotlib                3.10.0                   pypi_0    pypi
matplotlib-inline         0.1.7                    pypi_0    pypi
mdurl                     0.1.2                    pypi_0    pypi
mesa                      3.1.1                    pypi_0    pypi
nbformat                  5.10.4                   pypi_0    pypi
ncurses                   6.5                  he02047a_1    conda-forge
nest-asyncio              1.6.0                    pypi_0    pypi
networkx                  3.4.2                    pypi_0    pypi
numpy                     2.2.0                    pypi_0    pypi
openssl                   3.4.0                hb9d3cd8_0    conda-forge
packaging                 24.2                     pypi_0    pypi
pandas                    2.2.3                    pypi_0    pypi
parso                     0.8.4                    pypi_0    pypi
pexpect                   4.9.0                    pypi_0    pypi
pillow                    11.0.0                   pypi_0    pypi
pip                       24.3.1             pyh145f28c_0    conda-forge
platformdirs              4.3.6                    pypi_0    pypi
prompt-toolkit            3.0.48                   pypi_0    pypi
psutil                    6.1.0                    pypi_0    pypi
ptyprocess                0.7.0                    pypi_0    pypi
pure-eval                 0.2.3                    pypi_0    pypi
pygments                  2.18.0                   pypi_0    pypi
pymdown-extensions        10.12                    pypi_0    pypi
pyparsing                 3.2.0                    pypi_0    pypi
python                    3.13.1          ha99a958_102_cp313    conda-forge
python-dateutil           2.9.0.post0              pypi_0    pypi
python_abi                3.13                    5_cp313    conda-forge
pytz                      2024.2                   pypi_0    pypi
pyyaml                    6.0.2                    pypi_0    pypi
pyzmq                     26.2.0                   pypi_0    pypi
reacton                   1.8.3                    pypi_0    pypi
readline                  8.2                  h8228510_1    conda-forge
referencing               0.35.1                   pypi_0    pypi
requests                  2.32.3                   pypi_0    pypi
rich                      13.9.4                   pypi_0    pypi
rich-click                1.8.5                    pypi_0    pypi
rpds-py                   0.22.3                   pypi_0    pypi
six                       1.17.0                   pypi_0    pypi
sniffio                   1.3.1                    pypi_0    pypi
solara                    1.42.0                   pypi_0    pypi
solara-server             1.42.0                   pypi_0    pypi
solara-ui                 1.42.0                   pypi_0    pypi
stack-data                0.6.3                    pypi_0    pypi
starlette                 0.42.0                   pypi_0    pypi
tk                        8.6.13          noxft_h4845f30_101    conda-forge
tornado                   6.4.2                    pypi_0    pypi
tqdm                      4.67.1                   pypi_0    pypi
traitlets                 5.14.3                   pypi_0    pypi
typing-extensions         4.12.2                   pypi_0    pypi
tzdata                    2024.2                   pypi_0    pypi
urllib3                   2.2.3                    pypi_0    pypi
uvicorn                   0.33.0                   pypi_0    pypi
watchdog                  6.0.0                    pypi_0    pypi
watchfiles                1.0.3                    pypi_0    pypi
wcwidth                   0.2.13                   pypi_0    pypi
websockets                14.1                     pypi_0    pypi
widgetsnbextension        4.0.13                   pypi_0    pypi

@quaquel
Copy link
Member

quaquel commented Dec 16, 2024

Please check #2535. This seems like the same issue.

@anitagraser
Copy link
Author

anitagraser commented Dec 16, 2024

Thank you. I can confirm that the demo works after

pip install ipyvue==1.11.2 ipyvuetify==1.10.0 jupyterlab==4.2.6

@anitagraser
Copy link
Author

@quaquel would you like me to add this to the installation instructions in the readme?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants