LT failing to connect to project suddenly

160 views
Skip to first unread message

Thomas

unread,
Feb 12, 2015, 10:23:58 AM2/12/15
to light-table...@googlegroups.com
Hi,

I am suddenly getting this error when I am trying to connect to a Clojure project. This even happens when trying to open an instarepl (not on a file):

Exception in thread "main" java.lang.ClassNotFoundException: lighttable.nrepl.core, compiling:(/tmp/form-init873585129780993961.clj:1:1010)

final project: {:compile-path /home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/target/classes, :group local-client, :global-vars {}, :checkout-deps-shares [:source-paths :test-paths :resource-paths :compile-path #'leiningen.core.classpath/checkout-deps-paths], :ultra {:color-scheme :solarized_dark}, :repl-options {:nrepl-context {:interactive-eval {:renderer whidbey.render/render-str}}, :nrepl-middleware [clojure.tools.nrepl.middleware.render-values/render-values], :init (clojure.core/swap! lighttable.nrepl.core/my-settings clojure.core/merge {:name LightTable-REPL, :project (quote {:compile-path /home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/target/classes, :group local-client, :global-vars {}, :checkout-deps-shares [:source-paths :test-paths :resource-paths :compile-path #'leiningen.core.classpath/checkout-deps-paths], :ultra {:color-scheme :solarized_dark}, :repl-options {:nrepl-middleware [clojure.tools.nrepl.middleware.render-values/render-values], :nrepl-context {:interactive-eval {:renderer whidbey.render/render-str}}}, :dependencies ([org.clojure/clojure 1.5.1] [org.clojure/tools.nrepl 0.2.3 :exclusions ([org.clojure/clojure])] [clojure-complete/clojure-complete 0.2.3 :exclusions ([org.clojure/clojure])] [mvxcvi/puget 0.6.6] [mvxcvi/whidbey 0.4.2] [venantius/ultra 0.1.9] [jonase/eastwood 0.2.1]), :plugin-repositories [[central {:snapshots false, :url http://repo1.maven.org/maven2/}] [clojars {:url https://clojars.org/repo/}]], :test-selectors {:default (constantly true)}, :target-path /home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/target, :name local-client, :deploy-repositories [[clojars {:username :gpg, :url https://clojars.org/repo/, :password :gpg}]], :root /home/veen/bin/lt/LightTable/plugins/clojure/runner/resources, :offline? false, :source-paths (/home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/src), :certificates [clojars.pem], :version 0.0.1, :jar-exclusions [#"^\."], :prep-tasks [javac compile], :repositories [[central {:snapshots false, :url http://repo1.maven.org/maven2/}] [clojars {:url https://clojars.org/repo/}]], :resource-paths (/home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/dev-resources /home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/resources), :uberjar-exclusions [#"(?i)^META-INF/[^/]*\.(SF|RSA|DSA)$"], :jvm-opts [], :eval-in :subprocess, :plugins ([lein-pprint/lein-pprint 1.1.1] [lein-midje/lein-midje 3.0.1] [lein-nevam/lein-nevam 0.1.2] [lein-droid/lein-droid 0.3.0-beta4] [lein-ancient/lein-ancient 0.4.4] [lein-cljsbuild/lein-cljsbuild 1.0.4-SNAPSHOT] [lein-kibit/lein-kibit 0.0.8] [jonase/eastwood 0.1.5] [http-kit/lein-template 1.0.0-SNAPSHOT] [lein-simpleton/lein-simpleton 1.3.0] [lein-cljfmt/lein-cljfmt 0.1.7] [venantius/ultra 0.1.9]), :injections ((clojure.core/require (quote ultra.hardcore)) (ultra.hardcore/configure! {:sort-keys true, :map-delimiter , :print-meta false, :color-scheme :solarized_dark})), :native-path /home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/target/native, :description A local light table project, :uberjar-merge-with {META-INF/plexus/components.xml leiningen.uberjar/components-merger, data_readers.clj leiningen.uberjar/clj-map-merger}, :test-paths (/home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/test), :clean-targets [:target-path]})})}, :dependencies ([org.clojure/clojure 1.5.1] [org.clojure/tools.nrepl 0.2.3 :exclusions ([org.clojure/clojure])] [clojure-complete/clojure-complete 0.2.3 :exclusions ([org.clojure/clojure])] [lein-light-nrepl/lein-light-nrepl 0.1.0] [org.clojure/tools.reader 0.8.3] [mvxcvi/puget 0.6.6] [mvxcvi/whidbey 0.4.2] [venantius/ultra 0.1.9] [jonase/eastwood 0.2.1]), :plugin-repositories [[central {:snapshots false, :url http://repo1.maven.org/maven2/}] [clojars {:url https://clojars.org/repo/}]], :test-selectors {:default (constantly true)}, :target-path /home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/target, :name local-client, :deploy-repositories [[clojars {:username :gpg, :url https://clojars.org/repo/, :password :gpg}]], :root /home/veen/bin/lt/LightTable/plugins/clojure/runner/resources, :offline? false, :source-paths (/home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/src), :certificates [clojars.pem], :version 0.0.1, :jar-exclusions [#"^\."], :prep-tasks [javac compile], :repositories [[central {:snapshots false, :url http://repo1.maven.org/maven2/}] [clojars {:url https://clojars.org/repo/}]], :resource-paths (/home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/dev-resources /home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/resources), :uberjar-exclusions [#"(?i)^META-INF/[^/]*\.(SF|RSA|DSA)$"], :jvm-opts [], :eval-in :subprocess, :plugins ([lein-pprint/lein-pprint 1.1.1] [lein-midje/lein-midje 3.0.1] [lein-nevam/lein-nevam 0.1.2] [lein-droid/lein-droid 0.3.0-beta4] [lein-ancient/lein-ancient 0.4.4] [lein-cljsbuild/lein-cljsbuild 1.0.4-SNAPSHOT] [lein-kibit/lein-kibit 0.0.8] [jonase/eastwood 0.1.5] [http-kit/lein-template 1.0.0-SNAPSHOT] [lein-simpleton/lein-simpleton 1.3.0] [lein-cljfmt/lein-cljfmt 0.1.7] [venantius/ultra 0.1.9]), :injections ((clojure.core/require (quote ultra.hardcore)) (ultra.hardcore/configure! {:sort-keys true, :map-delimiter , :print-meta false, :color-scheme :solarized_dark})), :native-path /home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/target/native, :description A local light table project, :uberjar-merge-with {META-INF/plexus/components.xml leiningen.uberjar/components-merger, data_readers.clj leiningen.uberjar/clj-map-merger}, :test-paths (/home/veen/bin/lt/LightTable/plugins/clojure/runner/resources/test), :clean-targets [:target-path]}
Exception in thread "main" java.lang.ClassNotFoundException: lighttable.nrepl.core, compiling:(/tmp/form-init873585129780993961.clj:1:1010)
	at clojure.lang.Compiler.analyze(Compiler.java:6380)
	at clojure.lang.Compiler.analyze(Compiler.java:6322)
	at clojure.lang.Compiler$InvokeExpr.parse(Compiler.java:3624)
	at clojure.lang.Compiler.analyzeSeq(Compiler.java:6562)
	at clojure.lang.Compiler.analyze(Compiler.java:6361)
	at clojure.lang.Compiler.analyze(Compiler.java:6322)
	at clojure.lang.Compiler$BodyExpr$Parser.parse(Compiler.java:5708)
	at clojure.lang.Compiler$FnMethod.parse(Compiler.java:5139)
	at clojure.lang.Compiler$FnExpr.parse(Compiler.java:3751)
	at clojure.lang.Compiler.analyzeSeq(Compiler.java:6558)
	at clojure.lang.Compiler.analyze(Compiler.java:6361)
	at clojure.lang.Compiler.eval(Compiler.java:6616)
	at clojure.lang.Compiler.eval(Compiler.java:6609)
	at clojure.lang.Compiler.eval(Compiler.java:6608)
	at clojure.lang.Compiler.load(Compiler.java:7064)
	at clojure.lang.Compiler.loadFile(Compiler.java:7020)
	at clojure.main$load_script.invoke(main.clj:294)
	at clojure.main$init_opt.invoke(main.clj:299)
	at clojure.main$initialize.invoke(main.clj:327)
	at clojure.main$null_opt.invoke(main.clj:362)
	at clojure.main$main.doInvoke(main.clj:440)
	at clojure.lang.RestFn.invoke(RestFn.java:421)
	at clojure.lang.Var.invoke(Var.java:419)
	at clojure.lang.AFn.applyToHelper(AFn.java:163)
	at clojure.lang.Var.applyTo(Var.java:532)
	at clojure.main.main(main.java:37)
Caused by: java.lang.ClassNotFoundException: lighttable.nrepl.core
	at java.lang.Class.forName(Class.java:224)
	at clojure.lang.RT.classForName(RT.java:2070)
	at clojure.lang.Compiler$HostExpr.maybeClass(Compiler.java:969)
	at clojure.lang.Compiler$HostExpr.access$400(Compiler.java:747)
	at clojure.lang.Compiler.analyzeSymbol(Compiler.java:6766)
	at clojure.lang.Compiler.analyze(Compiler.java:6343)
	... 25 more
clojure.lang.ExceptionInfo: Subprocess failed {:exit-code 1}
	at clojure.core$ex_info.invoke(core.clj:4327)
	at leiningen.core.eval$fn__3532.invoke(eval.clj:226)
	at clojure.lang.MultiFn.invoke(MultiFn.java:231)
	at leiningen.core.eval$eval_in_project.invoke(eval.clj:326)
	at clojure.lang.AFn.applyToHelper(AFn.java:167)
	at clojure.lang.AFn.applyTo(AFn.java:151)
	at clojure.core$apply.invoke(core.clj:619)
	at leiningen.repl$repl.doInvoke(repl.clj:261)
	at clojure.lang.RestFn.invoke(RestFn.java:425)
	at leiningen.light_nrepl$light.doInvoke(light_nrepl.clj:56)
	at clojure.lang.RestFn.invoke(RestFn.java:423)
	at leiningen.light_nrepl$_main.doInvoke(light_nrepl.clj:68)
	at clojure.lang.RestFn.applyTo(RestFn.java:137)
	at leiningen.light_nrepl.main(Unknown Source)


And I am not sure what has changed. I have deleted my ~/.config/LightTable dir and downloaded the latest LT as well. but no change :(

Any idea what I could be doing wrong? 

TIA

Thomas

Thomas

unread,
Feb 20, 2015, 4:50:57 AM2/20/15
to light-table...@googlegroups.com
Hi,

I am still getting this problem and it stops me from using the instarepl :( I have reinstalled both 64 and 32 bit versions, but no luck there. I suspect that something in my environment changed, but I don't know what (I have noticed anything else).

Any idea what could cause this error to happen?

Thank,
Thomas

Zubair Quraishi

unread,
Feb 23, 2015, 3:18:03 AM2/23/15
to light-table...@googlegroups.com
Newer versions of libraires, especially Om caused LightTable to stop connecting for me. Try going back to an older version of project.clj and see if that works

Thomas

unread,
Feb 23, 2015, 6:31:36 AM2/23/15
to light-table...@googlegroups.com
Hi Zubair,

I even get this problem when I just want to open an instarepl with no project file(s) whatsoever. It has worked in the past so I think something in my environment changed, but as I don't really understand what the error means I don't know where to look either.

any pointers would be appreciated.

Thomas

W. David Jarvis

unread,
Mar 4, 2015, 4:51:18 PM3/4/15
to light-table...@googlegroups.com
Hey Thomas - 

Can you try updating "venantius/ultra" to the latest version (0.3.2) and trying again? There was a known bug that interfered with the Lighttable nREPL that was resolved recently.

 - V

Zubair Quraishi

unread,
Mar 5, 2015, 3:27:12 AM3/5/15
to light-table...@googlegroups.com
Wait for LightTable 0.8, and it should fix this

Thomas

unread,
Mar 5, 2015, 9:16:52 AM3/5/15
to light-table...@googlegroups.com
Woohooo!!!! This has fixed my problem!!!

Thank you very much!!!!

Thomas

Thomas

unread,
Mar 5, 2015, 10:26:01 AM3/5/15
to light-table...@googlegroups.com
Talking of LT 0.8, do you know if there is a roadmap for it? what will be included and when?

Any pointers would be appreciated!

Thomas

Zubair Quraishi

unread,
Mar 16, 2015, 9:27:45 AM3/16/15
to light-table...@googlegroups.com
Sorry, I am not sure when 0.8 is out. Maybe one of the LightTable team can update us.
Reply all
Reply to author
Forward
0 new messages