This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-24
Channels
- # announcements (1)
- # aws (2)
- # beginners (147)
- # boot (19)
- # cider (57)
- # clara (52)
- # cljdoc (18)
- # cljs-dev (14)
- # cljsrn (4)
- # clojure (176)
- # clojure-conj (9)
- # clojure-dev (9)
- # clojure-germany (2)
- # clojure-italy (4)
- # clojure-spec (13)
- # clojure-uk (56)
- # clojurescript (72)
- # code-reviews (11)
- # cursive (17)
- # data-science (1)
- # datomic (52)
- # duct (26)
- # emacs (6)
- # events (9)
- # figwheel (1)
- # figwheel-main (21)
- # fulcro (132)
- # funcool (1)
- # graphql (3)
- # jobs-discuss (42)
- # leiningen (3)
- # luminus (45)
- # mount (10)
- # off-topic (2)
- # re-frame (17)
- # reagent (12)
- # reitit (20)
- # ring-swagger (7)
- # rum (3)
- # shadow-cljs (256)
- # slack-help (15)
- # sql (7)
- # tools-deps (50)
- # uncomplicate (1)
- # yada (9)
Is this cider error or error in my code
Debugger entered--Lisp error: (error "Format specifier doesn’t match argument type")
format("%26s:%5d %s/%s" nil nil nil nil)
cider-stacktrace-render-frame(#<buffer *cider-error*> nil)
cider-stacktrace-render-cause(#<buffer *cider-error*> (dict "class" "java.lang.ClassCastException" "id" "25" "message" nil "session" "d697d375-105c-4302-ae23-85a964ca5c76" "stacktrace" (nil)) 1 "Unhandled")
cider-stacktrace-render(#<buffer *cider-error*> ((dict "class" "java.lang.ClassCastException" "id" "25" "message" nil "session" "d697d375-105c-4302-ae23-85a964ca5c76" "stacktrace" (nil))) nil)
cider--render-stacktrace-causes(((dict "class" "java.lang.ClassCastException" "id" "25" "message" nil "session" "d697d375-105c-4302-ae23-85a964ca5c76" "stacktrace" (nil))))
cider--handle-stacktrace-response((dict "id" "25" "session" "d697d375-105c-4302-ae23-85a964ca5c76" "status" ("done")) ((dict "class" "java.lang.ClassCastException" "id" "25" "message" nil "session" "d697d375-105c-4302-ae23-85a964ca5c76" "stacktrace" (nil))))
#f(compiled-function (response) #<bytecode 0x20da169>)((dict "id" "25" "session" "d697d375-105c-4302-ae23-85a964ca5c76" "status" ("done")))
nrepl--dispatch-response((dict "id" "25" "session" "d697d375-105c-4302-ae23-85a964ca5c76" "status" ("done")))
nrepl-client-filter(#<process nrepl-connection> "d2:id2:257:session36:d697d375-105c-4302-ae23-85a964ca5c766:statusl4:doneee")
code (reader error?)
(kick :loop "^5 0*2 0 0 10 0" -6 :rate [1 1 1 2 1] :fx [(freeverb)])
I'm on the newest tools.deps, thinking if that overwrites my clojure version, I'm aware of all the stacktrace work on 1.10.0, so it would make sense it's being used, I'm cheking the classpath..
cider-jack-in, with profile addition and this stuff as well, I added few days ago
(cider-add-to-alist 'cider-jack-in-dependencies "cfft" "0.1.0")
(cider-add-to-alist 'cider-jack-in-dependencies "net.mikera/core.matrix" "0.62.0")
(cider-add-to-alist 'cider-jack-in-dependencies "rm-hull/markov-chains" "0.1.1")
I think I know what caused it, but no idea why it caused it. I was requireing stuff, that blocks, and the throws error on timeout. I got timeout and still wen on evaluating. In that case, the error came. When it succeds, I don't get this. added: I realized not afterwards that you were pinging someone else with that quesiton 😄
@bozhidar cider-jack-in
to start nrepl first before manually starting figwheel/cljs-repl in the nrepl. This was the behavior that worked for me for over 2.5 years.
(generally the expectation is for people to use cider-jack-in-cljs
, but if something was working for you and we broke it we should at least check if we broke something accidentally)
It takes two minutes to test it out, Try 'lein new fighweel demo
and start cider-jack-in-cljs
and see yourself.
lein new figwheel demo
, i bumped the piggieback version to 3.9 from 3.1. cider-jack-in-cljs and chose figwheel from the list of options
i run a figwheel app for work every day and now have 2 other figwheel main apps. has been easy going for me. i'm sorry you are running into issues
I’m on cider 0.18 and I select figwheel after cider-jack-in-cljs
and a repl opens with figwheel. But evaluating a form in cljs file throws “npo Cljs REPLs in current session”. You can’t even type (use 'figwheel-sidecar.repl-api)
as it throws spec errors.
@pri when you cider-jack-in-cljs
do you see the repl type in the modeline as "pending-cljs"?
I don’t see anything in modeline but i can see the dropdown of options (this is new in 0,18, I think, and needlessly confusing). When I select figwheel i get “nrepl Direct connection to localshot… established” and a fighweel repl opens.
Can you confirm if you’re using 0.18 master (not snapshot?) and Jvm/figwheel/piggieback version
i'm tracking master but not completely up to date. figwheel 5.16, piggieback 3.9 and jvm 1.8
Perhaps you shouldn’t say ’it works for me” then 🙂
I have a linux and a mac and confirm that on a fresh fighweel demo project cider-jack-in-cljs
in cider 0.17 opens up a fighweel cljs repl and I can evaluate forms in all three files (clj/cljc/cljs).
The same doesn’t work in cider 0.18. Besides there are other issues with 0,.18 that make it unsuable (killing buffers will not restart repls).
I appreciate your time @dpsutton, just saying that I had a detailed explanation of my error with all versions listed and steps to recreate.
I made some progress: Upgraded to cider 0.19-Snapshot (20181024.1017). Starting cider-jack-in-clj-&-cljs
now opens clj and cljs repls; figwheel starts successfully and opens its repl and I can eval cljs forms. However evaluating clj still says “no clj repls in current session”. Suggestions?
having all sorts of problems today - not even cider-mode
gets assigned to my buffer ...might be unlucky day lol
which part of cider
assigns cider-mode
?
do I have to put in my auto-mode-alist
?
err...no...
@richiardiandrea jack-in/connect would normally enable cider-mode after a connection is established.
yeah that does not happen to me in shadow I guess
will try to debug in which case it does/does not
today I am having some tooling fatigue actually... 😓 ...I might just need a break
@bozhidar git/demo:localhost:50515 [*cider-repl %s(pending-cljs)*, *cider-repl %s(cljs)*] linked-to proj(~/git/demo/)