← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #139341]: java.lang.UnsatisfiedLinkError: edu.mit.csail.uid.VisionProxyJNI.Vision_initOCR(Ljava/lang/String; )V

 

Question #139341 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/139341

thomas kessler posted a new comment:
Am running Sikuli on EL6 Linux 64 and recorded something to start. Went
to playback and got a link error:

[sikuli] Stopped
[sikuli] An error occurs at line 1
[sikuli] Error message:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/fahome/tkessler/sikuli/sikuli-script.jar/Lib/sikuli/Sikuli.py", line 18, in <module>
java.lang.UnsatisfiedLinkError: /home/fahome/tkessler/sikuli/tmplib/libScreenMatchProxy.so: libcv.so.4: cannot open shared object file: No such file or directory
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
	at java.lang.Runtime.load0(Runtime.java:770)
	at java.lang.System.load(System.java:1003)
	at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
	at edu.mit.csail.uid.Finder.<clinit>(Finder.java:16)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at org.python.core.SyspathJavaLoader.loadClass(SyspathJavaLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
	at org.python.core.Py.findClassEx(Py.java:817)
	at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:133)
	at org.python.core.packagecache.PackageManager.findClass(PackageManager.java:28)
	at org.python.core.packagecache.SysPackageManager.findClass(SysPackageManager.java:122)
	at org.python.core.PyJavaPackage.__findattr_ex__(PyJavaPackage.java:137)
	at org.python.core.PyObject.__findattr__(PyObject.java:869)
	at org.python.core.imp.import_name(imp.java:771)
	at org.python.core.imp.importName(imp.java:806)
	at org.python.core.ImportFunction.__call__(__builtin__.java:1232)
	at org.python.core.PyObject.__call__(PyObject.java:367)
	at org.python.core.__builtin__.__import__(__builtin__.java:1202)
	at org.python.core.imp.importFromAs(imp.java:884)
	at org.python.core.imp.importFrom(imp.java:860)
	at sikuli.Sikuli$py.f$0(/home/fahome/tkessler/sikuli/sikuli-script.jar/Lib/sikuli/Sikuli.py:165)
	at sikuli.Sikuli$py.call_function(/home/fahome/tkessler/sikuli/sikuli-script.jar/Lib/sikuli/Sikuli.py)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyCode.call(PyCode.java:18)
	at org.python.core.imp.createFromCode(imp.java:326)
	at org.python.core.util.importer.importer_load_module(importer.java:109)
	at org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter.java:161)
	at org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__call__(Unknown Source)
	at org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:47)
	at org.python.core.imp.loadFromLoader(imp.java:451)
	at org.python.core.imp.find_module(imp.java:408)
	at org.python.core.PyModule.impAttr(PyModule.java:109)
	at org.python.core.imp.import_next(imp.java:637)
	at org.python.core.imp.import_logic(imp.java:699)
	at org.python.core.imp.import_name(imp.java:761)
	at org.python.core.imp.importName(imp.java:806)
	at org.python.core.ImportFunction.__call__(__builtin__.java:1232)
	at org.python.core.PyObject.__call__(PyObject.java:367)
	at org.python.core.__builtin__.__import__(__builtin__.java:1202)
	at org.python.core.__builtin__.__import__(__builtin__.java:1185)
	at org.python.core.imp.importAll(imp.java:904)
	at org.python.pycode._pyx2.f$0(<string>:1)
	at org.python.pycode._pyx2.call_function(<string>)
	at org.python.core.PyTableCode.call(PyTableCode.java:165)
	at org.python.core.PyCode.call(PyCode.java:18)
	at org.python.core.Py.runCode(Py.java:1204)
	at org.python.core.Py.exec(Py.java:1248)
	at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
	at edu.mit.csail.uid.ScriptRunner.runPython(ScriptRunner.java:52)
	at edu.mit.csail.uid.SikuliIDE$ButtonRun.runPython(SikuliIDE.java:1238)
	at edu.mit.csail.uid.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:1336)

java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError:
/home/fahome/tkessler/sikuli/tmplib/libScreenMatchProxy.so: libcv.so.4:
cannot open shared object file: No such file or directory

~~~~~~~~~~~~

Opened up the /home/fahome/tkessler/sikuli/sikuli-
script.jar/Lib/sikuli/Sikuli.py file in Ark and noticed all kinds of
edu.nit.csail references. Do I need to replace these to
"org.sikuli.script" like you mentioned above?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.