← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #246515]: Slow down execution when running via jenkins

 

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

    Status: Answered => Open

Mujeebu Rahman is still having a problem:
Hi RaiMan,

Getting below exception upon running the script using sikuli-script.jar
file,

Terminal Command:

java -jar sikuli-script.jar -i
/Users/mujeebu.a/.jenkins/jobs/TalentPerformance/workspace/Performance_TalentPlanning.sikuli


Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Users/mujeebu.a/Desktop/sikuli-script.jar/Lib/sikuli/__init__.py", line 3, in <module>
  File "/Users/mujeebu.a/Desktop/sikuli-script.jar/Lib/sikuli/Sikuli.py", line 22, in <module>
java.lang.UnsatisfiedLinkError: /Applications/Sikuli-IDE.app/Contents/Frameworks/libVisionProxy.jnilib:  Library not loaded: /usr/local/lib/libopencv_core.2.2.dylib   Referenced from: /Applications/Sikuli-IDE.app/Contents/Frameworks/libVisionProxy.jnilib   Reason: image not found
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1833)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
	at java.lang.Runtime.load0(Runtime.java:770)
	at java.lang.System.load(System.java:1019)
	at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
	at org.sikuli.script.Finder.<clinit>(Finder.java:33)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:249)
	at org.python.core.Py.loadAndInitClass(Py.java:895)
	at org.python.core.Py.findClassInternal(Py.java:830)
	at org.python.core.Py.findClassEx(Py.java:881)
	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:863)
	at org.python.core.imp.import_name(imp.java:849)
	at org.python.core.imp.importName(imp.java:884)
	at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
	at org.python.core.PyObject.__call__(PyObject.java:357)
	at org.python.core.__builtin__.__import__(__builtin__.java:1173)
	at org.python.core.imp.importFromAs(imp.java:978)
	at org.python.core.imp.importFrom(imp.java:954)
	at sikuli.Sikuli$py.f$0(/Users/mujeebu.a/Desktop/sikuli-script.jar/Lib/sikuli/Sikuli.py:211)
	at sikuli.Sikuli$py.call_function(/Users/mujeebu.a/Desktop/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:386)
	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:513)
	at org.python.core.imp.find_module(imp.java:467)
	at org.python.core.PyModule.impAttr(PyModule.java:100)
	at org.python.core.imp.import_next(imp.java:715)
	at org.python.core.imp.import_name(imp.java:824)
	at org.python.core.imp.importName(imp.java:884)
	at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
	at org.python.core.PyObject.__call__(PyObject.java:357)
	at org.python.core.__builtin__.__import__(__builtin__.java:1173)
	at org.python.core.imp.importAll(imp.java:998)
	at sikuli$py.f$0(/Users/mujeebu.a/Desktop/sikuli-script.jar/Lib/sikuli/__init__.py:3)
	at sikuli$py.call_function(/Users/mujeebu.a/Desktop/sikuli-script.jar/Lib/sikuli/__init__.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:386)
	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:513)
	at org.python.core.imp.find_module(imp.java:467)
	at org.python.core.imp.import_next(imp.java:713)
	at org.python.core.imp.import_name(imp.java:824)
	at org.python.core.imp.importName(imp.java:884)
	at org.python.core.ImportFunction.__call__(__builtin__.java:1220)
	at org.python.core.PyObject.__call__(PyObject.java:357)
	at org.python.core.__builtin__.__import__(__builtin__.java:1173)
	at org.python.core.imp.importAll(imp.java:998)
	at org.python.pycode._pyx0.f$0(<string>:1)
	at org.python.pycode._pyx0.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:1261)
	at org.python.core.Py.exec(Py.java:1305)
	at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)
	at org.python.util.jython.run(jython.java:280)
	at org.python.util.jython.main(jython.java:129)
	at org.sikuli.script.SikuliScript.startInteractiveMode(SikuliScript.java:93)
	at org.sikuli.script.SikuliScript.main(SikuliScript.java:106)

java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError:
/Applications/Sikuli-IDE.app/Contents/Frameworks/libVisionProxy.jnilib:
Library not loaded: /usr/local/lib/libopencv_core.2.2.dylib   Referenced
from: /Applications/Sikuli-
IDE.app/Contents/Frameworks/libVisionProxy.jnilib   Reason: image not
found

Regards,
Mujeebu Rahman.

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