-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Typing .0 in a notebook with an IJulia kernel breaks the jupyter cell #5469
Comments
Is there an easy way to find out what version of CodeMirror is being used? |
This is super annoying. I just copied a URL into a jupyter notebook cell and the cell became unresponsive because the URL contained |
Can confirm the same problem here. Using Jupyter Lab, Julia 1.4.1, Chromium 83.0.4103.61 snap,
|
Thanks for making this a priority, @willingc. Since we're hitting this issue repeatedly in our computational physics class at the University of Cologne, can you estimate how long fixing this will take? |
A quick grep yields this... I'm not qualified to make a comment on this area, just trying to move this along since it was made a high priority nearly 3 weeks ago. |
codemirror/codemirror5#6064 was fixed in 5.50.0, but maybe there was another fix subsequently. The current codemirror release is 5.55.0; is there a way to update Jupyter to use this? |
I don't want to nag but I'm wondering why this takes so long to fix given that it only seems to be a version issue. Unfortunately I can't help fixing it since I have no expertise in this area whatsoever. |
Since the currently referenced version of
|
Not sure if I was seeing this exact thing, but something was causing my Julia cells to break codemirror, and after updating to 6.1.0rc1 then they work ok. |
@akdor1154, can you try the example at the top, i.e. typing |
I suspect this is because 6.1.0rc1 is the first carrier of codemirror >= 5.50.0. It was using 5.48 or less in the previous notebook releases. |
Yep this works. Sorry :) I did see a codemirror hang when editing a medium-level-complexity nested list code block though... will investigate further and open a separate issue if I can work out how to reproduce. |
Thanks Jarrad! I'm going to close this issue since it appears to be fixed by virtue of the codemirror update. |
Moved over from codemirror/codemirror5#6288:
When running Julia, my jupyter notebook cell stops to function properly as soon as I type
.0
. Concretely, as soon as I type.0
any further input isn't displayed anymore. This can also not be "undone" by trying to delete the.0
again. The cell is just completely irresponsive.Note that
0.0
(with a prefixing zero before the decimal separator) works just fine. Also note that if I type something blindly and reload the notebook webpage, the text appears in the correct place, although without syntax highlighting.I'm on macOS 10.15.4 Catalina, Safari 13.1 (also happens in Chrome 81.0.4044.138), Julia 1.4.1 and
I know that the issue also exists on Windows 10. With a python kernel, everything works fine.
In this severeness, only jupyter notebook is affected. In jupyter lab only the syntax highlighting breaks but the cell is still responsive:
Over at codemirror/codemirror5#6288, @marijnh suggested that the reason might be that jupyter notebook is still using an old version of the julia code mirror mode.
Thanks in advance!
The text was updated successfully, but these errors were encountered: