This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-02-15
Channels
- # aatree (23)
- # admin-announcements (13)
- # announcements (3)
- # beginners (49)
- # boot (50)
- # braid-chat (1)
- # braveandtrue (37)
- # cider (72)
- # cljs-dev (25)
- # cljsjs (6)
- # cljsrn (37)
- # clojure (78)
- # clojure-berlin (8)
- # clojure-greece (1)
- # clojure-ireland (2)
- # clojure-madison (14)
- # clojure-new-zealand (2)
- # clojure-poland (10)
- # clojure-russia (149)
- # clojured (2)
- # clojurescript (49)
- # community-development (6)
- # core-async (37)
- # cursive (1)
- # data-science (1)
- # datomic (30)
- # emacs (4)
- # euroclojure (1)
- # funcool (1)
- # graclj (1)
- # hoplon (17)
- # jobs (2)
- # jobs-rus (45)
- # ldnclj (6)
- # mount (12)
- # off-topic (124)
- # om (270)
- # onyx (131)
- # parinfer (70)
- # perun (2)
- # proton (168)
- # re-frame (32)
- # reagent (29)
- # ring-swagger (8)
- # testing (9)
- # yada (39)
I am getting
ERROR: Unhandled REPL handler exception processing message {:op init-debugger, :print-level 10, :print-length 10, :session f10681b1-e8f4-48c6-bbc9-869f5ec1d54a, :id 7}
java.lang.IllegalStateException: Can't set!: *data-readers* from non-binding thread
whenever I cider-connect
from emacs.This is after doing a boot development
where my deftask is
(deftask development
"Launch Immediate Feedback Development Environment"
[]
(comp
(serve :reload true)
(watch)
(reload)
(cljs-repl)
(cljs)
(target :dir #{"target"})))
http://hoplon.discoursehosting.net/t/question-about-data-readers-with-datomic-and-boot/99
the timing of your report seems to coincide with a change we made yesterday https://github.com/clojure-emacs/cider-nrepl/commit/1723057b7dcba57fc10108b0b38f0e6a5293df6d
unfortunately I’m not familiar with boot and I’m not sure what’s the best approach here
might actually be this commit https://github.com/clojure-emacs/cider-nrepl/commit/2226f517a61b8dde3028bf3c29f8387150833709
Hi, which version of clj-refactor
and refactor-nrepl
should I use to avoid these warnings?
; CIDER 0.10.2 (Java 1.8.0_25, Clojure 1.6.0, nREPL 0.2.12)
WARNING: The following nREPL ops are not supported:
artifact-list artifact-versions clean-ns extract-definition find-symbol find-used-locals hotload-dependency namespace-aliases rename-file-or-dir resolve-missing stubs-for-interface version warm-ast-cache
Please, install (or update) refactor-nrepl and restart the REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.0.0-SNAPSHOT (package: 20151210.200) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.
and this is my profiles.clj
{:repl {:dependencies [[pjstadig/humane-test-output "0.7.0"]
[org.clojure/tools.nrepl "0.2.12"]]
:injections [(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
:plugins [[cider/cider-nrepl "0.10.2"]
[refactor-nrepl "2.0.0-SNAPSHOT"]]}
:user {:dependencies [[slamhound "1.5.5"]]
:aliases {"slamhound" ["run" "-m" "slam.hound"]}
:plugins [[lein-ancient "0.6.8"]]}}
@samedhi @bozhidar that's annoying. I guess we should just revert the commit and go back to nagging the boot people. :-P
Second try: I removed refactor-nrepl
from my profiles.clj
{:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]
:plugins [[cider/cider-nrepl "0.10.2"]
#_[refactor-nrepl "2.0.0"]]}
:user {:dependencies [[pjstadig/humane-test-output "0.7.1"]
[slamhound "1.5.5"]]
:injections[(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
:aliases {"slamhound" ["run" "-m" "slam.hound"]}
:plugins [[lein-ancient "0.6.8"]]}}
and cider repl still complains about invalid version of refactor-nrepl
:
; CIDER 0.10.2 (Java 1.8.0_25, Clojure 1.6.0, nREPL 0.2.12)
WARNING: The following nREPL ops are not supported:
artifact-list artifact-versions clean-ns extract-definition find-symbol find-used-locals hotload-dependency namespace-aliases rename-file-or-dir resolve-missing stubs-for-interface version warm-ast-cache
Please, install (or update) refactor-nrepl and restart the REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.0.0-SNAPSHOT (package: 20151210.200) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.
user>
I didn’t change versions of clj-refactor and refactor-nrepl - that’s why I am asking here what might happen
ok guys let’s start once again. Forget about everything you’ve seen so far 😉
This is my profiles.clj
:
{:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]
:plugins [[cider/cider-nrepl "0.10.2"]
#_[refactor-nrepl "2.0.0"]]}
:user {:dependencies [[pjstadig/humane-test-output "0.7.1"]
[slamhound "1.5.5"]]
:injections[(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
:aliases {"slamhound" ["run" "-m" "slam.hound"]}
:plugins [[lein-ancient "0.6.8"]]}}
and this is output from my repl:
; CIDER 0.10.2 (Java 1.8.0_25, Clojure 1.7.0, nREPL 0.2.12)
WARNING: The following nREPL ops are not supported:
artifact-list artifact-versions clean-ns extract-definition find-symbol find-used-locals hotload-dependency namespace-aliases rename-file-or-dir resolve-missing stubs-for-interface version warm-ast-cache
Please, install (or update) refactor-nrepl and restart the REPL.
You can mute this warning by changing cljr-suppress-middleware-warnings.
WARNING: clj-refactor and refactor-nrepl are out of sync.
Their versions are 2.0.0-SNAPSHOT (package: 20151210.200) and n/a, respectively.
You can mute this warning by changing cljr-suppress-middleware-warnings.
I started seeing this messages in repl when I upgraded cider to v0.10.2 in emacs and changed plugin depenency from [cider/cider-nrepl "0.10.1”]
to [cider/cider-nrepl "0.10.2”]
in profiles.clj
.
@malabarba I'm a Boot person -- what can I do to help?
@jan.zy: you are getting the warning because the emacs package is installed but there is no nrepl middleware on your classpath: > WARNING: clj-refactor and refactor-nrepl are out of sync. > Their versions are 2.0.0-SNAPSHOT (package: 20151210.200) and n/a, respectively.
uncomment the refactor-nrepl
line in you profiles.clj and change the version to `2.0.0-SNAPSHOT or alternitvely (perhaps even better): upgrade to either 2.0.0 (if you prefer stable) or 2.2.0-SNAPSHOT on both the emacs package and the middleware
just one caveat @jan.zy: if you keep using cider 0.10.2 you better go with 2.0.0 stable clj-refactor
ok so my profiles.clj
should look like this:
{:repl {:dependencies [[org.clojure/tools.nrepl "0.2.12"]]
:plugins [[cider/cider-nrepl "0.10.2"]
[refactor-nrepl "2.0.0-SNAPSHOT"]]}
:user {:dependencies [[pjstadig/humane-test-output "0.7.1"]
[slamhound "1.5.5"]]
:injections[(require 'pjstadig.humane-test-output)
(pjstadig.humane-test-output/activate!)]
:aliases {"slamhound" ["run" "-m" "slam.hound"]}
:plugins [[lein-ancient "0.6.8"]]}}
Yet another question: Sometimes I can see this message in my Messages
buffer:
error in process filter: nREPL: No response handler with id nil found
this looks weird tbh. if you by any chance can reliably reproduce pls create an issue on github