Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatability with taoensso.timbre logging? #6

Open
bamarco opened this issue Jan 20, 2017 · 10 comments
Open

Compatability with taoensso.timbre logging? #6

bamarco opened this issue Jan 20, 2017 · 10 comments

Comments

@bamarco
Copy link

bamarco commented Jan 20, 2017

Hi, new to onyx. I'm using taoensso.timbre for logging which overwrites a lot of the standard sl4j logging mechanisms. When I try to run the example program I get this error:

resources/public/js/compiled/out/onyx/lifecycles/lifecycle_compile.cljc
Invalid :refer, var taoensso.timbre/error does not exist
Please see resources/public/js/compiled/out/onyx/lifecycles/lifecycle_compile.cljc

I don't know enough about the internals of lifecycle-compile to know where to start debugging.

@MichaelDrogalis
Copy link
Contributor

Hi @bamarco. Onyx also uses Timbre. It's strange that it's not finding error. What's on your classpath?

@bamarco
Copy link
Author

bamarco commented Jan 20, 2017

Both of these project classpaths fail in the same way.

file:/home/bamarco/dev/onyx-script/test/clj/
file:/home/bamarco/dev/onyx-script/test/cljc/
file:/home/bamarco/dev/onyx-script/dev/
file:/home/bamarco/dev/onyx-script/src/clj/
file:/home/bamarco/dev/onyx-script/src/cljs/
file:/home/bamarco/dev/onyx-script/src/cljc/
file:/home/bamarco/dev/onyx-script/dev-resources
file:/home/bamarco/dev/onyx-script/resources/
file:/home/bamarco/dev/onyx-script/target/classes/
file:/home/bamarco/.m2/repository/org/apache/curator/curator-client/2.9.1/curator-client-2.9.1.jar
file:/home/bamarco/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar
file:/home/bamarco/.m2/repository/com/taoensso/nippy/2.12.2/nippy-2.12.2.jar
file:/home/bamarco/.m2/repository/http-kit/http-kit/2.1.19/http-kit-2.1.19.jar
file:/home/bamarco/.m2/repository/io/replikativ/incognito/0.2.0/incognito-0.2.0.jar
file:/home/bamarco/.m2/repository/org/eclipse/jetty/jetty-http/9.2.10.v20150310/jetty-http-9.2.10.v20150310.jar
file:/home/bamarco/.m2/repository/org/clojure/java.classpath/0.2.2/java.classpath-0.2.2.jar
file:/home/bamarco/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
file:/home/bamarco/.m2/repository/org/clojure/clojure/1.8.0/clojure-1.8.0.jar
file:/home/bamarco/.m2/repository/net/incongru/watchservice/barbary-watchservice/1.0/barbary-watchservice-1.0.jar
file:/home/bamarco/.m2/repository/instaparse/instaparse/1.4.0/instaparse-1.4.0.jar
file:/home/bamarco/.m2/repository/org/choco-solver/choco-solver/3.3.3/choco-solver-3.3.3.jar
file:/home/bamarco/.m2/repository/medley/medley/0.7.3/medley-0.7.3.jar
file:/home/bamarco/.m2/repository/clj-fuzzy/clj-fuzzy/0.3.3/clj-fuzzy-0.3.3.jar
file:/home/bamarco/.m2/repository/it/unimi/dsi/fastutil/7.0.12/fastutil-7.0.12.jar
file:/home/bamarco/.m2/repository/ring/ring-devel/1.4.0/ring-devel-1.4.0.jar
file:/home/bamarco/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar
file:/home/bamarco/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar
file:/home/bamarco/.m2/repository/org/eclipse/jetty/jetty-server/9.2.10.v20150310/jetty-server-9.2.10.v20150310.jar
file:/home/bamarco/.m2/repository/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.macro/0.1.5/tools.macro-0.1.5.jar
file:/home/bamarco/.m2/repository/dk/brics/automaton/automaton/1.11-8/automaton-1.11-8.jar
file:/home/bamarco/.m2/repository/ring/ring-ssl/0.2.1/ring-ssl-0.2.1.jar
file:/home/bamarco/.m2/repository/org/clojure/core.memoize/0.5.8/core.memoize-0.5.8.jar
file:/home/bamarco/.m2/repository/com/cognitect/transit-clj/0.8.285/transit-clj-0.8.285.jar
file:/home/bamarco/.m2/repository/org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.jar
file:/home/bamarco/.m2/repository/ring/ring-codec/1.0.0/ring-codec-1.0.0.jar
file:/home/bamarco/.m2/repository/org/apache/bookkeeper/stats/bookkeeper-stats-api/4.4.0/bookkeeper-stats-api-4.4.0.jar
file:/home/bamarco/.m2/repository/ring/ring-servlet/1.4.0/ring-servlet-1.4.0.jar
file:/home/bamarco/.m2/repository/bk/ring-gzip/0.1.1/ring-gzip-0.1.1.jar
file:/home/bamarco/.m2/repository/com/google/javascript/closure-compiler-externs/v20160315/closure-compiler-externs-v20160315.jar
file:/home/bamarco/.m2/repository/org/btrplace/scheduler-api/0.46/scheduler-api-0.46.jar
file:/home/bamarco/.m2/repository/clj-time/clj-time/0.9.0/clj-time-0.9.0.jar
file:/home/bamarco/.m2/repository/net/jpountz/lz4/lz4/1.3/lz4-1.3.jar
file:/home/bamarco/.m2/repository/org/clojure/core.rrb-vector/0.0.11/core.rrb-vector-0.0.11.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.analyzer/0.6.7/tools.analyzer-0.6.7.jar
file:/home/bamarco/.m2/repository/figwheel/figwheel/0.5.4-4/figwheel-0.5.4-4.jar
file:/home/bamarco/.m2/repository/org/apache/curator/curator-test/2.9.1/curator-test-2.9.1.jar
file:/home/bamarco/.m2/repository/reagent/reagent/0.6.0-rc/reagent-0.6.0-rc.jar
file:/home/bamarco/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.analyzer.jvm/0.6.9/tools.analyzer.jvm-0.6.9.jar
file:/home/bamarco/.m2/repository/io/netty/netty/3.7.0.Final/netty-3.7.0.Final.jar
file:/home/bamarco/.m2/repository/org/clojure/clojurescript/1.9.89/clojurescript-1.9.89.jar
file:/home/bamarco/.m2/repository/org/clojure/google-closure-library/0.0-20160609-f42b4a24/google-closure-library-0.0-20160609-f42b4a24.jar
file:/home/bamarco/.m2/repository/environ/environ/1.0.3/environ-1.0.3.jar
file:/home/bamarco/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
file:/home/bamarco/.m2/repository/net/java/dev/jna/jna/3.2.7/jna-3.2.7.jar
file:/home/bamarco/.m2/repository/clojure-complete/clojure-complete/0.2.4/clojure-complete-0.2.4.jar
file:/home/bamarco/.m2/repository/args4j/args4j/2.0.26/args4j-2.0.26.jar
file:/home/bamarco/.m2/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar
file:/home/bamarco/.m2/repository/clojure-future-spec/clojure-future-spec/1.9.0-alpha14/clojure-future-spec-1.9.0-alpha14.jar
file:/home/bamarco/.m2/repository/ring-cors/ring-cors/0.1.8/ring-cors-0.1.8.jar
file:/home/bamarco/.m2/repository/prismatic/schema/1.0.5/schema-1.0.5.jar
file:/home/bamarco/.m2/repository/com/taoensso/truss/1.3.5/truss-1.3.5.jar
file:/home/bamarco/.m2/repository/com/taoensso/encore/2.79.1/encore-2.79.1.jar
file:/home/bamarco/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
file:/home/bamarco/.m2/repository/crypto-equality/crypto-equality/1.0.0/crypto-equality-1.0.0.jar
file:/home/bamarco/.m2/repository/org/apache/curator/curator-framework/2.9.1/curator-framework-2.9.1.jar
file:/home/bamarco/.m2/repository/ring/ring-jetty-adapter/1.4.0/ring-jetty-adapter-1.4.0.jar
file:/home/bamarco/.m2/repository/com/taoensso/timbre/4.7.4/timbre-4.7.4.jar
file:/home/bamarco/.m2/repository/io/aviso/pretty/0.1.30/pretty-0.1.30.jar
file:/home/bamarco/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
file:/home/bamarco/.m2/repository/org/slf4j/slf4j-nop/1.7.12/slf4j-nop-1.7.12.jar
file:/home/bamarco/.m2/repository/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar
file:/home/bamarco/.m2/repository/hiccup/hiccup/1.0.5/hiccup-1.0.5.jar
file:/home/bamarco/.m2/repository/clj-tuple/clj-tuple/0.2.2/clj-tuple-0.2.2.jar
file:/home/bamarco/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
file:/home/bamarco/.m2/repository/com/stuartsierra/dependency/0.2.0/dependency-0.2.0.jar
file:/home/bamarco/.m2/repository/com/cemerick/piggieback/0.2.1/piggieback-0.2.1.jar
file:/home/bamarco/.m2/repository/cljsjs/react-dom/15.1.0-0/react-dom-15.1.0-0.jar
file:/home/bamarco/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
file:/home/bamarco/.m2/repository/hawk/hawk/0.2.10/hawk-0.2.10.jar
file:/home/bamarco/.m2/repository/org/tukaani/xz/1.5/xz-1.5.jar
file:/home/bamarco/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/bamarco/.m2/repository/org/eclipse/jetty/jetty-io/9.2.10.v20150310/jetty-io-9.2.10.v20150310.jar
file:/home/bamarco/.m2/repository/ring/ring-core/1.4.0/ring-core-1.4.0.jar
file:/home/bamarco/.m2/repository/org/rocksdb/rocksdbjni/4.0/rocksdbjni-4.0.jar
file:/home/bamarco/.m2/repository/simple-lein-profile-merge/simple-lein-profile-merge/0.1.3/simple-lein-profile-merge-0.1.3.jar
file:/home/bamarco/.m2/repository/com/stuartsierra/component/0.3.1/component-0.3.1.jar
file:/home/bamarco/.m2/repository/io/aeron/aeron-all/1.0.4/aeron-all-1.0.4.jar
file:/home/bamarco/.m2/repository/org/onyxplatform/onyx-local-rt/0.9.15.5/onyx-local-rt-0.9.15.5.jar
file:/home/bamarco/.m2/repository/cljsjs/react-dom-server/15.1.0-0/react-dom-server-15.1.0-0.jar
file:/home/bamarco/.m2/repository/org/ow2/asm/asm-all/4.2/asm-all-4.2.jar
file:/home/bamarco/.m2/repository/fipp/fipp/0.6.5/fipp-0.6.5.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.namespace/0.2.10/tools.namespace-0.2.10.jar
file:/home/bamarco/.m2/repository/org/clojure/core.async/0.2.374/core.async-0.2.374.jar
file:/home/bamarco/.m2/repository/ring/ring-anti-forgery/1.0.0/ring-anti-forgery-1.0.0.jar
file:/home/bamarco/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
file:/home/bamarco/.m2/repository/org/javabits/jgrapht/jgrapht-core/0.9.3/jgrapht-core-0.9.3.jar
file:/home/bamarco/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
file:/home/bamarco/.m2/repository/figwheel-sidecar/figwheel-sidecar/0.5.4-4/figwheel-sidecar-0.5.4-4.jar
file:/home/bamarco/.m2/repository/ring/ring/1.4.0/ring-1.4.0.jar
file:/home/bamarco/.m2/repository/ring/ring-defaults/0.2.0/ring-defaults-0.2.0.jar
file:/home/bamarco/.m2/repository/ring/ring-headers/0.2.0/ring-headers-0.2.0.jar
file:/home/bamarco/.m2/repository/compojure/compojure/1.5.0/compojure-1.5.0.jar
file:/home/bamarco/.m2/repository/org/clojure/core.cache/0.6.4/core.cache-0.6.4.jar
file:/home/bamarco/.m2/repository/org/mozilla/rhino/1.7R5/rhino-1.7R5.jar
file:/home/bamarco/.m2/repository/crypto-random/crypto-random/1.2.0/crypto-random-1.2.0.jar
file:/home/bamarco/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar
file:/home/bamarco/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
file:/home/bamarco/.m2/repository/org/btrplace/scheduler-choco/0.46/scheduler-choco-0.46.jar
file:/home/bamarco/.m2/repository/com/cognitect/transit-java/0.8.311/transit-java-0.8.311.jar
file:/home/bamarco/.m2/repository/ns-tracker/ns-tracker/0.3.0/ns-tracker-0.3.0.jar
file:/home/bamarco/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
file:/home/bamarco/.m2/repository/cljsjs/react/15.1.0-0/react-15.1.0-0.jar
file:/home/bamarco/.m2/repository/org/onyxplatform/onyx/0.9.16-SNAPSHOT/onyx-0.9.16-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/org/clojure/data.json/0.2.6/data.json-0.2.6.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.reader/1.0.0-beta1/tools.reader-1.0.0-beta1.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.nrepl/0.2.12/tools.nrepl-0.2.12.jar
file:/home/bamarco/.m2/repository/org/msgpack/msgpack/0.6.10/msgpack-0.6.10.jar
file:/home/bamarco/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.3.2/jackson-core-2.3.2.jar
file:/home/bamarco/.m2/repository/joda-time/joda-time/2.6/joda-time-2.6.jar
file:/home/bamarco/.m2/repository/org/clojure/google-closure-library-third-party/0.0-20160609-f42b4a24/google-closure-library-third-party-0.0-20160609-f42b4a24.jar
file:/home/bamarco/.m2/repository/org/clojure/data.priority-map/0.0.4/data.priority-map-0.0.4.jar
file:/home/bamarco/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar
file:/home/bamarco/.m2/repository/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar
file:/home/bamarco/.m2/repository/org/eclipse/jetty/jetty-util/9.2.10.v20150310/jetty-util-9.2.10.v20150310.jar
file:/home/bamarco/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar
file:/home/bamarco/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar
file:/home/bamarco/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
file:/home/bamarco/.m2/repository/org/zeromq/jeromq/0.3.4/jeromq-0.3.4.jar
file:/home/bamarco/.m2/repository/com/google/javascript/closure-compiler/v20160315/closure-compiler-v20160315.jar
file:/home/bamarco/.m2/repository/clout/clout/2.1.2/clout-2.1.2.jar
file:/home/bamarco/.m2/repository/clj-stacktrace/clj-stacktrace/0.2.8/clj-stacktrace-0.2.8.jar
file:/home/bamarco/.m2/repository/com/github/cp-profiler/cpprof-java/1.1.0/cpprof-java-1.1.0.jar
file:/home/bamarco/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
file:/home/bamarco/.m2/repository/io/replikativ/hasch/0.3.1/hasch-0.3.1.jar
file:/home/bamarco/.m2/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar
file:/home/bamarco/.m2/repository/org/apache/bookkeeper/bookkeeper-server/4.4.0/bookkeeper-server-4.4.0.jar

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

