the handle_output function of GeppettoJupyterUtils will trigger for each python call that failed a GEPPETTO.Events.Error_while_exec_python_command which then is used to open the ErrorDialog in NetPyNe.js.
However, for experiments we use polling to update the experiments every x seconds.
If the backend moves to a faulty state (e.g. kernel crash), it will open every x second an Error dialog making the UI unusable.
To solve it, (1) the handleOutput method should make it either optional to trigger the Error event, so that we can use sth like evalPythonMessage(command, parameters, silent=True) or (2) the error event is parsed and in certain cases we won't show the ErrorDialog.
the
handle_outputfunction of GeppettoJupyterUtils will trigger for each python call that failed aGEPPETTO.Events.Error_while_exec_python_commandwhich then is used to open theErrorDialoginNetPyNe.js.However, for experiments we use polling to update the experiments every x seconds.
If the backend moves to a faulty state (e.g. kernel crash), it will open every x second an Error dialog making the UI unusable.
To solve it, (1) the
handleOutputmethod should make it either optional to trigger the Error event, so that we can use sth likeevalPythonMessage(command, parameters, silent=True)or (2) the error event is parsed and in certain cases we won't show the ErrorDialog.