question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

404 error and no such comm target when trying to use ipywidgets

See original GitHub issue

I installed ipywidgets 7.0.1 via conda into a conda root python3 environment. When starting a notebook, I get a 404 when trying to load the extension

404 GET /nbextensions/widgetsnbextension.js?v=20170918194201 (171.66.17.71) 3.38ms referer=<my nb server's host IP>/notebooks/<my notebook>.ipynb

Followed by an error from IPkernelApp when I try to create and show a widget

[IPKernelApp] ERROR | No such comm target registered: jupyter.widget.version

I shouldn’t have to manually enable the extension since I’m using conda, but I tried doing jupyter nbextension enable --py widgetsnbextension anyway, which did not solve this.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:4
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

11reactions
tensionheadcommented, Sep 19, 2017

When starting a notebook, I get a 404 when trying to load the extension

I had exactly the same (and other) problem(s), however activating it didn’t help (“could not Validate”). This line solved it for me:

jupyter nbextension install --py widgetsnbextension --user

(I guess for your setup you should leave out the –user flag)

And then I did the activation step

jupyter nbextension enable --py widgetsnbextension

3reactions
jasongroutcommented, Sep 19, 2020

WIthin a day or two, we had identified and fixed the issue three years ago, as documented above and on #1721. Coming along and posting a snarky complaint three years later does not help move things forward for this issue or the community. We invite you to be uplifting and contribute to the solution, being respectful like everyone else on this issue, in the spirit of the code of conduct: https://github.com/jupyter/governance/blob/master/conduct/code_of_conduct.md#expected-behavior

Read more comments on GitHub >

github_iconTop Results From Across the Web

No such comm target registered error in ipython - Stack Overflow
On my system I could make the error disappear by doing. conda install ipywidgets ... You may have to enable the extension using....
Read more >
IPKernelApp Error and Warning - Jupyter Community Forum
I usually use the following command to start Jupyterlab: jupyter lab --no-browser ... [IPKernelApp] ERROR | No such comm target registered: ...
Read more >
Problem with offline installation - Panel - HoloViz Discourse
Hi, I am using holoviews, panel, param and jupyter lab. ... [IPKernelApp] ERROR | No such comm target registered: jupyter.widget.control ...
Read more >
IPKernelApp ERROR: No such comm target registered: jupyter ...
Cells 1 & 2 run fine. Cell 3 creates the widget and the widget seems to operate fine but the notebook and the...
Read more >
Bug listing with status RESOLVED with resolution TEST ...
configure isn't using config options" status:RESOLVED ... ibm-jre-bin -> java-config: VM not found" status:RESOLVED resolution:TEST-REQUEST severity:normal ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found