Re: [jupyter] Error: Class my_comm_target not found in registry

2017-11-22 Thread Jason Grout
If you are using the display system and a mimetype to set up your rendering, you could possibly use the cookie cutter at https://github.com/jupyterlab/mimerender-cookiecutter to create the nbextension. Jason On Wed, Nov 22, 2017 at 11:37 PM Jason Grout wrote: > Yes, make

Re: [jupyter] Error: Class my_comm_target not found in registry

2017-11-22 Thread Jason Grout
Yes, make a notebook nbextension, which is the preferred way to get javascript on the page: https://jupyter-notebook.readthedocs.io/en/stable/examples/Notebook/Distributing%20Jupyter%20Extensions%20as%20Python%20Packages.html On Wed, Nov 22, 2017 at 7:12 PM John wrote: >

Re: [jupyter] Error: Class my_comm_target not found in registry

2017-11-22 Thread John
OK I figured out what my problem was. In my kernel python code I was setting up the comm channel with these two lines of code. display(Javascript("""require(["nbextensions/vpython_libraries/glowcomm"], function(){console.log("GLOWCOMM LOADED");})""")) comm = Comm(target_name='my_comm_target')

Re: [jupyter] Using Angular with Jupyterlab Extensions

2017-11-22 Thread Simon Biggs
Yes for sure. Go for it. I have loved working with what you guys are building :) the more who know it the better. On Thursday, 23 November 2017 03:28:41 UTC+11, Jason Grout wrote: > > We should also quote things like "Using Angular and creating a jupyterlab > extension has been an absolute

Re: [jupyter] Error: Class my_comm_target not found in registry

2017-11-22 Thread Jason Grout
Can you turn on the browser debugger and have it pause on errors, and see what the lines of code are that are giving the problem (what are the lines of code, not just the line numbers)? I would probably debug this by also putting a breakpoint at the registration function and making sure that was

[jupyter] Error: Class my_comm_target not found in registry

2017-11-22 Thread John
Hi I tried opening a Comm from the kernel as described in http://jupyter-notebook.readthedocs.io/en/stable/comms.html And I am getting the error utils.js:910 Could not open comm -- Error: Class my_comm_target not found in registry at utils.js:874 at new Promise () at

[jupyter] "Open with Binder" browser extension.

2017-11-22 Thread Matthias Bussonnier
Hi all, I just released a Firefox extensions to open the current repository you are browsing with MyBinder.org... for when there is no binder badge and you don't want to spend time copy/pasting[0]. If you are on Firefox (I think 54+) you can just head here [1] and click install. Not yet

Re: [jupyter] Using Angular with Jupyterlab Extensions

2017-11-22 Thread Jason Grout
We should also quote things like "Using Angular and creating a jupyterlab extension has been an absolute joy." in the JupyterLab docs/material, if it's all right with Simon. Is it all right, Simon? Jason On Mon, Nov 20, 2017 at 5:55 AM Matthias Bussonnier < bussonniermatth...@gmail.com> wrote: