ipywidgets icon indicating copy to clipboard operation
ipywidgets copied to clipboard

🐛 SelectMultiple options setter bug when all values selected

Open ollyhensby opened this issue 1 year ago • 0 comments
trafficstars

Description

Setting the options trait of the same SelectMultiple widget when displayed multiple times seems to only set correctly for the first displayed SelectMultiple ONLY when all values are selected. It works as expected otherwise

Just some backstory: I discovered this issue through trying to assign the same SelectMultiple object multiple times to different accordions and noticed this strange behaviour which led me to this issue.

Reproduce

  1. In Jupyterlab, in the first cell, run:
import ipywidgets as w
select_multiple = w.SelectMultiple()
select_multiple.options = ["Test", "Test 2"]
select_multiple.value = ["Test", "Test 2"]
display(select_multiple)
display(select_multiple)

image

  1. Then in the second cell run:
select_multiple.options = ["Hello"]

We see the error here as only the first display of the object has been set as expected: image

Expected behavior

I expect both objects displayed to be the same: image

One way I have resolved this for now is to set value to an empty list before setting the options:

select_multiple.value = []
select_multiple.options = ["Hello"]

which then results in the correct output as shown in the above image.

Context

  • ipywidgets version: 8.1.1
  • Operating System and version: Ubuntu 20.04.6 LTS (WSL 2)
  • Browser and version: Google Chrome Version 120.0.6099.110 (Official Build) (64-bit)
Troubleshoot Output
$PATH:
        /home/jovyan/mambaforge/envs/ipywidgets-issue/bin
        /home/jovyan/mambaforge/condabin
        ...

sys.path: /home/jovyan/mambaforge/envs/ipywidgets-issue/bin /home/jovyan/mambaforge/envs/ipywidgets-issue/lib/python312.zip /home/jovyan/mambaforge/envs/ipywidgets-issue/lib/python3.12 /home/jovyan/mambaforge/envs/ipywidgets-issue/lib/python3.12/lib-dynload /home/jovyan/mambaforge/envs/ipywidgets-issue/lib/python3.12/site-packages

sys.executable: /home/jovyan/mambaforge/envs/ipywidgets-issue/bin/python

sys.version: 3.12.0 | packaged by conda-forge | (main, Oct 3 2023, 08:43:22) [GCC 12.3.0]

platform.platform(): Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.31

which -a jupyter: /home/jovyan/mambaforge/envs/ipywidgets-issue/bin/jupyter

pip list: Package Version ------------------------- ------------ anyio 4.2.0 argon2-cffi 23.1.0 argon2-cffi-bindings 21.2.0 arrow 1.3.0 asttokens 2.4.1 async-lru 2.0.4 attrs 23.1.0 Babel 2.14.0 beautifulsoup4 4.12.2 bleach 6.1.0 Brotli 1.1.0 cached-property 1.5.2 certifi 2023.11.17 cffi 1.16.0 charset-normalizer 3.3.2 comm 0.1.4 debugpy 1.8.0 decorator 5.1.1 defusedxml 0.7.1 entrypoints 0.4 exceptiongroup 1.2.0 executing 2.0.1 fastjsonschema 2.19.0 fqdn 1.5.1 idna 3.6 importlib-metadata 7.0.0 importlib-resources 6.1.1 ipykernel 6.26.0 ipython 8.18.1 ipywidgets 8.1.1 isoduration 20.11.0 jedi 0.19.1 Jinja2 3.1.2 json5 0.9.14 jsonpointer 2.4 jsonschema 4.20.0 jsonschema-specifications 2023.11.2 jupyter_client 8.6.0 jupyter_core 5.5.1 jupyter-events 0.9.0 jupyter-lsp 2.2.1 jupyter_server 2.12.1 jupyter_server_terminals 0.5.0 jupyterlab 4.0.9 jupyterlab_pygments 0.3.0 jupyterlab_server 2.25.2 jupyterlab-widgets 3.0.9 MarkupSafe 2.1.3 matplotlib-inline 0.1.6 mistune 3.0.2 nbclient 0.8.0 nbconvert 7.13.0 nbformat 5.9.2 nest-asyncio 1.5.8 notebook_shim 0.2.3 overrides 7.4.0 packaging 23.2 pandocfilters 1.5.0 parso 0.8.3 pexpect 4.8.0 pickleshare 0.7.5 pip 23.3.2 pkgutil_resolve_name 1.3.10 platformdirs 4.1.0 prometheus-client 0.19.0 prompt-toolkit 3.0.42 psutil 5.9.7 ptyprocess 0.7.0 pure-eval 0.2.2 pycparser 2.21 Pygments 2.17.2 PySocks 1.7.1 python-dateutil 2.8.2 python-json-logger 2.0.7 pytz 2023.3.post1 PyYAML 6.0.1 pyzmq 25.1.2 referencing 0.32.0 requests 2.31.0 rfc3339-validator 0.1.4 rfc3986-validator 0.1.1 rpds-py 0.15.2 Send2Trash 1.8.2 setuptools 68.2.2 six 1.16.0 sniffio 1.3.0 soupsieve 2.5 stack-data 0.6.2 terminado 0.18.0 tinycss2 1.2.1 tomli 2.0.1 tornado 6.3.3 traitlets 5.14.0 types-python-dateutil 2.8.19.14 typing_extensions 4.9.0 typing-utils 0.1.0 uri-template 1.3.0 urllib3 2.1.0 wcwidth 0.2.12 webcolors 1.13 webencodings 0.5.1 websocket-client 1.7.0 wheel 0.42.0 widgetsnbextension 4.0.9 zipp 3.17.0

