This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-07
Channels
- # announcements (35)
- # beginners (80)
- # boot (1)
- # calva (4)
- # cider (33)
- # cljdoc (40)
- # clojars (3)
- # clojure (95)
- # clojure-berlin (2)
- # clojure-europe (4)
- # clojure-italy (28)
- # clojure-nl (2)
- # clojure-seattle (1)
- # clojure-serbia (1)
- # clojure-spec (74)
- # clojure-uk (71)
- # clojurescript (29)
- # core-async (1)
- # cursive (80)
- # data-science (4)
- # datomic (17)
- # duct (75)
- # emacs (4)
- # figwheel-main (5)
- # fulcro (3)
- # jackdaw (1)
- # java (1)
- # jobs-discuss (20)
- # off-topic (32)
- # parinfer (2)
- # pathom (23)
- # re-frame (26)
- # reagent (25)
- # rum (6)
- # shadow-cljs (122)
- # speculative (4)
- # sql (17)
- # testing (7)
- # yada (8)
I have defined a private var in CLJS:
https://github.com/borkdude/speculative/blob/master/src/speculative/specs.cljc#L9
It shows up in the docs nonetheless: https://cljdoc.org/d/speculative/speculative/0.0.3-SNAPSHOT/api/speculative.specs
I’ll try adding ^:no-doc
to it, but could be a bug?
Also, cljdoc says there’s a newer version available (0.0.1) but that’s not newer (this also shows at version 0.0.2)
I’d love to preview this locally, but I’m getting:
$ ./script/cljdoc ingest -p speculative/speculative -v 0.0.3-SNAPSHOT --git /Users/Borkdude/Dropbox/dev/clojure/speculative
INFO [2019-02-07 11:10:08,932] main - cljdoc.server.system Starting :cljdoc/build-tracker
INFO [2019-02-07 11:10:08,935] main - cljdoc.server.system Starting :cljdoc/storage
INFO [2019-02-07 11:10:08,936] main - cljdoc.server.system Starting :cljdoc/analysis-service nil
ERROR [2019-02-07 11:10:09,046] clojure-agent-send-off-pool-0 - cljdoc.server.api Exception while processing speculative/speculative 0.0.3-SNAPSHOT (build 2)
java.lang.NullPointerException: null
at clojure.core$name.invokeStatic(core.clj:1587)
does 0.0.3-SNAPSHOT exist in your .m2?
yup:
$ ls ~/.m2/repository/speculative/speculative
0.0.3-SNAPSHOT maven-metadata-local.xml
Make sure you’re on master
~/git/cljdoc (master) $ git st
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
I guess this is fairly easy to reproduce locally: git clone https://github.com/borkdude/speculative and do a lein install.
Just wanted to make sure you’re on master
@borkdude and you're sure your dependencies are a-ok etc? I've had this exception a few times myself 🙂
was thinking maybe to contribute some code to make the reason clearer. the analysis runs in a separate process, if you run that directly, you'll be able to see the original stack trace at least
@christian767 FWIW cljdoc has no problem building this online.
how are you building the jar?
I had an issue with jars made by specific version of pack.alpha
ok. it works with latest pack.alpha FTR
well, then I'm out of ideas for now 🤷
my best tip is to run the analysis process directly
cd cljdoc/modules/analysis-runner
clojure -m cljdoc.analysis.runner-ng "{:project \"my/project\",:version \"0.1.2\",:jarpath \"/Users/me/projects/myproject/myproject.jar\",:pompath \"/Users/me/projects/myproject/pom.xml\",:repos {\"clojars\" {:url \""}, \"central\" {:url \""}}}"
@borkdude I can't reproduce with master
@borkdude ok, master
after I pushed the commit I just pushed
make sure you're at 8751ea7
sorry for the hassle, and thanks for coming by to report this 🙂
BTW, cljdoc crossed 10.000 builds today 🎉 https://cljdoc.org/builds
Awesome. A minor thing while building locally: https://www.dropbox.com/s/z59ydzi1xxjkq7t/Screenshot%202019-02-07%2013.02.27.png?dl=0 I.e. it tries to load a local asset, but still prefixes it with a github url
uh, yeah, want to open an issue on that?
Thanks 👍