file:/home/bamarco/dev/appfoolery/checkouts/datsys/test
file:/home/bamarco/dev/appfoolery/checkouts/datsys/dev/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/src/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/src/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/resources/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/libs/datsync/resources/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/target/base+system+user+dev+injections/classes/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/bench/src/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/test/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/dev/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/src/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/src/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/test/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/dev-resources
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/resources/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/resources-index/prod/
file:/home/bamarco/dev/appfoolery/checkouts/datsys/checkouts/datview/target/base+system+user+dev/classes
file:/home/bamarco/.m2/repository/clj-time/clj-time/0.11.0/clj-time-0.11.0.jar
file:/home/bamarco/.m2/repository/org/apache/curator/curator-client/2.9.1/curator-client-2.9.1.jar
file:/home/bamarco/.m2/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar
file:/home/bamarco/.m2/repository/com/taoensso/nippy/2.12.2/nippy-2.12.2.jar
file:/home/bamarco/.m2/repository/data-frisk-reagent/data-frisk-reagent/0.2.5/data-frisk-reagent-0.2.5.jar
file:/home/bamarco/.m2/repository/cljsjs/react-with-addons/0.14.3-0/react-with-addons-0.14.3-0.jar
file:/home/bamarco/.m2/repository/com/datomic/datomic-lucene-core/3.3.0/datomic-lucene-core-3.3.0.jar
file:/home/bamarco/.m2/repository/io/replikativ/incognito/0.2.0/incognito-0.2.0.jar
file:/home/bamarco/.m2/repository/com/taoensso/timbre/4.7.0/timbre-4.7.0.jar
file:/home/bamarco/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
file:/home/bamarco/.m2/repository/org/apache/tomcat/tomcat-juli/7.0.27/tomcat-juli-7.0.27.jar
file:/home/bamarco/.m2/repository/org/flatland/classlojure/0.7.0/classlojure-0.7.0.jar
file:/home/bamarco/.m2/repository/org/msgpack/msgpack/0.6.12/msgpack-0.6.12.jar
file:/home/bamarco/.m2/repository/org/slf4j/jul-to-slf4j/1.7.7/jul-to-slf4j-1.7.7.jar
file:/home/bamarco/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar
file:/home/bamarco/.m2/repository/org/ow2/asm/asm-util/4.1/asm-util-4.1.jar
file:/home/bamarco/.m2/repository/instaparse/instaparse/1.4.0/instaparse-1.4.0.jar
file:/home/bamarco/.m2/repository/lein-as-resource/lein-as-resource/2.5.0/lein-as-resource-2.5.0.jar
file:/home/bamarco/.m2/repository/org/tcrawley/dynapath/0.2.3/dynapath-0.2.3.jar
file:/home/bamarco/.m2/repository/com/h2database/h2/1.3.171/h2-1.3.171.jar
file:/home/bamarco/.m2/repository/doo/doo/0.1.7-SNAPSHOT/doo-0.1.7-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/io/rkn/conformity/0.4.0/conformity-0.4.0.jar
file:/home/bamarco/.m2/repository/org/choco-solver/choco-solver/3.3.3/choco-solver-3.3.3.jar
file:/home/bamarco/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
file:/home/bamarco/.m2/repository/clj-fuzzy/clj-fuzzy/0.3.3/clj-fuzzy-0.3.3.jar
file:/home/bamarco/.m2/repository/it/unimi/dsi/fastutil/7.0.12/fastutil-7.0.12.jar
file:/home/bamarco/.m2/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar
file:/home/bamarco/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar
file:/home/bamarco/.m2/repository/com/andrewmcveigh/cljs-time/0.5.0-alpha1/cljs-time-0.5.0-alpha1.jar
file:/home/bamarco/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.7/jcl-over-slf4j-1.7.7.jar
file:/home/bamarco/.m2/repository/net/sf/trove4j/trove4j/3.0.3/trove4j-3.0.3.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.macro/0.1.5/tools.macro-0.1.5.jar
file:/home/bamarco/.m2/repository/org/hornetq/hornetq-commons/2.3.17.Final/hornetq-commons-2.3.17.Final.jar
file:/home/bamarco/.m2/repository/dk/brics/automaton/automaton/1.11-8/automaton-1.11-8.jar
file:/home/bamarco/.m2/repository/ring/ring-ssl/0.2.1/ring-ssl-0.2.1.jar
file:/home/bamarco/.m2/repository/org/clojure/core.memoize/0.5.8/core.memoize-0.5.8.jar
file:/home/bamarco/.m2/repository/org/clojure/clojure/1.9.0-alpha7/clojure-1.9.0-alpha7.jar
file:/home/bamarco/.m2/repository/org/ow2/asm/asm/4.1/asm-4.1.jar
file:/home/bamarco/.m2/repository/org/slf4j/slf4j-api/1.7.12/slf4j-api-1.7.12.jar
file:/home/bamarco/.m2/repository/simple-lein-profile-merge/simple-lein-profile-merge/0.1.3/simple-lein-profile-merge-0.1.3.jar
file:/home/bamarco/.m2/repository/com/cognitect/transit-cljs/0.8.239/transit-cljs-0.8.239.jar
file:/home/bamarco/.m2/repository/org/apache/bookkeeper/stats/bookkeeper-stats-api/4.4.0/bookkeeper-stats-api-4.4.0.jar
file:/home/bamarco/.m2/repository/datreactor/datreactor/0.0.1-alpha1-SNAPSHOT/datreactor-0.0.1-alpha1-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/ring/ring-codec/1.0.1/ring-codec-1.0.1.jar
file:/home/bamarco/.m2/repository/datview/datview/0.0.1-alpha2-SNAPSHOT/datview-0.0.1-alpha2-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/sablono/sablono/0.4.0/sablono-0.4.0.jar
file:/home/bamarco/.m2/repository/org/codehaus/janino/commons-compiler/2.6.1/commons-compiler-2.6.1.jar
file:/home/bamarco/.m2/repository/ring/ring-defaults/0.2.1/ring-defaults-0.2.1.jar
file:/home/bamarco/.m2/repository/org/btrplace/scheduler-api/0.46/scheduler-api-0.46.jar
file:/home/bamarco/.m2/repository/net/jpountz/lz4/lz4/1.3/lz4-1.3.jar
file:/home/bamarco/.m2/repository/com/cognitect/transit-clj/0.8.288/transit-clj-0.8.288.jar
file:/home/bamarco/.m2/repository/org/apache/curator/curator-test/2.9.1/curator-test-2.9.1.jar
file:/home/bamarco/.m2/repository/reagent/reagent/0.6.0-rc/reagent-0.6.0-rc.jar
file:/home/bamarco/.m2/repository/com/datomic/datomic-free/0.9.5372/datomic-free-0.9.5372.jar
file:/home/bamarco/.m2/repository/org/hornetq/hornetq-journal/2.3.17.Final/hornetq-journal-2.3.17.Final.jar
file:/home/bamarco/.m2/repository/re-com/re-com/0.8.3/re-com-0.8.3.jar
file:/home/bamarco/.m2/repository/org/ow2/asm/asm-tree/4.1/asm-tree-4.1.jar
file:/home/bamarco/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
file:/home/bamarco/.m2/repository/ring-cors/ring-cors/0.1.8/ring-cors-0.1.8.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.analyzer/0.6.9/tools.analyzer-0.6.9.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.analyzer.jvm/0.6.9/tools.analyzer.jvm-0.6.9.jar
file:/home/bamarco/.m2/repository/org/hornetq/hornetq-server/2.3.17.Final/hornetq-server-2.3.17.Final.jar
file:/home/bamarco/.m2/repository/com/google/javascript/closure-compiler-externs/v20160315/closure-compiler-externs-v20160315.jar
file:/home/bamarco/.m2/repository/posh/posh/0.5.5/posh-0.5.5.jar
file:/home/bamarco/.m2/repository/environ/environ/1.0.3/environ-1.0.3.jar
file:/home/bamarco/.m2/repository/net/cgrand/regex/1.1.0/regex-1.1.0.jar
file:/home/bamarco/.m2/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar
file:/home/bamarco/.m2/repository/net/java/dev/jna/jna/3.2.7/jna-3.2.7.jar
file:/home/bamarco/.m2/repository/org/clojure/math.combinatorics/0.1.1/math.combinatorics-0.1.1.jar
file:/home/bamarco/.m2/repository/org/jboss/logging/jboss-logging/3.1.0.GA/jboss-logging-3.1.0.GA.jar
file:/home/bamarco/.m2/repository/clojure-complete/clojure-complete/0.2.4/clojure-complete-0.2.4.jar
file:/home/bamarco/.m2/repository/org/clojure/jvm.tools.analyzer/0.6.1/jvm.tools.analyzer-0.6.1.jar
file:/home/bamarco/.m2/repository/args4j/args4j/2.0.26/args4j-2.0.26.jar
file:/home/bamarco/.m2/repository/org/clojure/core.unify/0.5.3/core.unify-0.5.3.jar
file:/home/bamarco/.m2/repository/org/slf4j/log4j-over-slf4j/1.7.7/log4j-over-slf4j-1.7.7.jar
file:/home/bamarco/.m2/repository/org/clojure/core.async/0.2.382/core.async-0.2.382.jar
file:/home/bamarco/.m2/repository/org/apache/commons/commons-math/2.2/commons-math-2.2.jar
file:/home/bamarco/.m2/repository/clojure-future-spec/clojure-future-spec/1.9.0-alpha14/clojure-future-spec-1.9.0-alpha14.jar
file:/home/bamarco/.m2/repository/servant/servant/0.1.5/servant-0.1.5.jar
file:/home/bamarco/.m2/repository/com/taoensso/truss/1.3.4/truss-1.3.4.jar
file:/home/bamarco/.m2/repository/com/cemerick/piggieback/0.2.1/piggieback-0.2.1.jar
file:/home/bamarco/.m2/repository/datsync/datsync/0.0.1-alpha1-SNAPSHOT/datsync-0.0.1-alpha1-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/medley/medley/0.8.2/medley-0.8.2.jar
file:/home/bamarco/.m2/repository/org/clojure/core.typed/0.3.23/core.typed-0.3.23.jar
file:/home/bamarco/.m2/repository/hawk/hawk/0.2.10/hawk-0.2.10.jar
file:/home/bamarco/.m2/repository/karma-reporter/karma-reporter/0.1.0/karma-reporter-0.1.0.jar
file:/home/bamarco/.m2/repository/org/parboiled/parboiled-java/1.1.6/parboiled-java-1.1.6.jar
file:/home/bamarco/.m2/repository/crypto-equality/crypto-equality/1.0.0/crypto-equality-1.0.0.jar
file:/home/bamarco/.m2/repository/org/apache/curator/curator-framework/2.9.1/curator-framework-2.9.1.jar
file:/home/bamarco/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
file:/home/bamarco/.m2/repository/com/rpl/specter/0.9.1/specter-0.9.1.jar
file:/home/bamarco/.m2/repository/leinjacker/leinjacker/0.4.2/leinjacker-0.4.2.jar
file:/home/bamarco/.m2/repository/com/cemerick/clojurescript.test/0.0.4/clojurescript.test-0.0.4.jar
file:/home/bamarco/.m2/repository/org/clojure/google-closure-library-third-party/0.0-20160609-f42b4a24/google-closure-library-third-party-0.0-20160609-f42b4a24.jar
file:/home/bamarco/.m2/repository/org/clojure/google-closure-library/0.0-20160609-f42b4a24/google-closure-library-0.0-20160609-f42b4a24.jar
file:/home/bamarco/.m2/repository/org/slf4j/slf4j-nop/1.7.12/slf4j-nop-1.7.12.jar
file:/home/bamarco/.m2/repository/com/cognitect/transit-js/0.8.846/transit-js-0.8.846.jar
file:/home/bamarco/.m2/repository/alembic/alembic/0.3.2/alembic-0.3.2.jar
file:/home/bamarco/.m2/repository/cljsjs/showdown/0.4.0-1/showdown-0.4.0-1.jar
file:/home/bamarco/.m2/repository/com/googlecode/json-simple/json-simple/1.1.1/json-simple-1.1.1.jar
file:/home/bamarco/.m2/repository/hiccup/hiccup/1.0.5/hiccup-1.0.5.jar
file:/home/bamarco/.m2/repository/prismatic/plumbing/0.5.2/plumbing-0.5.2.jar
file:/home/bamarco/.m2/repository/cljs-react-reload/cljs-react-reload/0.1.1/cljs-react-reload-0.1.1.jar
file:/home/bamarco/.m2/repository/clj-tuple/clj-tuple/0.2.2/clj-tuple-0.2.2.jar
file:/home/bamarco/.m2/repository/org/hornetq/hornetq-core-client/2.3.17.Final/hornetq-core-client-2.3.17.Final.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.nrepl/0.2.12/tools.nrepl-0.2.12.jar
file:/home/bamarco/.m2/repository/cljsjs/react/0.14.0-1/react-0.14.0-1.jar
file:/home/bamarco/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
file:/home/bamarco/.m2/repository/com/stuartsierra/dependency/0.2.0/dependency-0.2.0.jar
file:/home/bamarco/.m2/repository/re-frame/re-frame/0.9.1/re-frame-0.9.1.jar
file:/home/bamarco/.m2/repository/cljsjs/react-dom/15.1.0-0/react-dom-15.1.0-0.jar
file:/home/bamarco/.m2/repository/com/lucasbradstreet/cljs-uuid-utils/1.0.2/cljs-uuid-utils-1.0.2.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.logging/0.3.1/tools.logging-0.3.1.jar
file:/home/bamarco/.m2/repository/org/tukaani/xz/1.5/xz-1.5.jar
file:/home/bamarco/.m2/repository/datascript/datascript/0.15.0/datascript-0.15.0.jar
file:/home/bamarco/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar
file:/home/bamarco/.m2/repository/com/google/javascript/closure-compiler/v20160315/closure-compiler-v20160315.jar
file:/home/bamarco/.m2/repository/io/netty/netty/3.6.7.Final/netty-3.6.7.Final.jar
file:/home/bamarco/.m2/repository/org/webjars/bootstrap/3.3.5/bootstrap-3.3.5.jar
file:/home/bamarco/.m2/repository/com/cemerick/austin/0.1.4/austin-0.1.4.jar
file:/home/bamarco/.m2/repository/markdown-clj/markdown-clj/0.9.89/markdown-clj-0.9.89.jar
file:/home/bamarco/.m2/repository/org/clojure/core.typed.rt/0.3.23/core.typed.rt-0.3.23.jar
file:/home/bamarco/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
file:/home/bamarco/.m2/repository/net/cgrand/sjacket/0.1.1/sjacket-0.1.1.jar
file:/home/bamarco/.m2/repository/org/fressian/fressian/0.6.5/fressian-0.6.5.jar
file:/home/bamarco/.m2/repository/com/taoensso/encore/2.68.1/encore-2.68.1.jar
file:/home/bamarco/.m2/repository/org/rocksdb/rocksdbjni/4.0/rocksdbjni-4.0.jar
file:/home/bamarco/.m2/repository/figwheel-sidecar/figwheel-sidecar/0.5.5-SNAPSHOT/figwheel-sidecar-0.5.5-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/org/ow2/asm/asm-analysis/4.1/asm-analysis-4.1.jar
file:/home/bamarco/.m2/repository/com/stuartsierra/component/0.3.1/component-0.3.1.jar
file:/home/bamarco/.m2/repository/io/aeron/aeron-all/1.0.4/aeron-all-1.0.4.jar
file:/home/bamarco/.m2/repository/org/pegdown/pegdown/1.4.2/pegdown-1.4.2.jar
file:/home/bamarco/.m2/repository/de/kotka/lazymap/3.1.0/lazymap-3.1.0.jar
file:/home/bamarco/.m2/repository/org/onyxplatform/onyx-local-rt/0.9.15.5/onyx-local-rt-0.9.15.5.jar
file:/home/bamarco/.m2/repository/cljsjs/react-dom-server/15.1.0-0/react-dom-server-15.1.0-0.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.namespace/0.2.11/tools.namespace-0.2.11.jar
file:/home/bamarco/.m2/repository/figwheel/figwheel/0.5.5-SNAPSHOT/figwheel-0.5.5-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/ring/ring-anti-forgery/1.0.1/ring-anti-forgery-1.0.1.jar
file:/home/bamarco/.m2/repository/org/ow2/asm/asm-all/4.2/asm-all-4.2.jar
file:/home/bamarco/.m2/repository/org/parboiled/parboiled-core/1.1.6/parboiled-core-1.1.6.jar
file:/home/bamarco/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
file:/home/bamarco/.m2/repository/org/javabits/jgrapht/jgrapht-core/0.9.3/jgrapht-core-0.9.3.jar
file:/home/bamarco/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar
file:/home/bamarco/.m2/repository/org/clojure/data.json/0.2.6/data.json-0.2.6.jar
file:/home/bamarco/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.cli/0.2.2/tools.cli-0.2.2.jar
file:/home/bamarco/.m2/repository/http-kit/http-kit/2.1.19/http-kit-2.1.19.jar
file:/home/bamarco/.m2/repository/adzerk/boot-cljs/1.7.228-1/boot-cljs-1.7.228-1.jar
file:/home/bamarco/.m2/repository/ring/ring-headers/0.2.0/ring-headers-0.2.0.jar
file:/home/bamarco/.m2/repository/compojure/compojure/1.5.0/compojure-1.5.0.jar
file:/home/bamarco/.m2/repository/org/clojure/core.match/0.3.0-alpha4/core.match-0.3.0-alpha4.jar
file:/home/bamarco/.m2/repository/devcards/devcards/0.2.1/devcards-0.2.1.jar
file:/home/bamarco/.m2/repository/org/clojure/core.cache/0.6.4/core.cache-0.6.4.jar
file:/home/bamarco/.m2/repository/crypto-random/crypto-random/1.2.0/crypto-random-1.2.0.jar
file:/home/bamarco/.m2/repository/org/clojure/clojurescript/1.9.76/clojurescript-1.9.76.jar
file:/home/bamarco/.m2/repository/ring/ring-core/1.5.0/ring-core-1.5.0.jar
file:/home/bamarco/.m2/repository/org/btrplace/scheduler-choco/0.46/scheduler-choco-0.46.jar
file:/home/bamarco/.m2/repository/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar
file:/home/bamarco/.m2/repository/org/mozilla/rhino/1.7R5/rhino-1.7R5.jar
file:/home/bamarco/.m2/repository/org/onyxplatform/onyx/0.9.16-SNAPSHOT/onyx-0.9.16-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/funcool/boot-codeina/0.1.0-SNAPSHOT/boot-codeina-0.1.0-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/org/clojure/tools.reader/1.0.0-beta1/tools.reader-1.0.0-beta1.jar
file:/home/bamarco/.m2/repository/org/codehaus/janino/commons-compiler-jdk/2.6.1/commons-compiler-jdk-2.6.1.jar
file:/home/bamarco/.m2/repository/slingshot/slingshot/0.12.2/slingshot-0.12.2.jar
file:/home/bamarco/.m2/repository/io/aviso/pretty/0.1.28/pretty-0.1.28.jar
file:/home/bamarco/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.3.2/jackson-core-2.3.2.jar
file:/home/bamarco/.m2/repository/net/cgrand/parsley/0.9.3/parsley-0.9.3.jar
file:/home/bamarco/.m2/repository/org/clojure/data.priority-map/0.0.4/data.priority-map-0.0.4.jar
file:/home/bamarco/.m2/repository/org/javassist/javassist/3.18.1-GA/javassist-3.18.1-GA.jar
file:/home/bamarco/.m2/repository/org/clojure/core.contracts/0.0.4/core.contracts-0.0.4.jar
file:/home/bamarco/.m2/repository/commons-fileupload/commons-fileupload/1.3.1/commons-fileupload-1.3.1.jar
file:/home/bamarco/.m2/repository/bidi/bidi/2.0.9/bidi-2.0.9.jar
file:/home/bamarco/.m2/repository/net/incongru/watchservice/barbary-watchservice/1.0/barbary-watchservice-1.0.jar
file:/home/bamarco/.m2/repository/prismatic/schema/1.1.3/schema-1.1.3.jar
file:/home/bamarco/.m2/repository/testdouble/clojurescript.csv/0.2.0/clojurescript.csv-0.2.0.jar
file:/home/bamarco/.m2/repository/org/webjars/jquery/1.11.1/jquery-1.11.1.jar
file:/home/bamarco/.m2/repository/com/cognitect/transit-java/0.8.313/transit-java-0.8.313.jar
file:/home/bamarco/.m2/repository/org/apache/tomcat/tomcat-jdbc/7.0.27/tomcat-jdbc-7.0.27.jar
file:/home/bamarco/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar
file:/home/bamarco/.m2/repository/commons-codec/commons-codec/1.5/commons-codec-1.5.jar
file:/home/bamarco/.m2/repository/joda-time/joda-time/2.8.2/joda-time-2.8.2.jar
file:/home/bamarco/.m2/repository/org/zeromq/jeromq/0.3.4/jeromq-0.3.4.jar
file:/home/bamarco/.m2/repository/clout/clout/2.1.2/clout-2.1.2.jar
file:/home/bamarco/.m2/repository/com/taoensso/sente/1.8.1/sente-1.8.1.jar
file:/home/bamarco/.m2/repository/clj-stacktrace/clj-stacktrace/0.2.8/clj-stacktrace-0.2.8.jar
file:/home/bamarco/.m2/repository/datspec/datspec/0.0.1-alpha1-SNAPSHOT/datspec-0.0.1-alpha1-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/com/github/cp-profiler/cpprof-java/1.1.0/cpprof-java-1.1.0.jar
file:/home/bamarco/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
file:/home/bamarco/.m2/repository/io/replikativ/hasch/0.3.1/hasch-0.3.1.jar
file:/home/bamarco/.m2/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar
file:/home/bamarco/.m2/repository/strictly-specking-standalone/strictly-specking-standalone/0.1.0-SNAPSHOT/strictly-specking-standalone-0.1.0-SNAPSHOT.jar
file:/home/bamarco/.m2/repository/org/apache/bookkeeper/bookkeeper-server/4.4.0/bookkeeper-server-4.4.0.jar

