These are chat archives for ensime/ensime-atom

22nd
Jan 2016
Yoel Garcia Diaz
@yoeluk
Jan 22 2016 01:57
Does any1 know why I can't start the ensme server?
`[info] Loading project definition from /Users/yoel.garciadiaz/.atom/packages/Ensime/ensimeupdate/project
[info] Set current project to ensimeupdate_ (in build file:/Users/yoel.garciadiaz/.atom/packages/Ensime/ensime_update/)
[info] Updating {file:/Users/yoel.garciadiaz/.atom/packages/Ensime/ensimeupdate_/}ensime_update...
[info] Resolving org.scala-lang#scala-library;undefined ...
[info] Resolving org.scala-lang#scala-library;undefined ...
[warn] module not found: org.scala-lang#scala-library;undefined
[warn] ==== local: tried [warn] /Users/yoel.garciadiaz/.ivy2/local/org.scala-lang/scala-library/undefined/ivys/ivy.xml [warn] ==== activator-launcher-local: tried [warn] /Users/yoel.garciadiaz/.activator/repository/org.scala-lang/scala-library/undefined/ivys/ivy.xml [warn] ==== activator-local: tried [warn] /Users/yoel.garciadiaz/Downloads/activator-dist-1.3.7/repository/org.scala-lang/scala-library/undefined/ivys/ivy.xml [warn] ==== public: tried [warn] https://repo1.maven.org/maven2/org/scala-lang/scala-library/undefined/scala-library-undefined.pom [warn] ==== typesafe-releases: tried [warn] http://repo.typesafe.com/typesafe/releases/org/scala-lang/scala-library/undefined/scala-library-undefined.pom [warn] ==== typesafe-ivy-releasez: tried [warn] http://repo.typesafe.com/typesafe/ivy-releases/org.scala-lang/scala-library/undefined/ivys/ivy.xml [warn] ==== Maven2 Local: tried [warn] file:/Users/yoel.garciadiaz/.m2/repository/org/scala-lang/scala-library/undefined/scala-library-undefined.pom [warn] ==== NetBeans: tried [warn] http://bits.netbeans.org/nexus/content/groups/netbeans/org/scala-lang/scala-library/undefined/scala-library-undefined.pom [warn] ==== sonatype-snapshots: tried [warn] https://oss.sonatype.org/content/repositories/snapshots/org/scala-lang/scala-library/undefined/scala-library-undefined.pom
[info] Resolving org.ensime#ensime_undefined;0.9.10-SNAPSHOT ...
[info] Resolving org.ensime#ensime_undefined;0.9.10-SNAPSHOT ...
[warn] module not found: org.ensime#ensime_undefined;0.9.10-SNAPSHOT [warn] ==== local: tried
[warn] /Users/yoel.garciadiaz/.ivy2/local/org.ensime/ensime_undefined/0.9.10-SNAPSHOT/ivys/ivy.xml [warn] ==== activator-launcher-local: tried [warn] /Users/yoel.garciadiaz/.activator/repository/org.ensime/ensime_undefined/0.9.10-SNAPSHOT/ivys/ivy.xml [warn] ==== activator-local: tried [warn] /Users/yoel.garciadiaz/Downloads/activator-dist-1.3.7/repository/org.ensime/ensime_undefined/0.9.10-SNAPSHOT/ivys/ivy.xml [warn] ==== public: tried [warn] https://repo1.maven.org/maven2/org/ensime/ensime_undefined/0.9.10-SNAPSHOT/ensime_undefined-0.9.10-SNAPSHOT.pom [warn] ==== typesafe-releases: tried [warn] http://repo.typesafe.com/typesafe/releases/org/ensime/ensime_undefined/0.9.10-SNAPSHOT/ensime_undefined-0.9.10-SNAPSHOT.pom [warn] ==== typesafe-ivy-releasez: tried [warn] http://repo.typesafe.com/typesafe/ivy-releases/org.ensime/ensime_undefined/0.9.10-SNAPSHOT/ivys/ivy.xml [warn] ==== Maven2 Local: tried [warn] file:/Users/yoel.garciadiaz/.m2/repository/org/ensime/ensime_undefined/0.9.10-SNAPSHOT/ensime_undefined-0.9.10-SNAPSHOT.pom [warn] ==== NetBeans: tried [warn] http://bits.netbeans.org/nexus/content/groups/netbeans/org/ensime/ensime_undefined/0.9.10-SNAPSHOT/ensime_undefined-0.9.10-SNAPSHOT.pom [warn] ==== sonatype-snapshots: tried [warn] https://oss.sonatype.org/content/repositories/snapshots/org/ensime/ensime_undefined/0.9.10-SNAPSHOT/ensime_undefined-0.9.10-SNAPSHOT.pom
[info] Resolving org.scala-lang#scala-compiler;undefined ...
[info] Resolving org.scala-lang#scala-compiler;undefined ...
[warn] module not found: org.scala-lang#scala-compiler;undefined [warn] ==== local: tried
[warn] /Users/yoel.garciadiaz/.ivy2/local/org.scala-lang/scala-compiler/undefined/ivys/ivy.xml [warn] ==== activator-launcher-local: tried [warn] /Users/yoel.garciadiaz/.activator/repository/org.scala-lang/scala-compiler/undefined/ivys/ivy.xml [warn] ==== activator-local: tried [warn] /Users/yoel.garciadiaz/Downloads/activator-dist-1.3.7/repository/org.scala-lang/scala-compiler/undefined/ivys/ivy.xml [warn] ====
btw... I have no issue running sbt from the path I gave the plugin /usr/local/bin/sbt
Yoel Garcia Diaz
@yoeluk
Jan 22 2016 04:15
after setting the project to [package path]/Ensime/ensime_ipdate_/ then start looking for undefined dependencies
[info] Set current project to ensimeupdate_ (in build file:/Users/yoel.garciadiaz/.atom/packages/Ensime/ensime_update/)
[info] Updating {file:/Users/yoel.garciadiaz/.atom/packages/Ensime/ensimeupdate_/}ensime_update...
[info] Resolving org.scala-lang#scala-library;undefined ...
[info] Resolving org.scala-lang#scala-library;undefined ...
in the build.sbt of that project the scala version is set to scalaVersion := "undefined"
Yoel Garcia Diaz
@yoeluk
Jan 22 2016 04:25
it seems that this file is generated/updated with the scalaVersion := "undefined" when this happens [info] Updating {file:/Users/yoel.garciadiaz/.atom/packages/Ensime/ensime_update_/}ensime_update_...
Viktor Hedefalk
@hedefalk
Jan 22 2016 06:01
@yoeluk Weird. How does your .ensime look? Obviously, error handling is still lacking. I guess for some reason here we get undefined https://github.com/ensime/ensime-atom/blob/v0.31.1/lib/ensime-startup.coffee#L91. It reads the scala version from .ensime, I thought it should always be there…
Yoel Garcia Diaz
@yoeluk
Jan 22 2016 08:07
@hedefalk you are spot on... I didn't have it there thanks!
do you have a link to an example .ensime ?
this page is no longer there
Yoel Garcia Diaz
@yoeluk
Jan 22 2016 08:29
ah I got it sbt gen-ensime
Viktor Hedefalk
@hedefalk
Jan 22 2016 08:38
@yoeluk That's it right there :) However, obviously that old code is pretty non-defensive - it should give you an error message if no .ensime. master branch however has a ".ensime selector" which enables running multiple projects in one window. There are some issues still though, but for the brave I think it's actually probably better than the last release…
Yoel Garcia Diaz
@yoeluk
Jan 22 2016 09:07
pretty nice! thanks a lot!