datomic

Ask questions on the official Q&A site at https://ask.datomic.com!
dogenpunk 2020-11-05T19:10:46.327600Z

Has anyone run into this error using the datomic CLI?

Syntax error (FileNotFoundException) compiling at (clojure/core/async/impl/ioc_macros.clj:1:1).
Could not locate clojure/tools/analyzer__init.class, clojure/tools/analyzer.clj or clojure/tools/analyzer.cljc on classpath.
I’m coming back to a datomic cloud project after ~8mo. The datomic script loads tools.ops version 0.10.82. Seems to only occur if I run datomic commands from my project directory, so I assume this is an issue with the project deps.edn.

alexmiller 2020-11-05T19:55:38.328400Z

you might need to update to latest version of the clojure tools (clj) - there were some dependency issues in past versions that would prevent necessary transitive deps from being included in the classpath

alexmiller 2020-11-05T19:56:11.328600Z

the error above could definitely be a sign of that

dogenpunk 2020-11-05T20:21:05.328700Z

Hmmm… clojure -h reports version is 1.10.1.727 which seems to be the latest. This is obviously not critical as I can just run from outside the project directory. I’m mostly worried that I screwed something up when upgrading datomic, ions, etc. Thanks for the help though!

alexmiller 2020-11-05T21:11:44.329Z

yep, that should be the latest

alexmiller 2020-11-05T21:12:38.329900Z

if you want to ask at https://ask.datomic.com that would be a good place to file a question - would be helpful to include exactly what you ran (and your deps.edn if relevant)

dogenpunk 2020-11-08T12:17:19.345200Z

Thanks, Alex. I’ll do that.