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

Jumpled up text in Jupyterlab version 4.3.2 #17073

Open
ptrber opened this issue Dec 11, 2024 · 1 comment
Open

Jumpled up text in Jupyterlab version 4.3.2 #17073

ptrber opened this issue Dec 11, 2024 · 1 comment
Labels
bug status:Needs Triage Applied to new issues that need triage

Comments

@ptrber
Copy link

ptrber commented Dec 11, 2024

Description

Write text with cell type set to Raw:
To be conservately set dS = dL = d(sec) = 2.7 m
Table 4.7 leakage plus forward/backscatter (a conservatively high assumptiogives the total unshielded airmaer a patient 4.9e-2 mGy/pat (Rad Room all barriers) workload distribution.

Select cell type Markdown:
To be
conservatelyeset dS = d =c d(sec) = 2.7m
Table 4.7leakage
plus forward/backscatter (a conservatively high assumptiogives

Reproduce

To get text jumbled up in a cell. do:
select Markdown and execute the cell.

Expected behavior

Context

  • Operating System and version: Fedora 41
  • Browser and version: Firefox version 133
  • JupyterLab version: 4.3.2
Troubleshoot Output
jupyter troubleshoot
$PATH:
	/home/peter/anaconda3/envs/shield/bin

sys.path:
/home/peter/anaconda3/envs/shield/bin

sys.executable:
/home/peter/anaconda3/envs/shield/bin/python

sys.version:
3.12.7 | packaged by Anaconda, Inc. | (main, Oct 4 2024, 13:27:36) [GCC 11.2.0]

platform.platform():
Linux-6.11.10-300.fc41.x86_64-x86_64-with-glibc2.40

which -a jupyter:
/home/peter/anaconda3/envs/shield/bin/jupyter

pip list:
Package Version
------------------------- --------------
anyio 4.6.2
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
arrow 1.3.0
asttokens 2.0.5
async-lru 2.0.4
attrs 24.2.0
Babel 2.11.0
beautifulsoup4 4.12.3
bleach 6.2.0
Brotli 1.0.9
certifi 2024.8.30
cffi 1.17.1
charset-normalizer 3.3.2
comm 0.2.1
debugpy 1.6.7
decorator 5.1.1
defusedxml 0.7.1
executing 0.8.3
fastjsonschema 2.20.0
fqdn 1.5.1
h11 0.14.0
httpcore 1.0.2
httpx 0.28.1
idna 3.7
ipykernel 6.29.5
ipython 8.27.0
isoduration 20.11.0
jedi 0.19.1
Jinja2 3.1.4
json5 0.9.25
jsonpointer 3.0.0
jsonschema 4.23.0
jsonschema-specifications 2023.7.1
jupyter_client 8.6.0
jupyter_core 5.7.2
jupyter-events 0.10.0
jupyter-lsp 2.2.0
jupyter_server 2.14.1
jupyter_server_terminals 0.4.4
jupyterlab 4.3.2
jupyterlab-pygments 0.1.2
jupyterlab_server 2.27.3
jupyterlab-vim 4.1.4
MarkupSafe 2.1.3
matplotlib-inline 0.1.6
mistune 2.0.4
mkl_fft 1.3.11
mkl_random 1.2.8
mkl-service 2.4.0
nbclient 0.8.0
nbconvert 7.16.4
nbformat 5.10.4
nest-asyncio 1.6.0
notebook 7.3.1
notebook_shim 0.2.3
numpy 2.1.3
overrides 7.4.0
packaging 24.1
pandocfilters 1.5.0
parso 0.8.3
pexpect 4.8.0
pip 24.2
platformdirs 3.10.0
prometheus_client 0.21.0
prompt-toolkit 3.0.43
psutil 5.9.0
ptyprocess 0.7.0
pure-eval 0.2.2
pycparser 2.21
Pygments 2.15.1
PySocks 1.7.1
python-dateutil 2.9.0.post0
python-json-logger 2.0.7
pytz 2024.1
PyYAML 6.0.2
pyzmq 25.1.2
referencing 0.30.2
requests 2.32.3
rfc3339-validator 0.1.4
rfc3986-validator 0.1.1
rpds-py 0.10.6
Send2Trash 1.8.2
setuptools 72.1.0
six 1.16.0
sniffio 1.3.0
soupsieve 2.5
stack-data 0.2.0
terminado 0.17.1
tinycss2 1.2.1
tornado 6.4.1
traitlets 5.14.3
types-python-dateutil 2.9.0.20241206
typing_extensions 4.11.0
uri-template 1.3.0
urllib3 2.2.3
wcwidth 0.2.5
webcolors 24.11.1
webencodings 0.5.1
websocket-client 1.8.0
wheel 0.44.0

conda list:
# packages in environment at /home/peter/anaconda3/envs/shield:
#
# Name Version Build Channel
_libgcc_mutex 0.1 main
_openmp_mutex 5.1 1_gnu
anyio 4.6.2 py312h06a4308_0
argon2-cffi 21.3.0 pyhd3eb1b0_0
argon2-cffi-bindings 21.2.0 py312h5eee18b_0
arrow 1.3.0 pypi_0 pypi
asttokens 2.0.5 pyhd3eb1b0_0
async-lru 2.0.4 py312h06a4308_0
attrs 24.2.0 py312h06a4308_0
babel 2.11.0 py312h06a4308_0
beautifulsoup4 4.12.3 py312h06a4308_0
blas 1.0 mkl
bleach 6.2.0 py312h06a4308_0
brotli-python 1.0.9 py312h6a678d5_8
bzip2 1.0.8 h5eee18b_6
ca-certificates 2024.11.26 h06a4308_0
certifi 2024.8.30 py312h06a4308_0
cffi 1.17.1 py312h1fdaa30_0
charset-normalizer 3.3.2 pyhd3eb1b0_0
comm 0.2.1 py312h06a4308_0
debugpy 1.6.7 py312h6a678d5_0
decorator 5.1.1 pyhd3eb1b0_0
defusedxml 0.7.1 pyhd3eb1b0_0
executing 0.8.3 pyhd3eb1b0_0
expat 2.6.3 h6a678d5_0
fqdn 1.5.1 pypi_0 pypi
h11 0.14.0 py312h06a4308_0
httpcore 1.0.2 py312h06a4308_0
httpx 0.28.1 pypi_0 pypi
idna 3.7 py312h06a4308_0
intel-openmp 2023.1.0 hdb19cb5_46306
ipykernel 6.29.5 py312h06a4308_0
ipython 8.27.0 py312h06a4308_0
isoduration 20.11.0 pypi_0 pypi
jedi 0.19.1 py312h06a4308_0
jinja2 3.1.4 py312h06a4308_1
json5 0.9.25 py312h06a4308_0
jsonpointer 3.0.0 pypi_0 pypi
jsonschema 4.23.0 py312h06a4308_0
jsonschema-specifications 2023.7.1 py312h06a4308_0
jupyter-lsp 2.2.0 py312h06a4308_0
jupyter_client 8.6.0 py312h06a4308_0
jupyter_core 5.7.2 py312h06a4308_0
jupyter_events 0.10.0 py312h06a4308_0
jupyter_server 2.14.1 py312h06a4308_0
jupyter_server_terminals 0.4.4 py312h06a4308_1
jupyterlab 4.3.2 pypi_0 pypi
jupyterlab-vim 4.1.4 pypi_0 pypi
jupyterlab_pygments 0.1.2 py_0
jupyterlab_server 2.27.3 py312h06a4308_0
ld_impl_linux-64 2.40 h12ee557_0
libffi 3.4.4 h6a678d5_1
libgcc-ng 11.2.0 h1234567_1
libgomp 11.2.0 h1234567_1
libsodium 1.0.18 h7b6447c_0
libstdcxx-ng 11.2.0 h1234567_1
libuuid 1.41.5 h5eee18b_0
markupsafe 2.1.3 py312h5eee18b_0
matplotlib-inline 0.1.6 py312h06a4308_0
mistune 2.0.4 py312h06a4308_0
mkl 2023.1.0 h213fc3f_46344
mkl-service 2.4.0 py312h5eee18b_1
mkl_fft 1.3.11 py312h5eee18b_0
mkl_random 1.2.8 py312h526ad5a_0
nbclient 0.8.0 py312h06a4308_0
nbconvert 7.16.4 py312h06a4308_0
nbformat 5.10.4 py312h06a4308_0
ncurses 6.4 h6a678d5_0
nest-asyncio 1.6.0 py312h06a4308_0
notebook 7.3.1 pypi_0 pypi
notebook-shim 0.2.3 py312h06a4308_0
numpy 2.1.3 py312hc5e2394_0
numpy-base 2.1.3 py312h0da6c21_0
openssl 3.0.15 h5eee18b_0
overrides 7.4.0 py312h06a4308_0
packaging 24.1 py312h06a4308_0
pandocfilters 1.5.0 pyhd3eb1b0_0
parso 0.8.3 pyhd3eb1b0_0
pexpect 4.8.0 pyhd3eb1b0_3
pip 24.2 py312h06a4308_0
platformdirs 3.10.0 py312h06a4308_0
prometheus_client 0.21.0 py312h06a4308_0
prompt-toolkit 3.0.43 py312h06a4308_0
prompt_toolkit 3.0.43 hd3eb1b0_0
psutil 5.9.0 py312h5eee18b_0
ptyprocess 0.7.0 pyhd3eb1b0_2
pure_eval 0.2.2 pyhd3eb1b0_0
pycparser 2.21 pyhd3eb1b0_0
pygments 2.15.1 py312h06a4308_1
pysocks 1.7.1 py312h06a4308_0
python 3.12.7 h5148396_0
python-dateutil 2.9.0post0 py312h06a4308_2
python-fastjsonschema 2.20.0 py312h06a4308_0
python-json-logger 2.0.7 py312h06a4308_0
pytz 2024.1 py312h06a4308_0
pyyaml 6.0.2 py312h5eee18b_0
pyzmq 25.1.2 py312h6a678d5_0
readline 8.2 h5eee18b_0
referencing 0.30.2 py312h06a4308_0
requests 2.32.3 py312h06a4308_1
rfc3339-validator 0.1.4 py312h06a4308_0
rfc3986-validator 0.1.1 py312h06a4308_0
rpds-py 0.10.6 py312h4aa5aa6_1
send2trash 1.8.2 py312h06a4308_0
setuptools 72.1.0 py312h06a4308_0
six 1.16.0 pyhd3eb1b0_1
sniffio 1.3.0 py312h06a4308_0
soupsieve 2.5 py312h06a4308_0
sqlite 3.45.3 h5eee18b_0
stack_data 0.2.0 pyhd3eb1b0_0
tbb 2021.8.0 hdb19cb5_0
terminado 0.17.1 py312h06a4308_0
tinycss2 1.2.1 py312h06a4308_0
tk 8.6.14 h39e8969_0
tornado 6.4.1 py312h5eee18b_0
traitlets 5.14.3 py312h06a4308_0
types-python-dateutil 2.9.0.20241206 pypi_0 pypi
typing-extensions 4.11.0 py312h06a4308_0
typing_extensions 4.11.0 py312h06a4308_0
tzdata 2024b h04d1e81_0
uri-template 1.3.0 pypi_0 pypi
urllib3 2.2.3 py312h06a4308_0
wcwidth 0.2.5 pyhd3eb1b0_0
webcolors 24.11.1 pypi_0 pypi
webencodings 0.5.1 py312h06a4308_2
websocket-client 1.8.0 py312h06a4308_0
wheel 0.44.0 py312h06a4308_0
xz 5.4.6 h5eee18b_1
yaml 0.2.5 h7b6447c_0
zeromq 4.3.5 h6a678d5_0
zlib 1.2.13 h5eee18b_1

conda env:
name: shield
channels:
- defaults
- https://repo.anaconda.com/pkgs/main
- https://repo.anaconda.com/pkgs/r
dependencies:
- _libgcc_mutex=0.1=main
- _openmp_mutex=5.1=1_gnu
- anyio=4.6.2=py312h06a4308_0
- argon2-cffi=21.3.0=pyhd3eb1b0_0
- argon2-cffi-bindings=21.2.0=py312h5eee18b_0
- asttokens=2.0.5=pyhd3eb1b0_0
- async-lru=2.0.4=py312h06a4308_0
- attrs=24.2.0=py312h06a4308_0
- babel=2.11.0=py312h06a4308_0
- beautifulsoup4=4.12.3=py312h06a4308_0
- blas=1.0=mkl
- bleach=6.2.0=py312h06a4308_0
- brotli-python=1.0.9=py312h6a678d5_8
- bzip2=1.0.8=h5eee18b_6
- ca-certificates=2024.11.26=h06a4308_0
- certifi=2024.8.30=py312h06a4308_0
- cffi=1.17.1=py312h1fdaa30_0
- charset-normalizer=3.3.2=pyhd3eb1b0_0
- comm=0.2.1=py312h06a4308_0
- debugpy=1.6.7=py312h6a678d5_0
- decorator=5.1.1=pyhd3eb1b0_0
- defusedxml=0.7.1=pyhd3eb1b0_0
- executing=0.8.3=pyhd3eb1b0_0
- expat=2.6.3=h6a678d5_0
- h11=0.14.0=py312h06a4308_0
- httpcore=1.0.2=py312h06a4308_0
- idna=3.7=py312h06a4308_0
- intel-openmp=2023.1.0=hdb19cb5_46306
- ipykernel=6.29.5=py312h06a4308_0
- ipython=8.27.0=py312h06a4308_0
- jedi=0.19.1=py312h06a4308_0
- jinja2=3.1.4=py312h06a4308_1
- json5=0.9.25=py312h06a4308_0
- jsonschema=4.23.0=py312h06a4308_0
- jsonschema-specifications=2023.7.1=py312h06a4308_0
- jupyter-lsp=2.2.0=py312h06a4308_0
- jupyter_client=8.6.0=py312h06a4308_0
- jupyter_core=5.7.2=py312h06a4308_0
- jupyter_events=0.10.0=py312h06a4308_0
- jupyter_server=2.14.1=py312h06a4308_0
- jupyter_server_terminals=0.4.4=py312h06a4308_1
- jupyterlab_pygments=0.1.2=py_0
- jupyterlab_server=2.27.3=py312h06a4308_0
- ld_impl_linux-64=2.40=h12ee557_0
- libffi=3.4.4=h6a678d5_1
- libgcc-ng=11.2.0=h1234567_1
- libgomp=11.2.0=h1234567_1
- libsodium=1.0.18=h7b6447c_0
- libstdcxx-ng=11.2.0=h1234567_1
- libuuid=1.41.5=h5eee18b_0
- markupsafe=2.1.3=py312h5eee18b_0
- matplotlib-inline=0.1.6=py312h06a4308_0
- mistune=2.0.4=py312h06a4308_0
- mkl=2023.1.0=h213fc3f_46344
- mkl-service=2.4.0=py312h5eee18b_1
- mkl_fft=1.3.11=py312h5eee18b_0
- mkl_random=1.2.8=py312h526ad5a_0
- nbclient=0.8.0=py312h06a4308_0
- nbconvert=7.16.4=py312h06a4308_0
- nbformat=5.10.4=py312h06a4308_0
- ncurses=6.4=h6a678d5_0
- nest-asyncio=1.6.0=py312h06a4308_0
- notebook-shim=0.2.3=py312h06a4308_0
- numpy=2.1.3=py312hc5e2394_0
- numpy-base=2.1.3=py312h0da6c21_0
- openssl=3.0.15=h5eee18b_0
- overrides=7.4.0=py312h06a4308_0
- packaging=24.1=py312h06a4308_0
- pandocfilters=1.5.0=pyhd3eb1b0_0
- parso=0.8.3=pyhd3eb1b0_0
- pexpect=4.8.0=pyhd3eb1b0_3
- pip=24.2=py312h06a4308_0
- platformdirs=3.10.0=py312h06a4308_0
- prometheus_client=0.21.0=py312h06a4308_0
- prompt-toolkit=3.0.43=py312h06a4308_0
- prompt_toolkit=3.0.43=hd3eb1b0_0
- psutil=5.9.0=py312h5eee18b_0
- ptyprocess=0.7.0=pyhd3eb1b0_2
- pure_eval=0.2.2=pyhd3eb1b0_0
- pycparser=2.21=pyhd3eb1b0_0
- pygments=2.15.1=py312h06a4308_1
- pysocks=1.7.1=py312h06a4308_0
- python=3.12.7=h5148396_0
- python-dateutil=2.9.0post0=py312h06a4308_2
- python-fastjsonschema=2.20.0=py312h06a4308_0
- python-json-logger=2.0.7=py312h06a4308_0
- pytz=2024.1=py312h06a4308_0
- pyyaml=6.0.2=py312h5eee18b_0
- pyzmq=25.1.2=py312h6a678d5_0
- readline=8.2=h5eee18b_0
- referencing=0.30.2=py312h06a4308_0
- requests=2.32.3=py312h06a4308_1
- rfc3339-validator=0.1.4=py312h06a4308_0
- rfc3986-validator=0.1.1=py312h06a4308_0
- rpds-py=0.10.6=py312h4aa5aa6_1
- send2trash=1.8.2=py312h06a4308_0
- setuptools=72.1.0=py312h06a4308_0
- six=1.16.0=pyhd3eb1b0_1
- sniffio=1.3.0=py312h06a4308_0
- soupsieve=2.5=py312h06a4308_0
- sqlite=3.45.3=h5eee18b_0
- stack_data=0.2.0=pyhd3eb1b0_0
- tbb=2021.8.0=hdb19cb5_0
- terminado=0.17.1=py312h06a4308_0
- tinycss2=1.2.1=py312h06a4308_0
- tk=8.6.14=h39e8969_0
- tornado=6.4.1=py312h5eee18b_0
- traitlets=5.14.3=py312h06a4308_0
- typing-extensions=4.11.0=py312h06a4308_0
- typing_extensions=4.11.0=py312h06a4308_0
- tzdata=2024b=h04d1e81_0
- urllib3=2.2.3=py312h06a4308_0
- wcwidth=0.2.5=pyhd3eb1b0_0
- webencodings=0.5.1=py312h06a4308_2
- websocket-client=1.8.0=py312h06a4308_0
- wheel=0.44.0=py312h06a4308_0
- xz=5.4.6=h5eee18b_1
- yaml=0.2.5=h7b6447c_0
- zeromq=4.3.5=h6a678d5_0
- zlib=1.2.13=h5eee18b_1
- pip:
- arrow==1.3.0
- fqdn==1.5.1
- httpx==0.28.1
- isoduration==20.11.0
- jsonpointer==3.0.0
- jupyterlab==4.3.2
- jupyterlab-vim==4.1.4
- notebook==7.3.1
- types-python-dateutil==2.9.0.20241206
- uri-template==1.3.0
- webcolors==24.11.1
prefix: /home/peter/anaconda3/envs/shield

Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
[I 2024-12-11 15:10:25.693 ServerApp] jupyter_lsp | extension was successfully linked. [I 2024-12-11 15:10:25.696 ServerApp] jupyter_server_terminals | extension was successfully linked. [I 2024-12-11 15:10:25.699 ServerApp] jupyterlab | extension was successfully linked. [I 2024-12-11 15:10:25.703 ServerApp] notebook | extension was successfully linked. [I 2024-12-11 15:10:25.867 ServerApp] notebook_shim | extension was successfully linked. [I 2024-12-11 15:10:25.879 ServerApp] notebook_shim | extension was successfully loaded. [I 2024-12-11 15:10:25.881 ServerApp] jupyter_lsp | extension was successfully loaded. [I 2024-12-11 15:10:25.881 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2024-12-11 15:10:25.883 LabApp] JupyterLab extension loaded from /home/peter/anaconda3/envs/shield/lib/python3.12/site-packages/jupyterlab [I 2024-12-11 15:10:25.883 LabApp] JupyterLab application directory is /home/peter/anaconda3/envs/shield/share/jupyter/lab [I 2024-12-11 15:10:25.883 LabApp] Extension Manager is 'pypi'. [I 2024-12-11 15:10:25.931 ServerApp] jupyterlab | extension was successfully loaded. [I 2024-12-11 15:10:25.934 ServerApp] notebook | extension was successfully loaded. [I 2024-12-11 15:10:25.935 ServerApp] The port 8888 is already in use, trying another port. [I 2024-12-11 15:10:25.935 ServerApp] The port 8889 is already in use, trying another port. [I 2024-12-11 15:10:25.935 ServerApp] Serving notebooks from local directory: /home/peter/Documents/shielding [I 2024-12-11 15:10:25.935 ServerApp] Jupyter Server 2.14.1 is running at: [I 2024-12-11 15:10:25.935 ServerApp] http://localhost:8890/lab?token=10eeb1f9da997b6eec6b757dbab33a1d39cbeaf55324a100 [I 2024-12-11 15:10:25.935 ServerApp] http://127.0.0.1:8890/lab?token=10eeb1f9da997b6eec6b757dbab33a1d39cbeaf55324a100 [I 2024-12-11 15:10:25.935 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 2024-12-11 15:10:25.947 ServerApp]
To access the server, open this file in a browser:
    file:///home/peter/.local/share/jupyter/runtime/jpserver-22852-open.html
Or copy and paste one of these URLs:
    http://localhost:8890/lab?token=10eeb1f9da997b6eec6b757dbab33a1d39cbeaf55324a100
    http://127.0.0.1:8890/lab?token=10eeb1f9da997b6eec6b757dbab33a1d39cbeaf55324a100

[I 2024-12-11 15:10:25.961 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
[W 2024-12-11 15:10:28.082 LabApp] Could not determine jupyterlab build status without nodejs
[I 2024-12-11 15:10:28.554 ServerApp] New terminal with automatic name: 1
[I 2024-12-11 15:10:28.588 ServerApp] Kernel started: 9746c73a-9b41-4f2c-b3ed-0bef31ac537d
[I 2024-12-11 15:10:29.368 ServerApp] Connecting to kernel 9746c73a-9b41-4f2c-b3ed-0bef31ac537d.
[I 2024-12-11 15:10:29.372 ServerApp] Connecting to kernel 9746c73a-9b41-4f2c-b3ed-0bef31ac537d.

Browser Output
Paste the output from your browser Javascript console here, if applicable.
@ptrber ptrber added the bug label Dec 11, 2024
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Dec 11, 2024
@krassowski
Copy link
Member

This is interesting. I cannot reproduce this in Firefox. Can you share a screenshot for completness (maybe we could see something else that is unusual).

  1. When you copy-paste the text from this issue does it also happen? I wonder if there were some hidden characters leading to markdown rendering
  2. When you enter the Markdown cell (un-render it by clicking twice) is the original text preserved?
  3. Could you try a couple different versions? If you cannot install, you could try testing on Binder https://gist.github.com/krassowski/68adb59038d7334d698bea811ad4b039 (note, it can take a few minutes to load)

JupyterLab version: 4.3.2

FYI version 4.3.3 is out now. There were no changes to markdown rendering so I don't think it would help much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug status:Needs Triage Applied to new issues that need triage
Projects
None yet
Development

No branches or pull requests

2 participants