cnuernber / libjulia-clj

Julia bindings for Clojure -- Currently somewhat unstable --
MIT License
112 stars 1 forks source link

Incompatible to dtype-next 10.x #9

Open subes opened 3 months ago

subes commented 3 months ago

Any chance to get libjulia-clj upgraded so that it works with latest dtype-next 10.x? Seems like jvm_map is not there anymore. Still works with dtype-next 9.x

java.lang.RuntimeException: Syntax error macroexpanding at (libjulia_clj/impl/ffi.clj:1:1).
    at de.invesdwin.util.concurrent.future.Futures.get(Futures.java:57)
    at de.invesdwin.util.concurrent.future.Futures.getNoInterrupt(Futures.java:116)
    at de.invesdwin.util.concurrent.future.Futures.waitNoInterrupt(Futures.java:358)
    at de.invesdwin.context.julia.runtime.libjuliaclj.internal.InitializingJuliaEngineWrapper.maybeInit(InitializingJuliaEngineWrapper.java:44)
    at de.invesdwin.context.julia.runtime.libjuliaclj.internal.InitializingJuliaEngineWrapper.getInstance(InitializingJuliaEngineWrapper.java:436)
    at de.invesdwin.context.julia.runtime.libjuliaclj.LibjuliacljScriptTaskRunnerJulia.run(LibjuliacljScriptTaskRunnerJulia.java:36)
    at de.invesdwin.context.julia.runtime.contract.AScriptTaskJulia.run(AScriptTaskJulia.java:12)
    at de.invesdwin.context.julia.runtime.contract.callback.SimpleCallbackTest.testSimpleCallback(SimpleCallbackTest.java:86)
    at de.invesdwin.context.julia.runtime.libjuliaclj.LibjuliacljScriptTaskRunnerJuliaTest.testSimpleCallback(LibjuliacljScriptTaskRunnerJuliaTest.java:41)
    at java.base/java.lang.reflect.Method.invoke(Method.java:569)
    at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
    at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Caused by: Syntax error macroexpanding at (libjulia_clj/impl/ffi.clj:1:1).
    at clojure.lang.Compiler.load(Compiler.java:7665)
    at clojure.lang.RT.loadResourceScript(RT.java:381)
    at clojure.lang.RT.loadResourceScript(RT.java:372)
    at clojure.lang.RT.load(RT.java:459)
    at clojure.lang.RT.load(RT.java:424)
    at clojure.core$load$fn__6908.invoke(core.clj:6162)
    at clojure.core$load.invokeStatic(core.clj:6161)
    at clojure.core$load.doInvoke(core.clj:6145)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at clojure.core$load_one.invokeStatic(core.clj:5934)
    at clojure.core$load_one.invoke(core.clj:5929)
    at clojure.core$load_lib$fn__6850.invoke(core.clj:5976)
    at clojure.core$load_lib.invokeStatic(core.clj:5975)
    at clojure.core$load_lib.doInvoke(core.clj:5954)
    at clojure.lang.RestFn.applyTo(RestFn.java:142)
    at clojure.core$apply.invokeStatic(core.clj:669)
    at clojure.core$load_libs.invokeStatic(core.clj:6017)
    at clojure.core$load_libs.doInvoke(core.clj:6001)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at clojure.core$apply.invokeStatic(core.clj:669)
    at clojure.core$require.invokeStatic(core.clj:6039)
    at clojure.core$require.doInvoke(core.clj:6039)
    at clojure.lang.RestFn.invoke(RestFn.java:2422)
    at libjulia_clj.impl.base$eval9748$loading__6789__auto____9749.invoke(base.clj:1)
    at libjulia_clj.impl.base$eval9748.invokeStatic(base.clj:1)
    at libjulia_clj.impl.base$eval9748.invoke(base.clj:1)
    at clojure.lang.Compiler.eval(Compiler.java:7194)
    at clojure.lang.Compiler.eval(Compiler.java:7183)
    at clojure.lang.Compiler.load(Compiler.java:7653)
    at clojure.lang.RT.loadResourceScript(RT.java:381)
    at clojure.lang.RT.loadResourceScript(RT.java:372)
    at clojure.lang.RT.load(RT.java:459)
    at clojure.lang.RT.load(RT.java:424)
    at clojure.core$load$fn__6908.invoke(core.clj:6162)
    at clojure.core$load.invokeStatic(core.clj:6161)
    at clojure.core$load.doInvoke(core.clj:6145)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at clojure.core$load_one.invokeStatic(core.clj:5934)
    at clojure.core$load_one.invoke(core.clj:5929)
    at clojure.core$load_lib$fn__6850.invoke(core.clj:5976)
    at clojure.core$load_lib.invokeStatic(core.clj:5975)
    at clojure.core$load_lib.doInvoke(core.clj:5954)
    at clojure.lang.RestFn.applyTo(RestFn.java:142)
    at clojure.core$apply.invokeStatic(core.clj:669)
    at clojure.core$load_libs.invokeStatic(core.clj:6017)
    at clojure.core$load_libs.doInvoke(core.clj:6001)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at clojure.core$apply.invokeStatic(core.clj:669)
    at clojure.core$require.invokeStatic(core.clj:6039)
    at clojure.core$require.doInvoke(core.clj:6039)
    at clojure.lang.RestFn.invoke(RestFn.java:703)
    at libjulia_clj.julia$eval9742$loading__6789__auto____9743.invoke(julia.clj:1)
    at libjulia_clj.julia$eval9742.invokeStatic(julia.clj:1)
    at libjulia_clj.julia$eval9742.invoke(julia.clj:1)
    at clojure.lang.Compiler.eval(Compiler.java:7194)
    at clojure.lang.Compiler.eval(Compiler.java:7183)
    at clojure.lang.Compiler.load(Compiler.java:7653)
    at clojure.lang.RT.loadResourceScript(RT.java:381)
    at clojure.lang.RT.loadResourceScript(RT.java:372)
    at clojure.lang.RT.load(RT.java:459)
    at clojure.lang.RT.load(RT.java:424)
    at clojure.core$load$fn__6908.invoke(core.clj:6162)
    at clojure.core$load.invokeStatic(core.clj:6161)
    at clojure.core$load.doInvoke(core.clj:6145)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at clojure.core$load_one.invokeStatic(core.clj:5934)
    at clojure.core$load_one.invoke(core.clj:5929)
    at clojure.core$load_lib$fn__6850.invoke(core.clj:5976)
    at clojure.core$load_lib.invokeStatic(core.clj:5975)
    at clojure.core$load_lib.doInvoke(core.clj:5954)
    at clojure.lang.RestFn.applyTo(RestFn.java:142)
    at clojure.core$apply.invokeStatic(core.clj:669)
    at clojure.core$load_libs.invokeStatic(core.clj:6017)
    at clojure.core$load_libs.doInvoke(core.clj:6001)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at clojure.core$apply.invokeStatic(core.clj:669)
    at clojure.core$require.invokeStatic(core.clj:6039)
    at clojure.core$require.doInvoke(core.clj:6039)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at clojure.lang.Var.invoke(Var.java:384)
    at libjulia_clj.java_api$fn__142$fn__143.invoke(java_api.clj:29)
    at clojure.lang.Delay.deref(Delay.java:42)
    at clojure.core$deref.invokeStatic(core.clj:2337)
    at clojure.core$deref.invoke(core.clj:2323)
    at libjulia_clj.java_api$_initialize.invokeStatic(java_api.clj:33)
    at libjulia_clj.java_api$_initialize.invoke(java_api.clj:33)
    at libjulia_clj.java_api.initialize(Unknown Source)
    at de.invesdwin.context.julia.runtime.libjuliaclj.internal.UncheckedJuliaEngineWrapper.init(UncheckedJuliaEngineWrapper.java:67)
    at de.invesdwin.util.concurrent.internal.WrappedRunnable.run(WrappedRunnable.java:49)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
    at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
    at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:76)
    at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at de.invesdwin.util.concurrent.internal.WrappedThreadFactory.lambda$0(WrappedThreadFactory.java:49)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.base/java.lang.Thread.run(Thread.java:840)
Caused by: java.io.FileNotFoundException: Could not locate tech/v3/datatype/jvm_map__init.class, tech/v3/datatype/jvm_map.clj or tech/v3/datatype/jvm_map.cljc on classpath. Please check that namespaces with daCaused by: java.io.FileNotFoundException: Could not locate tech/v3/datatype/jvm_map__init.class, tech/v3/datatype/jvm_map.clj or tech/v3/datatype/jvm_map.cljc on classpath. Please check that namespaces with dashes use underscores in the Clojure file name.shes use underscores in the Clojure file name.
    at clojure.lang.RT.load(RT.java:462)
    at clojure.lang.RT.load(RT.java:424)
    at clojure.core$load$fn__6908.invoke(core.clj:6162)
    at clojure.core$load.invokeStatic(core.clj:6161)
    at clojure.core$load.doInvoke(core.clj:6145)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at clojure.core$load_one.invokeStatic(core.clj:5934)
    at clojure.core$load_one.invoke(core.clj:5929)
    at clojure.core$load_lib$fn__6850.invoke(core.clj:5976)
    at clojure.core$load_lib.invokeStatic(core.clj:5975)
    at clojure.core$load_lib.doInvoke(core.clj:5954)
    at clojure.lang.RestFn.applyTo(RestFn.java:142)
    at clojure.core$apply.invokeStatic(core.clj:669)
    at clojure.core$load_libs.invokeStatic(core.clj:6017)
    at clojure.core$load_libs.doInvoke(core.clj:6001)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at clojure.core$apply.invokeStatic(core.clj:669)
    at clojure.core$require.invokeStatic(core.clj:6039)
    at clojure.core$require.doInvoke(core.clj:6039)
    at clojure.lang.RestFn.invoke(RestFn.java:1523)
    at libjulia_clj.impl.ffi$eval12088$loading__6789__auto____12089.invoke(ffi.clj:1)
    at libjulia_clj.impl.ffi$eval12088.invokeStatic(ffi.clj:1)
    at libjulia_clj.impl.ffi$eval12088.invoke(ffi.clj:1)
    at clojure.lang.Compiler.eval(Compiler.java:7194)
    at clojure.lang.Compiler.eval(Compiler.java:7183)
    at clojure.lang.Compiler.load(Compiler.java:7653)
    ... 97 more