You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Chip Senkbeil (JIRA)" <ji...@apache.org> on 2016/02/29 19:35:18 UTC

[jira] [Comment Edited] (TOREE-272) Jupyter Notebook works; Console is broken / hangs

    [ https://issues.apache.org/jira/browse/TOREE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15172323#comment-15172323 ] 

Chip Senkbeil edited comment on TOREE-272 at 2/29/16 6:35 PM:
--------------------------------------------------------------

[~lbustelo], the issue is two fold:

# The kernel does not handle unexpected message types gracefully when it invokes {code}MessageType.fromName(blah){code}, where MessageType is an enumeration. It blows up when we use it this way if the name does not exist (None.get); so, we should have some check and provide some warning or error in the kernel logs. Not sure how to respond to the client.
# We do not have the code completeness message type included in our kernel at all. This is probably used just for the console, otherwise we would have seen this issue much earlier. http://ipython.org/ipython-doc/stable/development/messaging.html#code-completeness


was (Author: senkwich):
[~lbustelo], the issue is two fold:

# The kernel does not handle unexpected message types gracefully when it invokes {code}MessageType.fromName(blah){code}, where MessageType is an enumeration. It blows up when we use it; so, we should have some check and provide some warning or error in the kernel logs. Not sure how to respond to the client.

# We do not have the code completeness message type included in our kernel at all. This is probably used just for the console, otherwise we would have seen this issue much earlier. http://ipython.org/ipython-doc/stable/development/messaging.html#code-completeness

> Jupyter Notebook works; Console is broken / hangs
> -------------------------------------------------
>
>                 Key: TOREE-272
>                 URL: https://issues.apache.org/jira/browse/TOREE-272
>             Project: TOREE
>          Issue Type: Bug
>    Affects Versions: 0.1.0
>         Environment: Toree 0.1.5-SNAPSHOT commit 042debc2bd0c
> Jupyter 4.1.0 installed via pip, Spark 1.5.2 installed via Homebrew
>            Reporter: Seth Bromberger
>
> Jupyter notebook will successfully use Toree as a kernel, but Jupyter console hangs on the first evaluation of code. Example logs / sessions are here:
> https://gist.github.com/sbromberger/8a43f79eee08f4268515
> https://gist.github.com/sbromberger/1d6fdad5f73fe0198ef4
> Without Console, integration with Atom editor via Hydrogen is broken. Plus, it's nice to have a REPL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)