IJulia.jl icon indicating copy to clipboard operation
IJulia.jl copied to clipboard

1:.01 freezes jupyter-lab

Open chris2crawford opened this issue 5 years ago • 7 comments

using the latest Anadonda Jupyter + JuliaPro IJulia

the following cell freezes input when I get to the last '1'

1:.01

Julia Version 1.4.1 Commit 381693d3df* (2020-04-14 17:20 UTC) Platform Info: OS: Windows (x86_64-w64-mingw32) CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-8.0.1 (ORCJIT, skylake) Environment: JULIA_DEPOT_PATH = C:\Users\crawf.juliapro\JuliaPro_v1.4.1-1;C:\Users\crawf\AppData\Local\JuliaPro-1.4.1-1\Julia-1.4.1\local\share\julia;C:\Users\crawf\AppData\Local\JuliaPro-1.4.1-1\Julia-1.4.1\share\julia JULIA_PKG_SERVER = pkg.juliacomputing.com

If you have a question please search or post to our Discourse site: https://discourse.julialang.org. We use the GitHub issue tracker for bug reports and feature requests only.

If you're submitting a bug report, be sure to include as much relevant information as possible, including a minimal reproducible example and the output of versioninfo(). If you're experiencing a problem with a particular package, open an issue on that package's repository instead.

Thanks for contributing to the Julia project!

chris2crawford avatar Jun 01 '20 00:06 chris2crawford

I'm seeing this as well, seems to my it's anytime I put .0 into a cell it freezes that cell. jupyterlab: 2.1.4

Julia Version 1.4.2 Commit 44fa15b150* (2020-05-23 18:35 UTC) Platform Info: OS: Linux (x86_64-pc-linux-gnu) CPU: AMD Ryzen 9 3900X 12-Core Processor WORD_SIZE: 64 LIBM: libopenlibm LLVM: libLLVM-8.0.1 (ORCJIT, znver1)

sgillen avatar Jun 30 '20 10:06 sgillen

Something related

image

When I put my cursor after 5, I cannot delete the 5 with backspace.

I can reproduce the behaviors reported by both OP and me on juypter notebook, so jupyterlab is not involved.

atbug avatar Jul 03 '20 00:07 atbug

See #929 and https://github.com/codemirror/CodeMirror/issues/6288. This comes up a lot and is actually an upstream issue (with the CodeMirror project, not with IJulia).

The short description of the issue is that it goes into an infinite loop while trying to parse the syntax to do highlighting.

twavv avatar Jul 03 '20 01:07 twavv

See #929 and codemirror/CodeMirror#6288. This comes up a lot and is actually an upstream issue (with the CodeMirror project, not with IJulia).

The short description of the issue is that it goes into an infinite loop while trying to parse the syntax to do highlighting.

https://github.com/codemirror/CodeMirror/issues/6288#issuecomment-632072714 says it should be a jupyter / jupyterlab issue. Is this true? If so, jupyter / jupyterlab team should be notified.

atbug avatar Jul 03 '20 02:07 atbug

They know.

https://github.com/jupyter/notebook/issues/5469

twavv avatar Jul 03 '20 06:07 twavv

Seems to be fixed on jupyterlab 2.2.6.

atbug avatar Aug 29 '20 19:08 atbug