@bamarco
Copy link
Author

bamarco commented Jan 20, 2017

This is the code where I'm running from one of the projects:

(ns onyx-script.core
  (:require [reagent.core :as reagent :refer [atom]]
            [onyx-local-rt.api :as onyx]))

(enable-console-print!)

(defonce app-state (atom {:text "Hello Chestnut!"}))

(:require )

;; ^:export the function if using in ClojureScript.
(defn ^:export my-inc [segment]
  (update-in segment [:n] inc))

(def job
  {:workflow [[:in :inc] [:inc :out]]
   :catalog [{:onyx/name :in
              :onyx/type :input
              :onyx/batch-size 20}
             {:onyx/name :inc
              :onyx/type :function
              :onyx/fn ::my-inc
              :onyx/batch-size 20}
             {:onyx/name :out
              :onyx/type :output
              :onyx/batch-size 20}]
   :lifecycles []})

(pprint
 (-> (onyx/init job)
     (onyx/new-segment :in {:n 41})
     (onyx/new-segment :in {:n 84})
     (onyx/drain)
     (onyx/stop)
     (onyx/env-summary)))

(defn greeting []
  [:h1 (:text @app-state)])

(reagent/render [greeting] (js/document.getElementById "app"))

@MichaelDrogalis
Copy link
Contributor

