Hi, I can't get how to stop dealing with that request
404 GET /nbextensions/widgets/notebook/js/extension.js?v=20171223123955 (::1) 0.90ms referer=http://localhost:5555/notebooks/squad/Untitled.ipynb?kernel_name=python3
It is sent every time I reload jupyter page:(
so I removed all extensions but it looks like not properly
The widgets extension in the question is not from this repository. For any extension you can try the Jupyter command line tools. To disable the notebook widdgets extensions try
jupyter nbextension disable --py widgetsnbextension or
jupyter nbextension disable --sys-prefix --py widgetsnbextension, depending on where the extension is configures.
To check which extensions are enabled use jupyter nbextension list.
Unfortunately, this request is the result of a hardcoded hack in the notebook itself, and nothing to do with this repo. I think it's a bit intrusive, and certainly very confusing, but it's there for now. To prevent the 404 you unfortunately have to either install ipywidgets so that it gets fetched correctly, or edit your notebook's minified javascript (not recommended!). Might be worth checking the upstream notebook repo for other issues/discussion bout this.
Thanks for the details. Why would anyone in the world hardcode this ?
Why would anyone in the world hardcode this ?
I know! 馃槀 The only thing I can think of is that it means that if the python widgets stuff is there, then the JavaScript has definitely been loaded which _could_ ease peoples' experience trying to use widgets. But it could have been solved more appropriately with a custom install command, script, or even a JavaScript display object from the kernel! The hack makes life more complicated and confusing for _everyone_, undermines all the nbextension management mechanics, and is generally a massive kludge!
Most helpful comment
The widgets extension in the question is not from this repository. For any extension you can try the Jupyter command line tools. To disable the notebook widdgets extensions try
jupyter nbextension disable --py widgetsnbextensionorjupyter nbextension disable --sys-prefix --py widgetsnbextension, depending on where the extension is configures.To check which extensions are enabled use
jupyter nbextension list.