jupyter / notebook

Jupyter Interactive Notebook
https://jupyter-notebook.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
11.37k stars 4.72k forks source link

Settings not loading in Chrome devtools console: #7322

Open capey0 opened 2 months ago

capey0 commented 2 months ago
          In the latest version of Chrome devtools console:

I get 100s of the following: "Skipping this shortcut because there are no actionable keys on this platform" issued from 5649.bundle.js

Then I get the same messages as OP (except they are from 3768.bundle.js)

I am using: Windows 11 Python 3.12.x Used "pip3 install ..." to get Jupyter Jupyter Dark theme NO Anaconda

The result is the "increase/decrease font sizes" in the menus do not work. The color schemes for highlighting different data types and keywords also does not work.

Forgot to mention "auto-formatting" (eg. inserting a tab when needed), also does not work! :(

Originally posted by @capey0 in https://github.com/jupyter/notebook/issues/7062#issuecomment-2050786588

RRosio commented 2 months ago

I see you have already commented in #7062. Please keep the conversation going in that issue. I will go ahead and close this as a duplicate.

brichet commented 2 months ago

@RRosio AFAIU the two issues are not related, I would keep this one opened.

brichet commented 2 months ago

@capey0 I can't reproduce your issue. Can you copy the output of jupyter --version please ?

It looks like your settings for the fileeditor are not properly loaded. Can you try with a fresh installation of Notebook ?

capey0 commented 2 months ago

@brichet Here you go: Selected Jupyter core packages... IPython : 8.23.0 ipykernel : 6.29.4 ipywidgets : 8.1.2 jupyter_client : 8.6.1 jupyter_core : 5.7.2 jupyter_server : 2.13.0 jupyterlab : 4.1.5 nbclient : 0.10.0 nbconvert : 7.16.3 nbformat : 5.10.4 notebook : 7.1.2 qtconsole : 5.5.1 traitlets : 5.14.2

I already tried reinstall ... no change

brichet commented 1 month ago

Thanks @capey0. The issue about font size has been reported in https://github.com/jupyterlab/jupyterlab/issues/16182).

I still can't reproduce the issue about color schemes and indentation. Can you try to restore the default settings for CodeMirror (in the settings panel) ?

capey0 commented 1 month ago

@brichet Sure, but I don't know what the defaults are and there is no "Restore to Defaults" button for that section.

capey0 commented 1 month ago

And still getting this: image

capey0 commented 1 month ago

I just reinstalled Notebook again and this time it pulled down 7.1.3 but the result is till the same.

capey0 commented 1 month ago

I have determined this is a timing issue (at least for SOME of the issues).

I put a breakpoint in ...bundle.js here: image

I then hit the "play" button and VOILA! => this allowed at least the colors and indenting to show up.

I am still getting hundreds of console messages though, so something else is still not right.