This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-06
Channels
- # admin-announcements (2)
- # beginners (7)
- # boot (99)
- # cider (2)
- # cljs-dev (50)
- # clojure (58)
- # clojure-austin (3)
- # clojure-australia (9)
- # clojure-berlin (8)
- # clojure-china (1)
- # clojure-dev (15)
- # clojurescript (183)
- # clojutre (2)
- # clr (1)
- # cursive (106)
- # datomic (25)
- # editors (5)
- # incanter (21)
- # ldnclj (47)
- # off-topic (11)
- # om (8)
- # overtone (5)
- # re-frame (28)
- # reagent (12)
- # testing (7)
the boot which installed using brew install boot-clj
has updated it's core, aether, etc dependencies and since then multiple of our projects dont run but give this error:
clojure.lang.ExceptionInfo: java.lang.NoSuchMethodError: boot.App.getClojureName()Ljava/lang/String;
data: {:file
"/var/folders/yr/3b2j3m0s3rs5_511xsvxp3v80000gp/T/boot.user3543958616418125125.clj",
:line 21}
java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: boot.App.getClojureName()Ljava/lang/String;
java.lang.NoSuchMethodError: boot.App.getClojureName()Ljava/lang/String;
boot.pod/make-pod pod.clj: 458
pandeiro.boot-http/eval280/fn boot_http.clj: 40
...
boot.user/eval333/fn boot.user3543958616418125125.clj: 19
...
clojure.core/apply core.clj: 624
boot.core/construct-tasks core.clj: 678
...
clojure.core/apply core.clj: 624
boot.core/boot/fn core.clj: 706
clojure.core/binding-conveyor-fn/fn core.clj: 1910
where line 19 is:
(deftask dev "Build se.marketplace for development." [] (comp (serve :port 3008 :reload true :handler (quote se.marketplace.api/ring-handler)) (watch)))
i will try to download the binary as the tweet mentioned it, but it would have been better if i could just upgrade from brew
oh, actually there is no binary for osx on the https://github.com/boot-clj/boot#install 😕 should i look somewhere else?
@onetom: unfortunately the new 'core' isn't compatible with the old App binary
usually @martinklepsch but technically anyone could send them a PR to bump the boot version
https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/How-To-Open-a-Homebrew-Pull-Request-(and-get-it-merged).md is the recipe
hehe, working on slides for a boot/hoplon preso tomorrow
actually last week i was in hawaii, and quite close to your timezone!
i think it's somewhere in the preferences
ah yes, Preferences > Media & links
@alandipert: it worked, thx!
is pandeiro on slack, btw, just under some other name? does he needs more convincing to switch from irc?
@onetom: glad it works! i haven't seen pandeiro in here yet
i have been really enjoying slack for work but i'm still not sure fi it's the best thing for OSS
not unsure enough to not be here though 😄
@alandipert: where are you presenting this presentation?
@micha: boot + hoplon, http://www.meetup.com/Los-Angeles-Clojure-Users-Group/events/223863686/
not sure if it's gonna be recorded or broadcast yet
@onetom: let me know if you have any questions about the brew formula or would like me to do it. Should be quick to do :)
@martinklepsch: i've never done it, so it would be great if you could
i just modified it on this one machine in the office, so that solution served the 2 of us for today at least
@onetom: will do it from the iPad now if you can paste me the sha256
Any tips on how to get CircleCI to cache boot?
@petrus I guess you could put the executable into a directory that's in cache_directories? Currently downloading every time myself
@martinklepsch: hm, i havent thought about doing it directly from the github interface, so i tried it now: https://github.com/Homebrew/homebrew/pull/42559
Hi...wondering if anyone else sees a (big) class leak when creating and destroying a pod. I've been seeing this with boot watch and boot-test. My profiling shows that none of the new classes are getting gc'd between invocations of test
by boot watch.
I'm not sure. Can't think of anything. I've tried stripping things down to a minimal build.boot with boot watch test.
I can clearly see the number of classes growing every time I trigger the watch to run test again
(core/cleanup (worker-pods :shutdown))
yes, that's what I'll show. I've stripped it down that far. Also forked boot-test and was stripping it down further. Still leaks.
@micha: here's a repo that I'm using to reproduce this: https://github.com/stephenbrady/boot-pod-leak
hoping you can find something...i've gotten way deeper into pod internals that I thought I would
later tonight if anyone is interested: https://plus.google.com/u/0/events/cecpl5mufq6rpll3d20n0d64vu8
i'm having trouble understanding why a test is failing
boot-environ is being used to set the database-url environment variable
but executing boot run-test shows the environment variable as being nil
@cddr the issue is that boot-environ does not appear to set environment variables at all
it seems to make a call to with-redefs only
possibly? i also experienced this issue with the serve task
from boot http
the solution is to use the environment, like set system properties or environment variables
oh, it also uses pods 😜
ok, so either use a bash script with export DATABASE_URL or System/setProperty?
thanks @micha
which you can set in your build.boot via system/setproperty or by providing BOOT_JVM_OPTIONS
yeah, looks like it reads system properties
thanks again, very useful