Fork me on GitHub
#kaocha
<
2020-06-03
>
jmayaalv18:06:19

Good day 🙂 i’ve just took the risk to update all my dependendies and getting this werid error when running kaocha

Exception: clojure.lang.ArityException: Wrong number of args (2) passed to: clojure.tools.reader/read
 at clojure.lang.AFn.throwArity (AFn.java:429)
    ...
    lambdaisland.tools.namespace.parse$read_ns_decl.invokeStatic (parse.cljc:55)
    lambdaisland.tools.namespace.parse$read_ns_decl.invoke (parse.cljc:39)
    lambdaisland.tools.namespace.file$read_file_ns_decl.invokeStatic (file.clj:25)
    lambdaisland.tools.namespace.file$read_file_ns_decl.invoke (file.clj:17)
    lambdaisland.tools.namespace.find$find_ns_decls_in_dir$fn__4514.invoke (find.clj:78)
i am using deps, any pointers? App starts and i can run the test manually (passing) from cider.

plexus18:06:11

Hmmm yeah I feel like I've seen that, I think the arity of that function changed at some point. Make sure you're using the version of tools reader that Kaocha depends on

jmayaalv18:06:58

checked that and seems kaocha uses the latest. Will dig further. thanks @plexus

jmayaalv21:06:01

removing .cpcache solved my problem

jmayaalv21:06:15

¯\(ツ)

borkdude21:06:34

Using -Sforce may also help next time

👍 4