lobos icon indicating copy to clipboard operation
lobos copied to clipboard

Lobos uses a non-existent function in Clojure 1.5

Open ghost opened this issue 11 years ago • 1 comments

Lobos attempts to use a function getRoot that doesn't exist in clojure 1.3-1.5

To recreate, create a lein project using Clojure 1.5 and lobos 0.8.0 Then start a REPL and attempt to use lobos.

user=> (use 'lobos.connectivity #=> 'lobos.core #=> 'lobos.schema) Warning: default-encoding not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic default-encoding or change the name. Warning: buffer-size not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic buffer-size or change the name. Warning: byte-array-type not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic byte-array-type or change the name. Warning: char-array-type not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic char-array-type or change the name. Warning: append not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic append or change the name. Warning: db not declared dynamic and thus is not dynamically rebindable, but its name suggests otherwise. Please either indicate ^:dynamic db or change the name. IllegalArgumentException No matching field found: getRoot for class clojure.lang.Var clojure.lang.Reflector.getInstanceField (Reflector.java:289)

ghost avatar Mar 11 '13 23:03 ghost

Try using lobos 1.0.0-beta1. This fixed the problem for me.

peterschwarz avatar Nov 12 '13 16:11 peterschwarz