Notebook: Could not open static file ''

Created on 6 Aug 2019  Â·  18Comments  Â·  Source: jupyter/notebook

Hello,
I am using:

jupyter core     : 4.5.0
jupyter-notebook : 6.0.0
qtconsole        : 4.5.1
ipython          : 7.6.1
ipykernel        : 5.1.1
jupyter client   : 5.3.1
jupyter lab      : 1.0.2
nbconvert        : 5.5.0
ipywidgets       : 7.5.0
nbformat         : 4.4.0
traitlets        : 4.3.2

and I got this: [E 08:33:07.512 NotebookApp] Could not open static file ''
then the notebooks are loaded correctly. Is it normal that kind of message?
Thanks.

Most helpful comment

Update jupyter notebook worked for me.

If using Anaconda, update Jupyter using conda:
conda update jupyter

If using pip:
pip install -U jupyter

All 18 comments

@rbioinfo I am getting the same message on launching jupyter but no clusters are up and running by default commands. I don't think it is normal scenario.

I guess the actual error is that something (between Tornado/Jupyter/Junja2) is trying to access /notebook/static/components/react/react-dom.production.min.js, but only react.production.min.js file is available in this directory.
It also shows 404 in the browser console.

Any ideas why?

Update jupyter notebook worked for me.

If using Anaconda, update Jupyter using conda:
conda update jupyter

If using pip:
pip install -U jupyter

@matiasscorsetti Updating the jupyter didn't work for me and i think it wouldn't work because the issue is with the tornado version. (It was the case with me)

The steps i followed to get the jupyter kernel initialization to work are as follows:
1.) Downgrade tornado to a version less than 5.0.0. Command - pip install 'tornado<5.0.0' or pip install tornado==4.9.0
2.) Adding the react-dom.production.min.js file on the path Anaconda3\Lib\site-packages\notebook\static\components\react.

You can get this file from https://github.com/jupyter/notebook/pull/4772#issuecomment-515794823 or #4772 , whichever is convenient for you.

@Flid 404 error is shown because of missing react-dom.production.min.js file. The moment you add them in the path, it will go away

Fixed by #4772

I had the same issue and i resolved it by installing just jupyterlab instead of installing the specific version of jupyterlab.

yea, also, I got the same problem.
image

I have the same problem. I'm using python 3.6.8 with pip and the latest version of jupyter. I tried with the reichenbch's solution and it didn't work. "pip install tornado==4.9.0" doesn't exist, 4.5.3 is the latest update of 4.x version.
How can I solve this problem?

Hi @adejonghm
Looks like the fix (https://github.com/jupyter/notebook/pull/4772) has been merged and released with 6.0.1, try updating the notebook package and see if it helps.

Thanks @Flid !!!

updating the jupyter solved the problem :-)

the 'Update' option in the Navigator UI wasn't enough - i had to 'Install Specific Version' and choose the highest one in the list. the 'Update' option installed 6.0.0 and 6.0.2 was available, so that was the one i chose.
after doing this, the expected file was there - no 404 and no errors.

I had the same problem using Mac. jus go to anaconda environments and choose to update Jupiter form there it will works.

Yes I think that will work

On Sat, 18 Jul 2020, 4:51 pm Mohamedou Neine, notifications@github.com
wrote:

I had the same problem using Mac. jus go to anaconda environments and
choose to update Jupiter form there it will works.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jupyter/notebook/issues/4810#issuecomment-660468269,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANAMIF2TWKHC5HZN24Y4YH3R4GAUBANCNFSM4IJT6J6A
.

Updating Jupyter on both pip and pip3 ( I am assuming you had a problem trying to use python 3) solved the problem for me

pip install notebook --upgrade worked for me

Update jupyter notebook worked for me.

If using Anaconda, update Jupyter using conda:
conda update jupyter

If using pip:
pip install -U jupyter

pip install -U jupyter notebook worked for me

In my case jupyter lab was missing, so I could only open the interface in browser, but nothing else.

pip3.5 install jupyterlab
pip3.5 install tornado==5.0
pip3.5 install -U jupyter 

did the job

Was this page helpful?
0 / 5 - 0 ratings