jupyter / notebook

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

cannot write in jupyter cell #3028

Open ecamossi opened 7 years ago

ecamossi commented 7 years ago

Hi everyone,

I never had this issue before, but when I add a new cell between existing cells, I cannot write in it. I'm able to copy and paste from an existing cell into the new one, but I may just delete the content and I'm not able to modify it. I tried restarting the kernel, the workstation, but it doesn't solve the problem. It doesn't seem related to the keyboard layout (cf. issue #2379), because mine it's US.

Thanks in advance for any suggestion. Kind regards, -Elena

takluyver commented 7 years ago

:-/

Any errors in the browser's Javascript console when this is happening? Have you tried with another browser?

ecamossi commented 7 years ago

Hi takluyver,

thanks for the suggestion! Indeed, with IE it doesn't happen!

Whan I got the error, I was using chrome. For the sake of completeness, I open the js console and this is what I saw jupyter-error

There was no error when I was trying to write in the new line, but it seems there were other errors before. I don't know if they are related to the strange behaviour I got.

Regards, -Elena

takluyver commented 7 years ago

The first error ('Failed to load resource...') might be related, but there's nothing obvious there. Do you have any extensions installed in Chrome?

ecamossi commented 7 years ago

Hi Thomas,

Thanks a lot for your suggestion, indeed I have many. So I tried again with Chrome disabling all extensions, and indeed now it works as before.

I copy here the list of extensions that were enabled when I got the issue:

By the way, the failed resource error is still there. It seems related to the notebook, by the way (regarding extension widgetsnbextension or ipywidgets 4.0):

Here the error:

jupyter-error2

main.min.js:33264 actions jupyter-notebook:find-and-replace does not exist, still binding it in case it will be defined later... MenuBar.bind_events @ main.min.js:33264 main.min.js:24777 Session: kernel_created (4e08fb3c-ecc1-46fa-b6d6-3bbf0aba379a) main.min.js:23933 Starting WebSockets: ws://localhost:8888/api/kernels/f33e9099-bac3-444a-a9bc-31dd6970aa8d :8888/nbextensions/widgets/notebook/js/extension.js?v=20171109155514

Failed to load resource: the server responded with a status of 404 (Not Found) main.min.js:36594 Widgets are not available. Please install widgetsnbextension or ipywidgets 4.0 (anonymous) @ main.min.js:36594 main.min.js:23577 Kernel: kernel_connected (f33e9099-bac3-444a-a9bc-31dd6970aa8d) main.min.js:23577 Kernel: kernel_ready (f33e9099-bac3-444a-a9bc-31dd6970aa8d)

Kind regards, -Elena

takluyver commented 7 years ago

OK, sounds like that error is not related, then.

I recall there was some issue with Lastpass on Chrome before, but that may not be at fault this time.

AbdullahRafiq098 commented 4 years ago

i have the same issue but after disabling entensions ad blocker, jupyter notebook let me edit my code. before that the cell was like in freez state i was unable to write on them.

murtaza0125 commented 2 years ago

i have the same issue but after disabling entensions ad blocker, jupyter notebook let me edit my code. before that the cell was like in freez state i was unable to write on them.

Thanks this worked

Rtauran97 commented 2 years ago

It still doesn't work for me. Whenever I type in Jupyter Notbekkok (Through vocareum online environment) I cannot edit any cells. Does anyone know If maybe I just put on or off somekind of setting?

When I type A, I just get another blank cell above. But when I click in a code cell, I cannot alter anything.

20r01a05e2 commented 1 year ago

Since now I have been facing the same issue with jupyter but after disabling the extensions It is working good now