These are chat archives for ensime/ensime-atom

14th
Apr 2016
Siddhartha Gadgil
@siddhartha-gadgil
Apr 14 2016 08:15
I am having difficulty starting enzyme at work after the switch to coursier etc, though things are fine at home.
There is a proxy at work. I have deleted ensime_cache and regenerated .ensime.
When starting atom, I just get a blank screen and no server.log is created.
Any suggestions what I should try to figure out what fails?
Siddhartha Gadgil
@siddhartha-gadgil
Apr 14 2016 08:24
I tried this in emacs. Here again no server.log was generated, but I got an error message:
org.ensime.server.Server
13:51:56.292 ERROR None Server - There was a problem parsing /home/gadgil/code/ProvingGround/.ensime
java.lang.NoClassDefFoundError: org/ensime/sexp/package$EnrichedString$
    at org.ensime.config.EnsimeConfigProtocol$.parse(EnsimeConfigProtocol.scala) ~[core_2.11-0.9.10-SNAPSHOT.jar:0.9.10-SNAPSHOT]
    at org.ensime.server.Server$.main(Server.scala:122) ~[server_2.11-0.9.10-SNAPSHOT.jar:0.9.10-SNAPSHOT]
    at org.ensime.server.Server.main(Server.scala) [server_2.11-0.9.10-SNAPSHOT.jar:0.9.10-SNAPSHOT]
Caused by: java.lang.ClassNotFoundException: org.ensime.sexp.package$EnrichedString$
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_77]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_77]
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_77]
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_77]
    ... 3 common frames omitted
Exception in thread "main" java.lang.NoClassDefFoundError: org/ensime/sexp/package$EnrichedString$
    at org.ensime.config.EnsimeConfigProtocol$.parse(EnsimeConfigProtocol.scala)
    at org.ensime.server.Server$.main(Server.scala:122)
    at org.ensime.server.Server.main(Server.scala)
Caused by: java.lang.ClassNotFoundException: org.ensime.sexp.package$EnrichedString$
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    ... 3 more

Process *inferior-ensime-server-ProvingGround* exited abnormally with code 1
Viktor Hedefalk
@hedefalk
Apr 14 2016 10:08
@siddhartha-gadgil In Atom, can you look at chrome developer tools console log? You probably have a stack trace there. Please open a ticket on ensime-atom and paste this stack trace.
Actually, there is an open issue here: ensime/ensime-atom#213
So please attach and +1 on it. I think it should be possible to use Atoms proxy settings for the download…
Viktor Hedefalk
@hedefalk
Apr 14 2016 10:35
@siddhartha-gadgil I asked for advice on discuss.atom.io now: https://discuss.atom.io/t/programatically-get-proxy-settings-from-package/27838
Siddhartha Gadgil
@siddhartha-gadgil
Apr 14 2016 16:10
@hedefalk thanks. I will post logs tomorrow when I am at work again (it is night here)