-
-
Notifications
You must be signed in to change notification settings - Fork 413
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 characters '.0' causes cell to freeze #924
Comments
I can confirm that just writing Tested on Ubuntu 0.20.4 LTS + Firefox + Julia 1.4.1 + IJulia 1.21.2 |
Duplicate of codemirror/codemirror5#6064? This is a CodeMirror bug (CodeMirror is what does editing in Jupyter notebooks), so if it isn't fixed in CodeMirror master you should report a bug there. See also #907, #887, #917. |
FYI, I opened an issue here: codemirror/codemirror5#6288 |
Since this has been fixed in the latest codemirror update, and hence will be fixed in the next Jupyter release, eventually it will be fixed for everyone. In the meantime, a workaround is to update your codemirror installation as described here. |
I am using Julia in a Jupyter notebook in a Chrome browser on Windows 10. Whenever I type a dot followed by the number 0, my cell freezes. So for example I try to give a parameter
x ~ Bernoulli(.01)
Everything is fine till I get to Bernoulli(.
But as soon as I type the 0 character, the cell freezes and starts acting weird. I can't add any more input to that cell. I can't select anything. I can't delete anything. Sometimes the same line number starts to display multiple times, without incrementing the line number.
This is happening reproducibly, I checked with the Julia/ Turing community, and they don't think it is from their end. I'm hoping it's either a known issue with Jupyter notebook, or maybe something with IJulia?
This is not happening when I run Python in the notebook. So seems to be somehow IJulia or Julia-related.
If I type a 0 following a 0 or following a dot, without any preceding characters, this is triggered. If I type 2.0000 or 200000000 and so on, there is no problem.
https://stackoverflow.com/questions/61816652/jupyter-notebook-typing-characters-0-causes-cell-to-freeze?noredirect=1#comment109341218_61816652
The text was updated successfully, but these errors were encountered: