Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Descobrir por que ammonite está lançando excessão quando usamos o Jupyter #2

Open
joao-parana opened this issue Dec 6, 2016 · 1 comment

Comments

@joao-parana
Copy link
Owner

joao-parana commented Dec 6, 2016

Descobrir por que ammonite está lançando a excessão abaixo quando usamos o Jupyter

jupyter notebook --no-browser --ip spark.local 
[I 20:16:41.896 NotebookApp] [nb_conda_kernels] enabled, 2 kernels found
[I 20:16:41.902 NotebookApp] Writing notebook server cookie secret to /root/.local/share/jupyter/runtime/notebook_cookie_secret
[I 20:16:42.180 NotebookApp] ✓ nbpresent HTML export ENABLED
[W 20:16:42.180 NotebookApp] ✗ nbpresent PDF export DISABLED: No module named nbbrowserpdf.exporters.pdf
[I 20:16:42.189 NotebookApp] [nb_conda] enabled
[I 20:16:42.788 NotebookApp] [nb_anacondacloud] enabled
[I 20:16:42.798 NotebookApp] Serving notebooks from local directory: /desenv/java
[I 20:16:42.799 NotebookApp] 0 active kernels 
[I 20:16:42.799 NotebookApp] The Jupyter Notebook is running at: http://spark.local:8888/
[I 20:16:42.800 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 20:18:02.202 NotebookApp] 302 GET / (172.17.0.1) 0.94ms
[I 20:18:50.537 NotebookApp] Creating new notebook in 
[I 20:18:50.553 NotebookApp] Writing notebook-signing key to /root/.local/share/jupyter/notebook_secret
[I 20:18:51.425 NotebookApp] Kernel started: cf1b75cf-01f6-40c6-9c66-03c29562f9a0
[W 20:19:01.641 NotebookApp] Timeout waiting for kernel_info reply from cf1b75cf-01f6-40c6-9c66-03c29562f9a0
Exception in thread "main" java.lang.RuntimeException: ammonite.runtime.tools.DependencyThing$IvyResolutionException: failed to resolve dependencies:
  file:/root/.m2/repository/org/scala-lang/scala-reflect/2.11.8/scala-reflect-2.11.8.jar: not found: /root/.m2/repository/org/scala-lang/scala-reflect/2.11.8/scala-reflect-2.11.8.jar
	at jupyter.kernel.server.ServerApp$.apply(ServerApp.scala:174)
	at jupyter.scala.JupyterScalaApp.delayedEndpoint$jupyter$scala$JupyterScalaApp$1(JupyterScala.scala:93)
	at jupyter.scala.JupyterScalaApp$delayedInit$body.apply(JupyterScala.scala:13)
	at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
	at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
	at caseapp.App$$anonfun$apply$1.apply(App.scala:47)
	at caseapp.App$$anonfun$apply$1.apply(App.scala:46)
	at scala.collection.immutable.List.foreach(List.scala:381)
	. . . 

Caused by:

Caused by: ammonite.runtime.tools.DependencyThing$IvyResolutionException: failed to resolve dependencies:
  file:/root/.m2/repository/org/scala-lang/scala-reflect/2.11.8/scala-reflect-2.11.8.jar: not found: /root/.m2/repository/org/scala-lang/scala-reflect/2.11.8/scala-reflect-2.11.8.jar
	at ammonite.runtime.tools.DependencyThing.resolveArtifact(DependencyThing.scala:106)
	at ammonite.runtime.Interpreter.loadIvy(Interpreter.scala:630)
	at ammonite.runtime.Interpreter$DefaultLoadJar.ivy(Interpreter.scala:655)
	at jupyter.scala.Interp.<init>(Interp.scala:75)
	. . . 
@joao-parana
Copy link
Owner Author

Veja se tem alguma issue relativa a isso em https://github.com/alexarchambault/jupyter-scala

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant