nope, I need the Java side, so an apt-get (pip installs Python modules)
I tried loading the module supplied by the python3-jpy package, which turns into an exception
2019-02-23 19:46:36.768 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception:
java.lang.UnsatisfiedLinkError: Native Library /usr/lib/python3/dist-packages/jdl.cpython-35m-arm-linux-gnueabihf.so already loaded in another classloader
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1907) ~[?:?]
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) ~[?:?]
at java.lang.Runtime.load0(Runtime.java:809) ~[?:?]
at java.lang.System.load(System.java:1086) ~[?:?]
at org.jpy.DL.<clinit>(DL.java:70) ~[?:?]
at org.jpy.PyLib.preloadPythonLib(PyLib.java:438) ~[?:?]
at org.jpy.PyLib.loadLib(PyLib.java:405) ~[?:?]
at org.jpy.PyLib.<clinit>(PyLib.java:465) ~[?:?]
at org.openhab.binding.appletv.internal.jpy.LibPyATV.<init>(LibPyATV.java:154) ~[?:?]
so it seems that openhab already loaded the jpy platform module (maybe for the Jython support). I have no clue how to marry both instances.
Could you please post your jpy and jdl files here (add a .pdf extention than itâs possible to upload them here). I have the jpy modules in the bundle so can add those for your platform (in fact itâs the same binary, but with a different filename so I expect that we donât get that exception)
/usr/local/lib/python3.6/site-packages/jpy*.so and jdl*.so