I'd make an educated guess that Toree is not signalling errors in the way
you expect. There are (unfortunately, IMO) two ways to indicate that an
error occurred:

- An error message on the iopub channel
- An error status in the execute_reply message on the shell channel

Kernels should use both, but it's easy for them to only use one. I hope to
simplify it in a future version of the message spec.

It's also possible that it just displays an error message without sending
any machine-readable indication that it's an error.

On 26 September 2017 at 15:56, Mike Morton <[email protected]> wrote:

> Hi Jupyter Team! Great to meet many of you at JupyterCon ;)
>
> As many of you know we have implemented web-executable notebooks in Safari
> and O'Reilly (which we call "Orioles")
>
> There is a "feature" where if you run a cell out of order and an execution
> error appears, a "Run All Above" button appears.
>
> This works great with all of the kernels we have used so far, except for
> the Apache Toree Kernel.
>
> We believe this is specific to this kernel, and are wondering if anyone
> can investigate if there is some sort of missing hook?
>
> Happy to provide more info - these notebooks/Orioles are behind a paywall,
> but I can provide access for a demonstration where requested.
>
> An example of how we are seeing *most* kernels work is:
>
> https://www.oreilly.com/learning/perform-sentiment-
> analysis-with-lstms-using-tensorflow
>
> Skip down to the cell: "ids = np.load('idsMatrix.npy')" and run it - you
> will get an error (don't execute cells above it) and you will see the "Run
> All Above" button. This is the expected behaviour. (you can download the
> notebook here: https://github.com/adeshpande3/LSTM-Sentiment-Analysis)
>
> With any notebooks running the toree kernel (apache_toree_scala) wee are
> not seeing that run all. The only difference between notebooks (in our
> system ) is the kernel - which is why I am leaning towards that being the
> issue.
>
> TIA!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jupyter/f5355cf0-390e-4c6b-b84f-06083820b84c%40googlegroups.com
> <https://groups.google.com/d/msgid/jupyter/f5355cf0-390e-4c6b-b84f-06083820b84c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/CAOvn4qiV4T0A8c%3DwYj-2jX40VtNQWbNtEsara3E-k3suaWrS2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to