This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-01-05
Channels
- # aleph (6)
- # announcements (2)
- # babashka (8)
- # beginners (121)
- # calva (7)
- # cider (7)
- # clj-kondo (25)
- # clojure (167)
- # clojure-android (1)
- # clojure-italy (1)
- # clojure-sweden (1)
- # clojuredesign-podcast (2)
- # clojurescript (11)
- # community-development (33)
- # cursive (23)
- # data-science (1)
- # datascript (11)
- # datomic (7)
- # emacs (12)
- # events (1)
- # fulcro (15)
- # graalvm (3)
- # hoplon (1)
- # instaparse (1)
- # malli (12)
- # off-topic (1)
- # planck (3)
- # re-frame (5)
- # shadow-cljs (61)
- # test-check (2)
I have cider-special-mode-truncate-lines t
set but the cider test result buffer doesn't truncate.
I'm running into an interesting bug that appears to be caused by cider-nrepl middleware. If I start an nrepl server with /usr/local/bin/clojure -Sdeps '{:deps {nrepl {:mvn/version "0.6.0"} cider/cider-nrepl {:mvn/version "0.23.0-SNAPSHOT"}}}' -m nrepl.cmdline --middleware '["cider.nrepl/cider-middleware"]'
in an empty project, connect, and evaluate (
at the repl, I get the error
Error printing return value (MalformedURLException) at .URL/<init> (URL.java:600).
unknown protocol: postgresql
Doing the same, but without --middleware '["cider.nrepl/cider-middleware"]'
results in the expected result: #object[.URI 0x16b4a650 ":@localhost:5432/postgres"]
.Can anyone else reproduce this? Should I create a github issue?
I believe that’s the image displaying middleware trying to fetch the uri in your repl buffer
@dpsutton Turning off cider-repl-use-content-types
did the trick. Thank you!
Yes, that is sounding more and more like it was a bad idea. It’s caused me confusion too.