Hi!, so I've been building an Inmoov and so far It's been great but now that I'm trying to make the Kinect work with it, it doesn't.

When I use the commands to start OpenNi and start capturing I get an Error. The Kinect is working, I tested it with the Kinect Toolkit and even with standalone OpenNi.

I tried installing and uninstalling drivers, renaming folders in the libraries but I just get the same error everytime.

I'm on Windows 10 Pro 64bit.

This is the error:

------Traceback (most recent call last):  
File string, line 41, in module  File InMoov/system/InitCheckup.py, line 49, in module    
execfile(RuningFolder+services/+filename.encode(utf8))  
File C:/mrl/myrobotlab.1.0.2693.16/InMoov/services/E_OpenNI.py, line 62, in module    
i01.startOpenNI()
at SimpleOpenNI.ContextWrapper.getcwd(ContextWrapper.java:67)
at SimpleOpenNI.SimpleOpenNI.start(SimpleOpenNI.java:275)
at org.myrobotlab.service.OpenNi.initContext(OpenNi.java:718)
at org.myrobotlab.service.OpenNi.startService(OpenNi.java:872)
at org.myrobotlab.framework.Service.startPeer(Service.java:1887)
at org.myrobotlab.service.InMoov.startOpenNI(InMoov.java:1411)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: Could not initialize class SimpleOpenNI.SimpleOpenNIJNI
at org.python.core.Py.JavaError(Py.java:546)
at org.python.core.Py.JavaError(Py.java:537)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:188)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
at org.python.core.PyObject.__call__(PyObject.java:461)
at org.python.core.PyObject.__call__(PyObject.java:465)
at org.python.core.PyMethod.__call__(PyMethod.java:126)
at org.python.pycode._pyx69.f$0(C:/mrl/myrobotlab.1.0.2693.16/InMoov/services/E_OpenNI.py:63)
at org.python.pycode._pyx69.call_function(C:/mrl/myrobotlab.1.0.2693.16/InMoov/services/E_OpenNI.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
at org.python.core.__builtin__.execfile(__builtin__.java:512)
at org.python.core.__builtin__.execfile(__builtin__.java:543)
at org.python.core.BuiltinFunctions.__call__(__builtin__.java:88)
at org.python.core.PyObject.__call__(PyObject.java:465)
at org.python.pycode._pyx4.f$0(InMoov/system/InitCheckup.py:124)
at org.python.pycode._pyx4.call_function(InMoov/system/InitCheckup.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386)
at org.python.core.__builtin__.execfile_flags(__builtin__.java:535)
at org.python.core.__builtin__.execfile(__builtin__.java:512)
at org.python.core.__builtin__.execfile(__builtin__.java:543)
at org.python.core.BuiltinFunctions.__call__(__builtin__.java:88)
at org.python.core.PyObject.__call__(PyObject.java:465)
at org.python.pycode._pyx2.f$0(string:76)
at org.python.pycode._pyx2.call_function(string)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1386) at org.python.core.Py.exec(Py.java:1430)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:267)
at org.myrobotlab.service.Python$PIThread.run(Python.java:160)Caused by: java.lang.NoClassDefFoundError: Could not initialize class SimpleOpenNI.SimpleOpenNIJNI
at SimpleOpenNI.ContextWrapper.getcwd(ContextWrapper.java:67)
at SimpleOpenNI.SimpleOpenNI.start(SimpleOpenNI.java:275)
at org.myrobotlab.service.OpenNi.initContext(OpenNi.java:718)
at org.myrobotlab.service.OpenNi.startService(OpenNi.java:872)
at org.myrobotlab.framework.Service.startPeer(Service.java:1887)
at org.myrobotlab.service.InMoov.startOpenNI(InMoov.java:1411)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source) at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
... 32 more------
 
 
I haven't modified any of the scripts present in the error. And even tried on fresh installs of MRL.
 
Any Idea on how to get this working?
 
Thanks in advance!

hairygael

4 years 10 months ago

Hello,

Make sure you have the Java 7 or 8, for 64 bits version, maybe that could be the reason.