conda list: # packages in environment at /home/jovyan/mambaforge/envs/ipywidgets-issue: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 2_gnu conda-forge anyio 4.2.0 pyhd8ed1ab_0 conda-forge argon2-cffi 23.1.0 pyhd8ed1ab_0 conda-forge argon2-cffi-bindings 21.2.0 py312h98912ed_4 conda-forge arrow 1.3.0 pyhd8ed1ab_0 conda-forge asttokens 2.4.1 pyhd8ed1ab_0 conda-forge async-lru 2.0.4 pyhd8ed1ab_0 conda-forge attrs 23.1.0 pyh71513ae_1 conda-forge babel 2.14.0 pyhd8ed1ab_0 conda-forge beautifulsoup4 4.12.2 pyha770c72_0 conda-forge bleach 6.1.0 pyhd8ed1ab_0 conda-forge brotli-python 1.1.0 py312h30efb56_1 conda-forge bzip2 1.0.8 hd590300_5 conda-forge ca-certificates 2023.11.17 hbcca054_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge certifi 2023.11.17 pyhd8ed1ab_0 conda-forge cffi 1.16.0 py312hf06ca03_0 conda-forge charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge comm 0.1.4 pyhd8ed1ab_0 conda-forge debugpy 1.8.0 py312h30efb56_1 conda-forge decorator 5.1.1 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge entrypoints 0.4 pyhd8ed1ab_0 conda-forge exceptiongroup 1.2.0 pyhd8ed1ab_0 conda-forge executing 2.0.1 pyhd8ed1ab_0 conda-forge fqdn 1.5.1 pyhd8ed1ab_0 conda-forge idna 3.6 pyhd8ed1ab_0 conda-forge importlib-metadata 7.0.0 pyha770c72_0 conda-forge importlib_metadata 7.0.0 hd8ed1ab_0 conda-forge importlib_resources 6.1.1 pyhd8ed1ab_0 conda-forge ipykernel 6.26.0 pyhf8b6a83_0 conda-forge ipython 8.18.1 pyh707e725_3 conda-forge ipywidgets 8.1.1 pyhd8ed1ab_0 conda-forge isoduration 20.11.0 pyhd8ed1ab_0 conda-forge jedi 0.19.1 pyhd8ed1ab_0 conda-forge jinja2 3.1.2 pyhd8ed1ab_1 conda-forge json5 0.9.14 pyhd8ed1ab_0 conda-forge jsonpointer 2.4 py312h7900ff3_3 conda-forge jsonschema 4.20.0 pyhd8ed1ab_0 conda-forge jsonschema-specifications 2023.11.2 pyhd8ed1ab_0 conda-forge jsonschema-with-format-nongpl 4.20.0 pyhd8ed1ab_0 conda-forge jupyter-lsp 2.2.1 pyhd8ed1ab_0 conda-forge jupyter_client 8.6.0 pyhd8ed1ab_0 conda-forge jupyter_core 5.5.1 py312h7900ff3_0 conda-forge jupyter_events 0.9.0 pyhd8ed1ab_0 conda-forge jupyter_server 2.12.1 pyhd8ed1ab_0 conda-forge jupyter_server_terminals 0.5.0 pyhd8ed1ab_0 conda-forge jupyterlab 4.0.9 pyhd8ed1ab_0 conda-forge jupyterlab_pygments 0.3.0 pyhd8ed1ab_0 conda-forge jupyterlab_server 2.25.2 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 3.0.9 pyhd8ed1ab_0 conda-forge ld_impl_linux-64 2.40 h41732ed_0 conda-forge libexpat 2.5.0 hcb278e6_1 conda-forge libffi 3.4.2 h7f98852_5 conda-forge libgcc-ng 13.2.0 h807b86a_3 conda-forge libgomp 13.2.0 h807b86a_3 conda-forge libnsl 2.0.1 hd590300_0 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libsqlite 3.44.2 h2797004_0 conda-forge libstdcxx-ng 13.2.0 h7e041cc_3 conda-forge libuuid 2.38.1 h0b41bf4_0 conda-forge libzlib 1.2.13 hd590300_5 conda-forge markupsafe 2.1.3 py312h98912ed_1 conda-forge matplotlib-inline 0.1.6 pyhd8ed1ab_0 conda-forge mistune 3.0.2 pyhd8ed1ab_0 conda-forge nbclient 0.8.0 pyhd8ed1ab_0 conda-forge nbconvert-core 7.13.0 pyhd8ed1ab_0 conda-forge nbformat 5.9.2 pyhd8ed1ab_0 conda-forge ncurses 6.4 h59595ed_2 conda-forge nest-asyncio 1.5.8 pyhd8ed1ab_0 conda-forge notebook-shim 0.2.3 pyhd8ed1ab_0 conda-forge openssl 3.2.0 hd590300_1 conda-forge overrides 7.4.0 pyhd8ed1ab_0 conda-forge packaging 23.2 pyhd8ed1ab_0 conda-forge pandocfilters 1.5.0 pyhd8ed1ab_0 conda-forge parso 0.8.3 pyhd8ed1ab_0 conda-forge pexpect 4.8.0 pyh1a96a4e_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pip 23.3.2 pyhd8ed1ab_0 conda-forge pkgutil-resolve-name 1.3.10 pyhd8ed1ab_1 conda-forge platformdirs 4.1.0 pyhd8ed1ab_0 conda-forge prometheus_client 0.19.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.42 pyha770c72_0 conda-forge psutil 5.9.7 py312h98912ed_0 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge pure_eval 0.2.2 pyhd8ed1ab_0 conda-forge pycparser 2.21 pyhd8ed1ab_0 conda-forge pygments 2.17.2 pyhd8ed1ab_0 conda-forge pysocks 1.7.1 pyha2e5f31_6 conda-forge python 3.12.0 hab00c5b_0_cpython conda-forge python-dateutil 2.8.2 pyhd8ed1ab_0 conda-forge python-fastjsonschema 2.19.0 pyhd8ed1ab_0 conda-forge python-json-logger 2.0.7 pyhd8ed1ab_0 conda-forge python_abi 3.12 4_cp312 conda-forge pytz 2023.3.post1 pyhd8ed1ab_0 conda-forge pyyaml 6.0.1 py312h98912ed_1 conda-forge pyzmq 25.1.2 py312h886d080_0 conda-forge readline 8.2 h8228510_1 conda-forge referencing 0.32.0 pyhd8ed1ab_0 conda-forge requests 2.31.0 pyhd8ed1ab_0 conda-forge rfc3339-validator 0.1.4 pyhd8ed1ab_0 conda-forge rfc3986-validator 0.1.1 pyh9f0ad1d_0 conda-forge rpds-py 0.15.2 py312h4b3b743_0 conda-forge send2trash 1.8.2 pyh41d4057_0 conda-forge setuptools 68.2.2 pyhd8ed1ab_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge sniffio 1.3.0 pyhd8ed1ab_0 conda-forge soupsieve 2.5 pyhd8ed1ab_1 conda-forge stack_data 0.6.2 pyhd8ed1ab_0 conda-forge terminado 0.18.0 pyh0d859eb_0 conda-forge tinycss2 1.2.1 pyhd8ed1ab_0 conda-forge tk 8.6.13 noxft_h4845f30_101 conda-forge tomli 2.0.1 pyhd8ed1ab_0 conda-forge tornado 6.3.3 py312h98912ed_1 conda-forge traitlets 5.14.0 pyhd8ed1ab_0 conda-forge types-python-dateutil 2.8.19.14 pyhd8ed1ab_0 conda-forge typing-extensions 4.9.0 hd8ed1ab_0 conda-forge typing_extensions 4.9.0 pyha770c72_0 conda-forge typing_utils 0.1.0 pyhd8ed1ab_0 conda-forge tzdata 2023c h71feb2d_0 conda-forge uri-template 1.3.0 pyhd8ed1ab_0 conda-forge urllib3 2.1.0 pyhd8ed1ab_0 conda-forge wcwidth 0.2.12 pyhd8ed1ab_0 conda-forge webcolors 1.13 pyhd8ed1ab_0 conda-forge webencodings 0.5.1 pyhd8ed1ab_2 conda-forge websocket-client 1.7.0 pyhd8ed1ab_0 conda-forge wheel 0.42.0 pyhd8ed1ab_0 conda-forge widgetsnbextension 4.0.9 pyhd8ed1ab_0 conda-forge xz 5.2.6 h166bdaf_0 conda-forge yaml 0.2.5 h7f98852_2 conda-forge zeromq 4.3.5 h59595ed_0 conda-forge zipp 3.17.0 pyhd8ed1ab_0 conda-forge

