This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-05-10
Channels
- # aws (39)
- # babashka (4)
- # beginners (5)
- # biff (25)
- # cider (14)
- # clj-on-windows (40)
- # clojure-europe (36)
- # clojure-gamedev (1)
- # clojure-losangeles (4)
- # clojure-norway (51)
- # clojure-spec (5)
- # clojure-uk (2)
- # clojurescript (2)
- # clr (176)
- # data-science (10)
- # datalevin (17)
- # datomic (7)
- # deps-new (4)
- # docs (3)
- # emacs (12)
- # figwheel (3)
- # figwheel-main (5)
- # hyperfiddle (20)
- # instaparse (3)
- # introduce-yourself (8)
- # lsp (66)
- # malli (43)
- # off-topic (4)
- # rdf (11)
- # reagent (5)
- # releases (2)
- # sci (11)
- # shadow-cljs (24)
- # slack-help (2)
- # specter (7)
- # tools-deps (3)
- # xtdb (48)
I have a regression that I'm having difficulty figuring out the cause of. I posted this to the spacemacs group but it doesn't seem to be spacemacs related. I rebooted my updated spacemacs and the elpa packages and rebooted my system. Now I can't jack-in with any simple test project.
Here is my *messages*
output:
Starting new CIDER session ...
[nREPL] Starting server via "c:/Users/Paul Dumais/scoop/shims/clojure.exe" -Sdeps '{:deps {nrepl/nrepl {:mvn/version "1.0.0"} cider/cider-nrepl {:mvn/version "0.30.0"}} :aliases {:cider/nrepl {:main-opts ["-m" "nrepl.cmdline" "--middleware" "[cider.nrepl/cider-middleware]"]}}}' -M:cider/nrepl
error in process sentinel: nrepl-server-sentinel: Could not start nREPL server: Error building classpath. Don't know how to create ISeq from: clojure.lang.Symbol
java.lang.IllegalArgumentException: Don't know how to create ISeq from: clojure.lang.Symbol
at clojure.lang.RT.seqFrom(RT.java:557)
at clojure.lang.RT.seq(RT.java:537)
at clojure.core$seq__5467.invokeStatic(core.clj:139)
at clojure.core$merge_with$merge2__6033.invoke(core.clj:3083)
at clojure.lang.ArrayChunk.reduce(ArrayChunk.java:63)
at clojure.core$reduce1.invokeStatic(core.clj:944)
at clojure.core$reduce1.invokeStatic(core.clj:936)
at clojure.core$merge_with.invokeStatic(core.clj:3076)
at clojure.core$merge_with.doInvoke(core.clj:3068)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invokeStatic(core.clj:669)
at clojure.tools.deps$merge_edns.invokeStatic(deps.clj:141)
at clojure.tools.deps.script.make_classpath2$run_core.invokeStatic(make_classpath2.clj:86)
at clojure.tools.deps.script.make_classpath2$run.invokeStatic(make_classpath2.clj:153)
at clojure.tools.deps.script.make_classpath2$_main.invokeStatic(make_classpath2.clj:203)
at clojure.tools.deps.script.make_classpath2$_main.doInvoke(make_classpath2.clj:174)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.main$main_opt.invokeStatic(main.clj:514)
at clojure.main$main_opt.invoke(main.clj:510)
at clojure.main$main.invokeStatic(main.clj:664)
at clojure.main$main.doInvoke(main.clj:616)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.main.main(main.java:40)
("exited abnormally with code 1")
error in process sentinel: Could not start nREPL server: Error building classpath. Don't know how to create ISeq from: clojure.lang.Symbol
java.lang.IllegalArgumentException: Don't know how to create ISeq from: clojure.lang.Symbol
at clojure.lang.RT.seqFrom(RT.java:557)
at clojure.lang.RT.seq(RT.java:537)
at clojure.core$seq__5467.invokeStatic(core.clj:139)
at clojure.core$merge_with$merge2__6033.invoke(core.clj:3083)
at clojure.lang.ArrayChunk.reduce(ArrayChunk.java:63)
at clojure.core$reduce1.invokeStatic(core.clj:944)
at clojure.core$reduce1.invokeStatic(core.clj:936)
at clojure.core$merge_with.invokeStatic(core.clj:3076)
at clojure.core$merge_with.doInvoke(core.clj:3068)
at clojure.lang.RestFn.applyTo(RestFn.java:139)
at clojure.core$apply.invokeStatic(core.clj:669)
at clojure.tools.deps$merge_edns.invokeStatic(deps.clj:141)
at clojure.tools.deps.script.make_classpath2$run_core.invokeStatic(make_classpath2.clj:86)
at clojure.tools.deps.script.make_classpath2$run.invokeStatic(make_classpath2.clj:153)
at clojure.tools.deps.script.make_classpath2$_main.invokeStatic(make_classpath2.clj:203)
at clojure.tools.deps.script.make_classpath2$_main.doInvoke(make_classpath2.clj:174)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.main$main_opt.invokeStatic(main.clj:514)
at clojure.main$main_opt.invoke(main.clj:510)
at clojure.main$main.invokeStatic(main.clj:664)
at clojure.main$main.doInvoke(main.clj:616)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.lang.Var.applyTo(Var.java:705)
at clojure.main.main(main.java:40)
("exited abnormally with code 1")
What version of the CLI?
It could be that scoop clojure on windows only works after installing but not after reboot.
note that quoting of strings will be different depending on: • you're shelling out from Java • you're shelling out from Powershell • you're shelling out cmd.exe
@U0FH1UL84 Like this:
(let [process-builder (java.lang.ProcessBuilder. ["clojure.exe" "-Spath" "-Sdeps" (pr-str '{:deps {org.clojure/clojure {:mvn/version "1.12.0-alpha2"}}})])
process (.start process-builder)
output (slurp (.getInputStream process))
error (slurp (.getErrorStream process))]
(println output)
(println error))
Yeah, elisp command I suppose. Not sure how emacs cider internals work that well. There is a variable that holds the command that gets launched.
@U0FH1UL84 so you're using scoop? which package? clj-deps?
Yeah scoop clojure via clj-deps package. It was working fine earlier. Not sure what I could have done to break it.
@U0FH1UL84 did you upgrade clj-deps? or did you upgrade CIDER? Are you using a unstable version of CIDER from melpa?