This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-06-15
Channels
- # aws-lambda (6)
- # beginners (8)
- # cider (12)
- # cljs-dev (12)
- # cljsrn (9)
- # clojars (2)
- # clojure (161)
- # clojure-berlin (9)
- # clojure-italy (10)
- # clojure-russia (18)
- # clojure-spec (20)
- # clojure-uk (18)
- # clojurescript (37)
- # cursive (13)
- # data-science (1)
- # datomic (23)
- # flambo (2)
- # hoplon (22)
- # immutant (11)
- # jobs (1)
- # klipse (11)
- # leiningen (5)
- # liberator (7)
- # luminus (5)
- # lumo (3)
- # off-topic (28)
- # om (8)
- # onyx (15)
- # parinfer (111)
- # pedestal (21)
- # re-frame (6)
- # reagent (38)
- # rum (4)
- # spacemacs (2)
- # specter (34)
- # unrepl (122)
- # untangled (3)
- # vim (1)
- # yada (8)
@vladclj You can pass the request arbitrary arguments via :http-output/args
.
@lucasbradstreet Lol - just upgrading my onyx version fixed the problem…. haha sweet
Oh nice!
I have a new question though that I’ve encountered before. I’ve gotten my environment humming, I successfully submit a job, and it fails because the fns I have referenced in the catalog aren’t found. Previously I kinda did a side-run around it by :require’ing them in the namespace that used component to fire up Onyx. In that project (with every class gen-classed) it picked it up and life was grand. Now though, that’s not working no matter where I put the :require (totally not a proper fix I know). Worse, no classes are being generated. I’ve got an empty target directory. I’m sure I’m missing something basic - any ideas?
“clojure.lang.ExceptionInfo: Handling uncaught exception thrown inside task lifecycle :lifecycle/compiling. Killing the job. -> Exception type: clojure.lang.ExceptionInfo. Exception message: Could not resolve symbol on the classpath, did you require the file that contains the symbol”
Generally we find it’s enough if you require from the ns which contains your main entry point, and starts up your peers
That’s the one that we usually gen-class
Hmmm guess not. It’s a bit unclear because Onyx is being ‘hot loaded’ from a runtime executed clj namespace by reference in arachne when you tell it to start. That makes identifying a ‘main’ harder. I added the require into the ns that spins up arachne (which spins up onyx as a component) which is the closest thing to a main as its called in my test. No joy.