conda env: name: ipywidgets-issue channels: - conda-forge dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - anyio=4.2.0=pyhd8ed1ab_0 - argon2-cffi=23.1.0=pyhd8ed1ab_0 - argon2-cffi-bindings=21.2.0=py312h98912ed_4 - arrow=1.3.0=pyhd8ed1ab_0 - asttokens=2.4.1=pyhd8ed1ab_0 - async-lru=2.0.4=pyhd8ed1ab_0 - attrs=23.1.0=pyh71513ae_1 - babel=2.14.0=pyhd8ed1ab_0 - beautifulsoup4=4.12.2=pyha770c72_0 - bleach=6.1.0=pyhd8ed1ab_0 - brotli-python=1.1.0=py312h30efb56_1 - bzip2=1.0.8=hd590300_5 - ca-certificates=2023.11.17=hbcca054_0 - cached-property=1.5.2=hd8ed1ab_1 - cached_property=1.5.2=pyha770c72_1 - certifi=2023.11.17=pyhd8ed1ab_0 - cffi=1.16.0=py312hf06ca03_0 - charset-normalizer=3.3.2=pyhd8ed1ab_0 - comm=0.1.4=pyhd8ed1ab_0 - debugpy=1.8.0=py312h30efb56_1 - decorator=5.1.1=pyhd8ed1ab_0 - defusedxml=0.7.1=pyhd8ed1ab_0 - entrypoints=0.4=pyhd8ed1ab_0 - exceptiongroup=1.2.0=pyhd8ed1ab_0 - executing=2.0.1=pyhd8ed1ab_0 - fqdn=1.5.1=pyhd8ed1ab_0 - idna=3.6=pyhd8ed1ab_0 - importlib-metadata=7.0.0=pyha770c72_0 - importlib_metadata=7.0.0=hd8ed1ab_0 - importlib_resources=6.1.1=pyhd8ed1ab_0 - ipykernel=6.26.0=pyhf8b6a83_0 - ipython=8.18.1=pyh707e725_3 - ipywidgets=8.1.1=pyhd8ed1ab_0 - isoduration=20.11.0=pyhd8ed1ab_0 - jedi=0.19.1=pyhd8ed1ab_0 - jinja2=3.1.2=pyhd8ed1ab_1 - json5=0.9.14=pyhd8ed1ab_0 - jsonpointer=2.4=py312h7900ff3_3 - jsonschema=4.20.0=pyhd8ed1ab_0 - jsonschema-specifications=2023.11.2=pyhd8ed1ab_0 - jsonschema-with-format-nongpl=4.20.0=pyhd8ed1ab_0 - jupyter-lsp=2.2.1=pyhd8ed1ab_0 - jupyter_client=8.6.0=pyhd8ed1ab_0 - jupyter_core=5.5.1=py312h7900ff3_0 - jupyter_events=0.9.0=pyhd8ed1ab_0 - jupyter_server=2.12.1=pyhd8ed1ab_0 - jupyter_server_terminals=0.5.0=pyhd8ed1ab_0 - jupyterlab=4.0.9=pyhd8ed1ab_0 - jupyterlab_pygments=0.3.0=pyhd8ed1ab_0 - jupyterlab_server=2.25.2=pyhd8ed1ab_0 - jupyterlab_widgets=3.0.9=pyhd8ed1ab_0 - ld_impl_linux-64=2.40=h41732ed_0 - libexpat=2.5.0=hcb278e6_1 - libffi=3.4.2=h7f98852_5 - libgcc-ng=13.2.0=h807b86a_3 - libgomp=13.2.0=h807b86a_3 - libnsl=2.0.1=hd590300_0 - libsodium=1.0.18=h36c2ea0_1 - libsqlite=3.44.2=h2797004_0 - libstdcxx-ng=13.2.0=h7e041cc_3 - libuuid=2.38.1=h0b41bf4_0 - libzlib=1.2.13=hd590300_5 - markupsafe=2.1.3=py312h98912ed_1 - matplotlib-inline=0.1.6=pyhd8ed1ab_0 - mistune=3.0.2=pyhd8ed1ab_0 - nbclient=0.8.0=pyhd8ed1ab_0 - nbconvert-core=7.13.0=pyhd8ed1ab_0 - nbformat=5.9.2=pyhd8ed1ab_0 - ncurses=6.4=h59595ed_2 - nest-asyncio=1.5.8=pyhd8ed1ab_0 - notebook-shim=0.2.3=pyhd8ed1ab_0 - openssl=3.2.0=hd590300_1 - overrides=7.4.0=pyhd8ed1ab_0 - packaging=23.2=pyhd8ed1ab_0 - pandocfilters=1.5.0=pyhd8ed1ab_0 - parso=0.8.3=pyhd8ed1ab_0 - pexpect=4.8.0=pyh1a96a4e_2 - pickleshare=0.7.5=py_1003 - pip=23.3.2=pyhd8ed1ab_0 - pkgutil-resolve-name=1.3.10=pyhd8ed1ab_1 - platformdirs=4.1.0=pyhd8ed1ab_0 - prometheus_client=0.19.0=pyhd8ed1ab_0 - prompt-toolkit=3.0.42=pyha770c72_0 - psutil=5.9.7=py312h98912ed_0 - ptyprocess=0.7.0=pyhd3deb0d_0 - pure_eval=0.2.2=pyhd8ed1ab_0 - pycparser=2.21=pyhd8ed1ab_0 - pygments=2.17.2=pyhd8ed1ab_0 - pysocks=1.7.1=pyha2e5f31_6 - python=3.12.0=hab00c5b_0_cpython - python-dateutil=2.8.2=pyhd8ed1ab_0 - python-fastjsonschema=2.19.0=pyhd8ed1ab_0 - python-json-logger=2.0.7=pyhd8ed1ab_0 - python_abi=3.12=4_cp312 - pytz=2023.3.post1=pyhd8ed1ab_0 - pyyaml=6.0.1=py312h98912ed_1 - pyzmq=25.1.2=py312h886d080_0 - readline=8.2=h8228510_1 - referencing=0.32.0=pyhd8ed1ab_0 - requests=2.31.0=pyhd8ed1ab_0 - rfc3339-validator=0.1.4=pyhd8ed1ab_0 - rfc3986-validator=0.1.1=pyh9f0ad1d_0 - rpds-py=0.15.2=py312h4b3b743_0 - send2trash=1.8.2=pyh41d4057_0 - setuptools=68.2.2=pyhd8ed1ab_0 - six=1.16.0=pyh6c4a22f_0 - sniffio=1.3.0=pyhd8ed1ab_0 - soupsieve=2.5=pyhd8ed1ab_1 - stack_data=0.6.2=pyhd8ed1ab_0 - terminado=0.18.0=pyh0d859eb_0 - tinycss2=1.2.1=pyhd8ed1ab_0 - tk=8.6.13=noxft_h4845f30_101 - tomli=2.0.1=pyhd8ed1ab_0 - tornado=6.3.3=py312h98912ed_1 - traitlets=5.14.0=pyhd8ed1ab_0 - types-python-dateutil=2.8.19.14=pyhd8ed1ab_0 - typing-extensions=4.9.0=hd8ed1ab_0 - typing_extensions=4.9.0=pyha770c72_0 - typing_utils=0.1.0=pyhd8ed1ab_0 - tzdata=2023c=h71feb2d_0 - uri-template=1.3.0=pyhd8ed1ab_0 - urllib3=2.1.0=pyhd8ed1ab_0 - wcwidth=0.2.12=pyhd8ed1ab_0 - webcolors=1.13=pyhd8ed1ab_0 - webencodings=0.5.1=pyhd8ed1ab_2 - websocket-client=1.7.0=pyhd8ed1ab_0 - wheel=0.42.0=pyhd8ed1ab_0 - widgetsnbextension=4.0.9=pyhd8ed1ab_0 - xz=5.2.6=h166bdaf_0 - yaml=0.2.5=h7f98852_2 - zeromq=4.3.5=h59595ed_0 - zipp=3.17.0=pyhd8ed1ab_0 prefix: /home/jovyan/mambaforge/envs/ipywidgets-issue

