This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-11
Channels
- # admin-announcements (9)
- # arachne (1)
- # boot (125)
- # cider (5)
- # clara (34)
- # cljs-dev (11)
- # cljsjs (19)
- # clojure (164)
- # clojure-greece (7)
- # clojure-nl (2)
- # clojure-russia (5)
- # clojure-spec (3)
- # clojurescript (28)
- # clojurex (4)
- # core-async (3)
- # cursive (2)
- # datomic (3)
- # hoplon (268)
- # jobs (4)
- # keechma (2)
- # lambdaisland (1)
- # lein-figwheel (5)
- # leiningen (5)
- # off-topic (3)
- # om (3)
- # onyx (16)
- # re-frame (5)
- # reagent (31)
- # robots (1)
- # spacemacs (3)
- # specter (89)
- # untangled (1)
- # yada (26)
@aaelony: Scroll up a bit, someone asked that a few messages before you. That's a bug in BookKeeper reconnecting to ZooKeeper too quickly.
We lobbied for a fix a while ago, not sure how seriously it was taken. It's hard to get quick turn around on problems in Apache projects.
Try clearing your /tmp
folder of bookeeper*
@devth: Thanks! 🙂 Lots more to come this summer!
I'm trying to read a result out of a core async channel in a test. I'm expecting it to be a Datomic entity, which I prn
just fine in my function/task, but if I try to: (prn (<!! out))
or (prn (first (take-segments! out)))
at the end of my test, I see this exception which I don't recognize:
{:type :reader, :throwable #error {
:cause "No implementation of method: :read-char of protocol: #'clojure.tools.reader.reader-types/Reader found for class: java.lang.String"
:via
[{:type clojure.lang.ExceptionInfo
:message "No implementation of method: :read-char of protocol: #'clojure.tools.reader.reader-types/Reader found for class: java.lang.String"
:data {:type :reader-exception}
:at [clojure.core$ex_info invokeStatic "core.clj" 4617]}
{:type java.lang.IllegalArgumentException
:message "No implementation of method: :read-char of protocol: #'clojure.tools.reader.reader-types/Reader found for class: java.lang.String"
:at [clojure.core$_cache_protocol_fn invokeStatic "core_deftype.clj" 568]}]
Do I need to do something special to pull a result out?Ah, if I count
it it looks like there are 3 results. One of my intermediate fns returns a collection – I thought it'd treat each of those collection items as a separate segment.
@devn: You can only send Clojure maps between tasks.
You can return a vector of maps, which get unrolled and passed one by one downstream
List of maps should work too. I'd consider that a bug
Ah, yeah, that'd do it