<div dir="ltr">Hi Tom,<div><br></div><div>If you don't plan on implementing ipywidget support in your kernel, you shouldn't have to worry about implementing that.  It's a channel used to determine what widget comms existing in the backend in order to reconnect them to the front end on page refresh.</div><div><br></div><div>Regarding "target_name key is not found on the receiving side", I suggest you read the comm spec here: <a href="https://github.com/ipython/ipython/wiki/IPEP-21%3A-Widget-Messages">https://github.com/ipython/ipython/wiki/IPEP-21%3A-Widget-Messages</a> .  Basically comm handlers are registered by target_name, that's how the comms are matched accross the front end / back end boundary.<br></div><div><br></div><div>Cheers,</div><div>Jon</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 18, 2015 at 8:43 AM, Tom Quarendon <span dir="ltr"><<a href="mailto:tom.quarendon@teamwpc.co.uk" target="_blank">tom.quarendon@teamwpc.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">When we run our kernel from a notebook the kernel gets a “comm_open” request with widget class “ipywidgets.CommInfo”, target name “ipython.widgets”.<u></u><u></u></p>
<p class="MsoNormal">What do we do with this?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Can I safely ignore this message and any other comm_open messages? Should I respond to any comm_open messages with a comm_close as suggested in the docs (“If the target_name key is not found on the receiving side, then it should immediately
 reply with a comm_close message to avoid an inconsistent state.” But it’s unclear what the “target_name key is not found on the receiving side” means).<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks.<u></u><u></u></p>
</div>
</div>

<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="https://mail.scipy.org/mailman/listinfo/ipython-dev" rel="noreferrer" target="_blank">https://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div>