With the local-rt dependency removed, are you able to bring in the function taoensso.timbre/error? If you can get me a minimum repository that exhibits the problem, I'm happy to try and diagnose it further. Hard to tell what's going on, even with the classpaths. Thanks for providing though.

@bamarco
Copy link
Author

bamarco commented Jan 20, 2017

Okay so it works just fine in a clojure only environment. When I do a simple lein new figwheel onyx-proj and add [org.onyxplatform/onyx-local-rt "0.9.15.5"] it fails but with a different error (also when I start changing the dependencies in my main project the error starts flipping to various problems). I think we've got a dependency problem with the most recent figwheel. The new error is

Could not Analyze resources/public/js/compiled/out/onyx/spec.cljc
No such namespace: clojure.future, could not locate clojure/future.cljs, clojure/future.cljc, or Closure namespace "clojure.future"
Please see resources/public/js/compiled/out/onyx/spec.cljc

and the dependencies are:

[[org.clojure/clojure "1.8.0"]
 [org.clojure/clojurescript "1.9.229"]
 [org.onyxplatform/onyx-local-rt "0.9.15.5"]
 [org.clojure/core.async "0.2.391"
    :exclusions [org.clojure/tools.reader]]]

I think the problem is either clojurescript version or the tools exclusion the former being more likely.

@MichaelDrogalis
Copy link
Contributor

Ah, yes. We've seen this before. This should do the trick:

#5

@bamarco
Copy link
Author

bamarco commented Jan 20, 2017

Ah okay. I think there's a way to do the same thing in project.clj (similar problems in the dat.sys dependency chain). I'll let you know if I figure it out.

@bamarco
Copy link
Author

bamarco commented Jan 20, 2017

I got it working with these changes:
onyx-platform/onyx#729

@MichaelDrogalis
Copy link
Contributor

Great, thanks! I'll take a look soon.

@MichaelDrogalis
Copy link
Contributor

@bamarco Merged in the PR. We're coming closer towards moving from the 0.9.x release series to 0.10x, so we weren't planned to cut another 0.9. If you'd like, I can do it so you can point onyx-local-rt to use that version - or if you'd like to use your own version that's fine too. Let me know what I can do to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants