<div dir="ltr"><div><div>On Thu, May 1, 2014 at 2:37 PM, MinRK <span dir="ltr"><<a href="mailto:benjaminrk@gmail.com" target="_blank">benjaminrk@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">What are your socket types on the Kernel side?</div>
</blockquote><div><br></div><div>Here is the definitions for our channels:</div><div><br></div><div>    <span style="white-space:pre">public class ShellChannel : Channel {
</span><div><span class="" style="white-space:pre">       </span>    base(session, auth, transport, address, port, SocketType.DEALER) {</div><div>            }</div><div>    }</div><span style="white-space:pre">    public class IOPubChannel : Channel {
</span><div><span class="" style="white-space:pre">       </span>    base(session, auth, transport, address, port, SocketType.PUB) {<br></div><div>            }</div><div>    }</div><span style="white-space:pre"></span><span style="white-space:pre">    public class ControlChannel : Channel {
</span><div><span class="" style="white-space:pre">       </span>    base(session, auth, transport, address, port, SocketType.DEALER) {<br></div><div>            }</div><div>    }</div><span style="white-space:pre"></span><span style="white-space:pre">    public class StdInChannel : Channel {
</span><div><span class="" style="white-space:pre">       </span>    base(session, auth, transport, address, port, SocketType.DEALER) {<br></div><div>            }</div><div>    }</div><span style="white-space:pre"></span><span style="white-space:pre">    public class HeartBeatChannel : Channel {</span> <div>
<span class="" style="white-space:pre">       </span>    base(session, auth, transport, address, port, SocketType.REP) {<br></div><div><div>            }</div><div>    }</div></div></div><div><br></div><div>Could that really effect multi-frontend, but not single?</div>
<div><br></div><div>-Doug</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, May 1, 2014 at 9:58 AM, Doug Blank <span dir="ltr"><<a href="mailto:doug.blank@gmail.com" target="_blank">doug.blank@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Devs, I have been trying to find the cause of this bug for some time, and I thought that someone might be able to provide a hint as to where to look to find the issue.<div>


<br></div><div>We have an external kernel that works very well when you connect onto it with a single frontend. But when you connect two frontends (console or notebook), then the conversation gets confused.</div>
<div><br></div><div>More detail:</div><div><br></div><div>Terminal 1:</div><div><br></div><div>ipython console --profile calico</div><div><br></div><div>works fine.</div><div><br></div><div>Terminal 2:</div><div><br></div>



<div><div>ipython console --profile calico --existing</div></div><div><br></div><div>starts, but now things are confused. Now, each terminal takes turns being able to get the prompt. If run in notebook, then code execution never signals the end of computing (the [*] never turns to a number, but you can still enter and get results back). In the console, output is received, but the prompt is in the other terminal.</div>



<div><br></div><div>It works fine with a single front end.</div><div><br></div><div>Any ideas appreciated!</div><span><font color="#888888"><div><br></div><div>-Doug</div></font></span></div>
<br></div></div>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org" target="_blank">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
IPython-dev mailing list<br>
<a href="mailto:IPython-dev@scipy.org">IPython-dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/ipython-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/ipython-dev</a><br>
<br></blockquote></div><br></div></div>