You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Luciano Resende (JIRA)" <ji...@apache.org> on 2018/09/26 14:20:00 UTC
[jira] [Commented] (TOREE-485) Not able to run Toree kernel in
JupyterLab 0.34
[ https://issues.apache.org/jira/browse/TOREE-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16628839#comment-16628839 ]
Luciano Resende commented on TOREE-485:
---------------------------------------
Just FYI, we have already released Toree 0.2.0 and that is already available on [PyPi|[https://pypi.org/project/toree].] I would recommend moving to the official release instead of using the RC.
As for JupyterLab, I have updated to version 0.34.12 and I don't seem to have an issue during kernel start, but when I try to execute a cell then I DO get the port already in use exception. I will need to further investigate the issue, as I don't seem to have a similar issue using the IPython kernel.
> Not able to run Toree kernel in JupyterLab 0.34
> -----------------------------------------------
>
> Key: TOREE-485
> URL: https://issues.apache.org/jira/browse/TOREE-485
> Project: TOREE
> Issue Type: Bug
> Environment: Ubuntu 18.04, Python 3.6.6, JupyterLab v0.34.12, Apache Toree 0.2.0-rc6
> Reporter: Sergey Kuznetsov
> Priority: Major
>
> Hello! I've been using Toree kernel in JupyterLab (Python 2.7) versions 0.32 and 0.33 for some time and it worked great. Recently I updated JupyterLab to version 0.34 that supports only Python 3 and now I'm not ably to run Scala code in Toree. The kernel starts fine, without any warnings, but once I executed the cell with simple import I get the following error:
> {noformat}
> ERROR OneForOneStrategy:159 - JsResultException(errors:List((/deletedCells,List(ValidationError(error.expected.jsstring,WrappedArray())))))
> play.api.libs.json.JsResultException: JsResultException(errors:List((/deletedCells,List(ValidationError(error.expected.jsstring,WrappedArray())))))
> at play.api.libs.json.JsValue$$anonfun$2.apply(JsValue.scala:67)
> at play.api.libs.json.JsValue$$anonfun$2.apply(JsValue.scala:67)
> at play.api.libs.json.JsResult$class.fold(JsResult.scala:77)
> at play.api.libs.json.JsError.fold(JsResult.scala:13)
> at play.api.libs.json.JsValue$class.as(JsValue.scala:65)
> at play.api.libs.json.JsObject.as(JsValue.scala:166)
> at org.apache.toree.kernel.protocol.v5.kernel.Utilities$.ZMQMessageToKernelMessage(Utilities.scala:69)
> at org.apache.toree.kernel.protocol.v5.kernel.socket.ZeromqKernelMessageSocket$$anonfun$receive$1.applyOrElse(ZeromqKernelMessageSocket.scala:48)
> at akka.actor.Actor$class.aroundReceive(Actor.scala:502)
> at org.apache.toree.kernel.protocol.v5.kernel.socket.ZeromqKernelMessageSocket.aroundReceive(ZeromqKernelMessageSocket.scala:39)
> at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
> at akka.actor.ActorCell.invoke(ActorCell.scala:495)
> at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
> at akka.dispatch.Mailbox.run(Mailbox.scala:224)
> at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
> at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
> at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
> at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
> at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
> 2018-09-26 14:45:29 ERROR ZeroMQSocketRunnable:167 - Unexpected exception in 0mq socket runnable!
> org.zeromq.ZMQException: Errno 48 : Address already in use
> at org.zeromq.ZMQ$Socket.mayRaise(ZMQ.java:1425)
> at org.zeromq.ZMQ$Socket.bind(ZMQ.java:1187)
> at org.zeromq.ZMQ$Socket.bind(ZMQ.java:1148)
> at org.apache.toree.communication.socket.ZeroMQSocketRunnable$$anonfun$processOptions$2.apply(ZeroMQSocketRunnable.scala:88)
> at org.apache.toree.communication.socket.ZeroMQSocketRunnable$$anonfun$processOptions$2.apply(ZeroMQSocketRunnable.scala:87)
> at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
> at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
> at org.apache.toree.communication.socket.ZeroMQSocketRunnable.processOptions(ZeroMQSocketRunnable.scala:87)
> at org.apache.toree.communication.socket.ZeroMQSocketRunnable.run(ZeroMQSocketRunnable.scala:144)
> at java.lang.Thread.run(Thread.java:748){noformat}
> I tried to update Toree: install with pip3 the latest rc6 release, but the issue remains. Is there any way to fix this?
>
> Thanks,
> Sergey
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)