Command Line Output
[W 2023-12-20 19:21:13.384 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[W 2023-12-20 19:21:13.390 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-12-20 19:21:13.391 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2023-12-20 19:21:13.395 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2023-12-20 19:21:13.403 ServerApp] jupyterlab | extension was successfully linked.
[I 2023-12-20 19:21:13.660 ServerApp] notebook_shim | extension was successfully linked.
[I 2023-12-20 19:21:13.681 ServerApp] notebook_shim | extension was successfully loaded.
[I 2023-12-20 19:21:13.683 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2023-12-20 19:21:13.684 ServerApp] jupyter_server_terminals | extension was successfully loaded.
[I 2023-12-20 19:21:13.686 LabApp] JupyterLab extension loaded from /home/jovyan/mambaforge/envs/ipywidgets-issue/lib/python3.12/site-packages/jupyterlab
[I 2023-12-20 19:21:13.686 LabApp] JupyterLab application directory is /home/jovyan/mambaforge/envs/ipywidgets-issue/share/jupyter/lab
[I 2023-12-20 19:21:13.687 LabApp] Extension Manager is 'pypi'.
[I 2023-12-20 19:21:13.689 ServerApp] jupyterlab | extension was successfully loaded.
[I 2023-12-20 19:21:13.690 ServerApp] The port 8888 is already in use, trying another port.
[I 2023-12-20 19:21:13.690 ServerApp] Serving notebooks from local directory: /home/jovyan/git_personal/ipywidgets-selectmultiple-issue
[I 2023-12-20 19:21:13.690 ServerApp] Jupyter Server 2.12.1 is running at:
[I 2023-12-20 19:21:13.690 ServerApp] http://localhost:8889/lab?token=9bb1444d1c9de6751b6c48bc7b8c1f44c65f31c396ba256b
[I 2023-12-20 19:21:13.690 ServerApp]     http://127.0.0.1:8889/lab?token=9bb1444d1c9de6751b6c48bc7b8c1f44c65f31c396ba256b
[I 2023-12-20 19:21:13.690 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-12-20 19:21:14.127 ServerApp]
To access the server, open this file in a browser:
    file:///home/jovyan/.local/share/jupyter/runtime/jpserver-3204-open.html
Or copy and paste one of these URLs:
    http://localhost:8889/lab?token=9bb1444d1c9de6751b6c48bc7b8c1f44c65f31c396ba256b
    http://127.0.0.1:8889/lab?token=9bb1444d1c9de6751b6c48bc7b8c1f44c65f31c396ba256b

Start : This command cannot be run due to the error: The system cannot find the file specified. At line:1 char:1

  • Start "file:///home/jovyan/.local/share/jupyter/runtime/jpserver-3204 ...
  •   + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
      + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
    
    

[I 2023-12-20 19:21:16.472 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server

Browser Output
Error setting state: Cannot set properties of undefined (setting 'selected')
set_state @ 595.74686e2543ce21f10975.js?v=74686e2543ce21f10975:1
(anonymous) @ 595.74686e2543ce21f10975.js?v=74686e2543ce21f10975:1
Promise.then (async)
_handle_comm_msg @ 595.74686e2543ce21f10975.js?v=74686e2543ce21f10975:1
_handleCommMsg @ jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
_handleMessage @ jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
await in _handleMessage (async)
(anonymous) @ jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1
Promise.then (async)
_onWSMessage @ jlab_core.a61821d8a2a9c35d7996.js?v=a61821d8a2a9c35d7996:1

If using JupyterLab

  • JupyterLab version: 4.0.9
Installed Labextensions
JupyterLab v4.0.9
/home/jovyan/mambaforge/envs/ipywidgets-issue/share/jupyter/labextensions
        jupyterlab_pygments v0.3.0 enabled OK (python, jupyterlab_pygments)
        @jupyter-widgets/jupyterlab-manager v5.0.9 enabled OK (python, jupyterlab_widgets)

ollyhensby avatar Dec 20 '23 19:12 ollyhensby