##// END OF EJS Templates
explicitly ignore iopub messages not associated with a cell in the notebook...
MinRK -
Show More
@@ -726,6 +726,11 b' var IPython = (function (IPython) {'
726 // console.log(reply);
726 // console.log(reply);
727 var msg_type = reply.header.msg_type;
727 var msg_type = reply.header.msg_type;
728 var cell = this.cell_for_msg(reply.parent_header.msg_id);
728 var cell = this.cell_for_msg(reply.parent_header.msg_id);
729 if (!cell){
730 // message not from this notebook
731 console.log("Received IOPub message not caused by one of my cells");
732 return;
733 }
729 var output_types = ['stream','display_data','pyout','pyerr'];
734 var output_types = ['stream','display_data','pyout','pyerr'];
730 if (output_types.indexOf(msg_type) >= 0) {
735 if (output_types.indexOf(msg_type) >= 0) {
731 this.handle_output(cell, msg_type, content);
736 this.handle_output(cell, msg_type, content);
General Comments 0
You need to be logged in to leave comments. Login now