This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-06
Channels
- # 100-days-of-code (15)
- # beginners (32)
- # calva (2)
- # cider (37)
- # clara (1)
- # cljs-dev (47)
- # clojure (177)
- # clojure-boston (1)
- # clojure-dev (2)
- # clojure-germany (1)
- # clojure-greece (5)
- # clojure-italy (13)
- # clojure-nl (2)
- # clojure-sanfrancisco (1)
- # clojure-uk (72)
- # clojurescript (46)
- # cursive (20)
- # datascript (7)
- # datomic (14)
- # devcards (6)
- # docker (1)
- # duct (1)
- # emacs (1)
- # figwheel (3)
- # figwheel-main (151)
- # graphql (2)
- # hyperfiddle (1)
- # interop (3)
- # jobs (3)
- # lumo (2)
- # off-topic (21)
- # pedestal (1)
- # re-frame (9)
- # reagent (25)
- # shadow-cljs (57)
- # slack-help (4)
- # specter (21)
- # tools-deps (53)
- # vim (2)
morning! I finally moved to 0.18, and trying to start clj and cljs repl I get
Debugger entered--Lisp error: (error "Selecting deleted buffer")
cider--gather-connect-params(nil #<killed buffer>)
cider--gather-session-params(("src/finops-admin:localhost:9009" #<killed buffer>))
#f(compiled-function (ses) #<bytecode 0x45d2d025>)(("src/finops-admin:localhost:9009" #<killed buffer>))
#f(compiled-function (elt) #<bytecode 0x455edfe5>)(("src/finops-admin:localhost:9009" #<killed buffer>))
mapc(#f(compiled-function (elt) #<bytecode 0x455edfe5>) (("src/finops-admin:localhost:9009" #<killed buffer>)))
seq-do(#f(compiled-function (elt) #<bytecode 0x455edfe5>) (("src/finops-admin:localhost:9009" #<killed buffer>)))
seq-find(#f(compiled-function (ses) #<bytecode 0x45d2d025>) (("src/finops-admin:localhost:9009" #<killed buffer>)))
cider--check-existing-session((:project-dir "~/src/finops-admin/"))
cider-jack-in-clj&cljs(nil)
funcall-interactively(cider-jack-in-clj&cljs nil)
call-interactively(cider-jack-in-clj&cljs record nil)
command-execute(cider-jack-in-clj&cljs record)
helm-M-x(nil #("cider-jack-in-clj&cljs" 0 22 (match-part "cider-jack-in-clj&cljs")))
funcall-interactively(helm-M-x nil #("cider-jack-in-clj&cljs" 0 22 (match-part "cider-jack-in-clj&cljs")))
call-interactively(helm-M-x nil nil)
command-execute(helm-M-x)
(from M-x cider-jack-in-clj&cljs
)
anyone seen that before?
actually also jack-in-clj
does the same
ah actually I tried another project and it works fine there
so maybe related with these settings?
(eval . (cider-register-cljs-repl-type
'figwheel+integrant
"(do (require 'figwheel-sidecar.repl-api)
(require 'integrant.repl)
(integrant.repl/go)
(figwheel-sidecar.repl-api/cljs-repl))"))
(plus (cider-default-cljs-repl . figwheel+integrant)
)
looking at the docs https://cider.readthedocs.io/en/latest/clojurescript/ it looks like I'm still doing the right thing though
yeah I saw there is an existing issue about that as well, so at least I'm not alone
has anyone seen this error in process filter: cider-stacktrace-render-frame: Format specifier doesn’t match argument type
?
;; CIDER 0.18.0 (Saigon), nREPL 0.2.13
;; Clojure 1.9.0, Java 1.8.0_172
cider-jack-in
via lein
seems to be using a version of Java that I don’t have setup anywhere else. I don’t think that makes sense though. How would cider-jack-in
be getting the env to use for lein
? e.g. what if the LEIN_JAVA_CMD
was set to something
run which lein
from command line and (cider--resolve-command "lein")
from emacs and compare
the system path isn't necessarily what emacs can see. it has its own notion of exec-path
if you need an environmental variable there i don't see a good way to do so. see cider--update-jack-in-cmd
to see how the command is built and there's no option to prepend that i can see
it’s an “xml bind” class missing thing, so I am suspecting somehow it is trying to run with a different Java version (I’m expecting jdk8, but module system stuff comes in 9+), but don’t really know
yes, I’m expecting to use Java 8. I do have others installed on computer though, but not the default
I guess it’d be good to get ahold of the lein
that cider
is using and do a lein -version
on it to see
@U11BV7MTK Thanks! Sorry just saw this. I will try this out then soon.
i'm not very JVM-y but you can check (getenv "JAVA_HOME")
versus echo $JAVA_HOME
from a shell
so what are the instructions for boot/cljs now?
@vigilancetech you are the first one asking this, there is a pending issue with that at the moment