You are not logged in.

#1 2012-03-05 21:18:22

sputnick
Member
From: Near Paris
Registered: 2009-05-27
Posts: 40

sikuli and opencv.old : PKGBUILD is broken since Fri, 09 Dec 2011

Hi,

related to this PKGBUILD, we can read :

Commenté par: Ito sur Fri, 09 Dec 2011 17:58:01 +0000
Sorry, sikuli-ide and opencv-old are broken again...I'm looking for a solution

sikuli is a great known application for image pattern matching, and it's missing a lot.

My sikuli errors when I try to match a capture :

Traceback (most recent call last): File " ", line 1, in   File "/opt/sikuli-ide/sikuli-script.jar/Lib/sikuli/__init__.py", line 3, in   File "/opt/sikuli-ide/sikuli-script.jar/Lib/sikuli/Sikuli.py", line 22, in   java.lang.UnsatisfiedLinkError: /tmp/tmplib/libVisionProxy.so: libpng14.so.14: 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:1750) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646) at java.lang.Runtime.load0(Runtime.java:787) at java.lang.System.load(System.java:1022) at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44) at org.sikuli.script.Finder. (Finder.java:33) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) 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(/opt/sikuli-ide/sikuli-script.jar/Lib/sikuli/Sikuli.py:211) at sikuli.Sikuli$py.call_function(/opt/sikuli-ide/s 
ikuli-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(/opt/sikuli-ide/sikuli-script.jar/Lib/sikuli/__init__.py:3) at sikuli$py.call_function(/opt/sikuli-ide/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.ImportFun 
ction.__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._pyx2.f$0( :1) at org.python.pycode._pyx2.call_function( ) 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.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:61) at org.sikuli.ide.SikuliIDE$ButtonRun.runPython(SikuliIDE.java:1572) at org.sikuli.ide.SikuliIDE$ButtonRun$1.run(SikuliIDE.java:1677)  java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: /tmp/tmplib/libVisionProxy.so: libpng14.so.14: cannot open shared object file: No such file or directory

Note the

libpng14.so.14: cannot open shared object file: No such file or directory

I've seen http://www.archlinux.org/news/libpnglib … m-testing/ so I've upgraded
- pacman -Q | grep "^cairo"
- libpng libpng12 libtiff
- packer -S sikuli-ide

sikuli rebuilt & restart with the same problem.

Last edited by sputnick (2012-03-07 05:43:09)

Offline

#2 2012-03-05 21:27:00

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: sikuli and opencv.old : PKGBUILD is broken since Fri, 09 Dec 2011

There's no need to use bold font like that, it's almost as bad as using CAPS.

After upgrading the libs, you need to rebuild sikuli, not just restart it.

Also, just noticed it's an orphan - you should consider adopting and maintaining it yourself.

Last edited by tomk (2012-03-05 21:28:44)

Offline

#3 2012-03-05 21:56:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: sikuli and opencv.old : PKGBUILD is broken since Fri, 09 Dec 2011

When pasting code, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It's generally better to paste the whole log + another snippet with just the important part, both using the code tags.

Last edited by karol (2012-03-05 21:58:18)

Offline

#4 2012-03-05 23:42:26

sputnick
Member
From: Near Paris
Registered: 2009-05-27
Posts: 40

Re: sikuli and opencv.old : PKGBUILD is broken since Fri, 09 Dec 2011

tomk wrote:

After upgrading the libs, you need to rebuild sikuli, not just restart it.

Also, just noticed it's an orphan - you should consider adopting and maintaining it yourself.

That was rebuilt.

I will check what can I do, maybe I will maintain it if I or someone understand what's wrong.

Edit: opencv-old have to be rebuilt, but it fails hmm That was not done before.

Problem : this PKGBUILD is also orphaned...

opencv-old is really difficult to compile. I have had tried last year without sucess for a project, I have had used python numpy+PIL instead.

Last edited by sputnick (2012-03-06 00:06:15)

Offline

#5 2012-03-07 05:44:01

sputnick
Member
From: Near Paris
Registered: 2009-05-27
Posts: 40

Re: sikuli and opencv.old : PKGBUILD is broken since Fri, 09 Dec 2011

Anyone ?

Offline

#6 2012-03-07 09:13:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: sikuli and opencv.old : PKGBUILD is broken since Fri, 09 Dec 2011

Offline

#7 2012-03-07 16:37:13

sputnick
Member
From: Near Paris
Registered: 2009-05-27
Posts: 40

Re: sikuli and opencv.old : PKGBUILD is broken since Fri, 09 Dec 2011

Yes Karol.

I think this apllication should move to community !
If it's binary, it's easyer to share.
Compile is really tricky.

Any Trusted User here having the sikuli binaries to share ?

Offline

Board footer

Powered by FluxBB