This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-08-23
Channels
- # announcements (2)
- # beginners (246)
- # boot-dev (1)
- # braveandtrue (3)
- # calva (13)
- # cider (26)
- # cljs-dev (6)
- # clojure (75)
- # clojure-finland (4)
- # clojure-germany (39)
- # clojure-italy (1)
- # clojure-mexico (1)
- # clojure-nl (14)
- # clojure-spec (61)
- # clojure-uk (104)
- # clojurescript (125)
- # cursive (20)
- # datomic (1)
- # emacs (2)
- # figwheel-main (91)
- # fulcro (29)
- # graphql (9)
- # jobs (3)
- # jobs-discuss (9)
- # juxt (13)
- # liberator (2)
- # luminus (1)
- # off-topic (15)
- # parinfer (8)
- # re-frame (70)
- # reagent (35)
- # reitit (24)
- # remote-jobs (5)
- # ring-swagger (3)
- # shadow-cljs (127)
- # spacemacs (34)
- # yada (6)
Looks like cider is fetching a URI object
doesn’t happen at a plain repl
It happens whether I disable or enable ciders pretty-printing
https://github.com/clojure-emacs/cider-nrepl/commit/55cd4bf5ea3a699688fb06515537ddcc17e9d40f
I think this behaviour here is slightly wrong, as a URI is a reference not the thing itself. Also there seems to be a bug in it, if the URI resolution fails in some way ( not sure what exactly perhaps it timesout, raises an error or maybe an unsupported display type??), then it seems to break evaluation in the REPL. Also it’s kinda annoying that it’s a blocking operation, as it locks things up for an unspecified period of time. What do others think?
hi, i have 2 lein projects with default template but i can cider jack in only for one of them. Any idea why? i have no ~/.lein/profiles and have not messed with the project.clj files
right, reinstalled cider tried again a couple of time same issue. edited my core.clj file tried again and is now working. Strange
holy smokes @rickmoynihan
(-->
id "58"
op "eval"
session "fc67590f-75e4-4137-8c79-d93d6aedab66"
time-stamp "2018-08-23 08:11:46.667613209"
code "(java.net.URI. \"\")"
column 19
content-type "true"
file "*cider-repl breeze_ehr/mast:localhost:36835(clj)*"
line 83
ns "breeze.mast.repl"
)
(<--
id "58"
session "fc67590f-75e4-4137-8c79-d93d6aedab66"
time-stamp "2018-08-23 08:11:46.683026961"
body ""
content-type ("message/external-body"
(dict "URL" "" "access-type" "URL"))
ns "breeze.mast.repl"
value "#URI \"\""
)
(-->
id "59"
op "slurp"
session "fc67590f-75e4-4137-8c79-d93d6aedab66"
time-stamp "2018-08-23 08:11:46.697461744"
url ""
)
it's a bug with the image printing. @rickmoynihan M-x cider-repl-toggle-content-types
to disable
@dpsutton: thanks… I discovered that option too, and have set it off globally with (setq cider-repl-use-content-types nil)
as documented in the awesome manual 🙂
Hi all, on latest cider and clojure-cli, I can only jack-in once per session. If I close connections and try to jack in again, I get Unsupported project type '"clojure-cli"'
. For me to be able to jack in again, I must restart emacs.
Has there been a change in the way deps.edn is handled?
scratch that, I upgraded my emacs install, and the problem just disappeared. Sorry for the noise!
@levitanong I think that MELPA managed to run a build in a small window yesterday where there was a bug in the project type handling. Funny how it generally builds so slow, but not yesterday.
That’s odd… it’s happening again.
@bhauman I responded on the ticket. I’m 99% certain there’s something in your project config that altered the expected load-order. This can’t happen unless piggieback was required before nREPL was loaded.
@bozhidar maybe something in my profiles.clj
, as you say when you run lein repl
in the project it works
@richiardiandrea https://github.com/nrepl/nREPL/commit/b109946f8107593a88362985d672833512632250
you are awesome thank you!
@bhauman Perhaps you’re doing something similar https://github.com/thheller/shadow-cljs/issues/360?