This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-09-02
Channels
- # aleph (25)
- # announcements (17)
- # aws (2)
- # babashka (72)
- # beginners (44)
- # calva (6)
- # cider (3)
- # clj-kondo (109)
- # cljfx (1)
- # cljsrn (31)
- # clojure (151)
- # clojure-austin (1)
- # clojure-europe (36)
- # clojure-nl (5)
- # clojure-norway (2)
- # clojure-spec (17)
- # clojure-uk (12)
- # clojurescript (74)
- # cursive (57)
- # data-science (1)
- # datascript (28)
- # datomic (40)
- # depstar (15)
- # gratitude (3)
- # helix (3)
- # introduce-yourself (1)
- # joker (1)
- # kaocha (2)
- # leiningen (2)
- # lsp (70)
- # lumo (2)
- # malli (2)
- # meander (4)
- # off-topic (10)
- # polylith (27)
- # quil (4)
- # re-frame (18)
- # reagent (24)
- # ring (4)
- # rum (1)
- # shadow-cljs (102)
- # sql (2)
- # tools-deps (48)
- # web-security (8)
- # xtdb (5)
I’m experiencing the following issue: when I use several println
s in a row and evaluate the code, some of the prints are not shown in output.calva-repl
(like every second sometimes). I also see the following in the debug log which I sthink is related:
[2021-09-02 14:20:15.137] [renderer1] [error] Error: file:///.../.calva/output-window/output.calva-repl has changed in the meantime
at h.apply ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async r._performTextEdits ()
at async r.perform ()
at async n.apply ()
[2021-09-02 14:20:15.137] [renderer1] [warning] IGNORING workspace edit {}
Has anyone seen this before? What can be done to fix it?@U0ETXRFEW? Is this specific to my environment only? Evaluation of something like this:
(do (println (with-out-str (clojure.pprint/pprint ["1"])))
(println (with-out-str (clojure.pprint/pprint ["2"])))
(println (with-out-str (clojure.pprint/pprint ["3"])))
(println (with-out-str (clojure.pprint/pprint ["4"]))))
Produces outputs like:
["1"]
["3"]
["4"]
or even
["1"]
I just tried to reproduce this issue and I cannot. I get the following output with the code above:
["1"]
["2"]
["3"]
["4"]
nil
So, it likely is related to your setup somehow. If you manage to find what the issue is, I’d love to know. Maybe we can document it, or maybe there is something to fix.