Public bug reported: I have read many posts with similar questions and I have tried to use them as a guide but I have been unable to overcome my issue with trying to get Sikuli to work on CentOS 6.x.
>From what I can tell this is an issue with Tesseract but I can't figure out how to correct it. I have performed the following thus far...: Installed CentOS 6.x Installed some prereqs (dev tools, gcc, cmake, etc) Installed OpenCV 2.2 Installed Leptonica Installed Tesseract 3.02.02 Installed Sikuli 1.0.1 When I run ./runIDE -d 3 -c I get the following output: running SikuliX-IDE: -Xmx512M -Dapple.laf.useScreenMenuBar -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar ./sikuli-ide.jar -d 3 -c [debug] Running on Java 7 (1.7.0_45-mockbuild_2013_11_22_18_30-b00) [debug] --- Sikuli parameters --- [debug] 1: -d [debug] 2: 3 [debug] 3: -c [debug] init user preferences [debug] locale: en_US [debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242 [debug] ResourceLoaderBasic: check: we are running on arch: amd64 [debug] ResourceLoaderBasic: check: using Java at: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.45.x86_64/jre/ [debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? YES: /home/user/Sikuli/ [debug] ResourceLoaderBasic: checkLibsDir: /home/user/Sikuli/libs [debug] ResourceLoaderBasic: loadLib: JXGrabKey [debug] ResourceLoaderBasic: loadLib: Found: JXGrabKey [debug] ResourceLoaderBasic: loadLib: Now loaded: JXGrabKey [debug] ResourceLoaderBasic: checkLibsDir: Using libs at: /home/user/Sikuli/libs [debug] Screen: initScreens: basic initialization (1 Screen(s) found) [debug] *** monitor configuration (primary: 0) *** [debug] Screen 0: S(0)[0,0 1583x687] [debug] *** end monitor configuration *** [debug] [I18N] menuShowThumbs [debug] ResourceLoaderBasic: loadLib: Is already loaded: JXGrabKey [debug] Sikuli-IDE startup: 1519 [debug] MenuAction.doLoad [debug] SikuliX Jython Support Build: 1.0.1 12SEP2013160248 [debug] SikuliEditorKit.read [debug] ImageLocator: found 1405605172817.png in /home/user/Desktop/test.sikuli/ [debug] FileManager: tempfile create: /tmp/sikuli-4166345826942410403.png [debug] FileManager: tempfile create: /tmp/sikuli-4490415893266343011.py [debug] JythonScriptRunner: : executeScriptHeader: adding SikuliX Lib path to sys.path /home/user/Sikuli/sikuli-ide.jar/Lib [debug] Jython: sikuli: __init__: entering [debug] Jython: sikuli: Sikuli: entering [debug] Jython: sikuli: Sikuli: constants [debug] Jython: sikuli: Sikuli: import Region [debug] Jython: sikuli: Sikuli: import Screen [debug] Jython: sikuli: Sikuli: Env.addHotkey [debug] Jython: sikuli: Sikuli: import Match [debug] Jython: sikuli: Sikuli: import Pattern [debug] Jython: sikuli: Sikuli: import Location [debug] Jython: sikuli: Sikuli: import ScreenUnion [debug] Jython: sikuli: Sikuli: import Finder [debug] ResourceLoaderBasic: loadLib: VisionProxy [debug] ResourceLoaderBasic: loadLib: Found: VisionProxy [error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: libVisionProxy.so [error] ResourceLoaderBasic: loadLib: Since native library was found, it might be a problem with needed dependent libraries /home/user/Sikuli/libs/libVisionProxy.so: libtesseract.so.3: cannot open shared object file: No such file or directory [error] Terminating SikuliX after a fatal error(110)! Sorry, but it makes no sense to continue! If you do not have any idea about the error cause or solution, run again with a Debug level of 3. You might paste the output to the Q&A board. [debug] SikuliXFinal: cleanUp: 0 I then tried running the ./makeVisionProxy and then copied the libVisionProxy.so as the README stated but no change. Thanks in advance ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1349255 Title: CentOS: how to setup SikuliX --- a script should be available Status in Sikuli: New Bug description: I have read many posts with similar questions and I have tried to use them as a guide but I have been unable to overcome my issue with trying to get Sikuli to work on CentOS 6.x. From what I can tell this is an issue with Tesseract but I can't figure out how to correct it. I have performed the following thus far...: Installed CentOS 6.x Installed some prereqs (dev tools, gcc, cmake, etc) Installed OpenCV 2.2 Installed Leptonica Installed Tesseract 3.02.02 Installed Sikuli 1.0.1 When I run ./runIDE -d 3 -c I get the following output: running SikuliX-IDE: -Xmx512M -Dapple.laf.useScreenMenuBar -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar ./sikuli-ide.jar -d 3 -c [debug] Running on Java 7 (1.7.0_45-mockbuild_2013_11_22_18_30-b00) [debug] --- Sikuli parameters --- [debug] 1: -d [debug] 2: 3 [debug] 3: -c [debug] init user preferences [debug] locale: en_US [debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242 [debug] ResourceLoaderBasic: check: we are running on arch: amd64 [debug] ResourceLoaderBasic: check: using Java at: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.45.x86_64/jre/ [debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? YES: /home/user/Sikuli/ [debug] ResourceLoaderBasic: checkLibsDir: /home/user/Sikuli/libs [debug] ResourceLoaderBasic: loadLib: JXGrabKey [debug] ResourceLoaderBasic: loadLib: Found: JXGrabKey [debug] ResourceLoaderBasic: loadLib: Now loaded: JXGrabKey [debug] ResourceLoaderBasic: checkLibsDir: Using libs at: /home/user/Sikuli/libs [debug] Screen: initScreens: basic initialization (1 Screen(s) found) [debug] *** monitor configuration (primary: 0) *** [debug] Screen 0: S(0)[0,0 1583x687] [debug] *** end monitor configuration *** [debug] [I18N] menuShowThumbs [debug] ResourceLoaderBasic: loadLib: Is already loaded: JXGrabKey [debug] Sikuli-IDE startup: 1519 [debug] MenuAction.doLoad [debug] SikuliX Jython Support Build: 1.0.1 12SEP2013160248 [debug] SikuliEditorKit.read [debug] ImageLocator: found 1405605172817.png in /home/user/Desktop/test.sikuli/ [debug] FileManager: tempfile create: /tmp/sikuli-4166345826942410403.png [debug] FileManager: tempfile create: /tmp/sikuli-4490415893266343011.py [debug] JythonScriptRunner: : executeScriptHeader: adding SikuliX Lib path to sys.path /home/user/Sikuli/sikuli-ide.jar/Lib [debug] Jython: sikuli: __init__: entering [debug] Jython: sikuli: Sikuli: entering [debug] Jython: sikuli: Sikuli: constants [debug] Jython: sikuli: Sikuli: import Region [debug] Jython: sikuli: Sikuli: import Screen [debug] Jython: sikuli: Sikuli: Env.addHotkey [debug] Jython: sikuli: Sikuli: import Match [debug] Jython: sikuli: Sikuli: import Pattern [debug] Jython: sikuli: Sikuli: import Location [debug] Jython: sikuli: Sikuli: import ScreenUnion [debug] Jython: sikuli: Sikuli: import Finder [debug] ResourceLoaderBasic: loadLib: VisionProxy [debug] ResourceLoaderBasic: loadLib: Found: VisionProxy [error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: libVisionProxy.so [error] ResourceLoaderBasic: loadLib: Since native library was found, it might be a problem with needed dependent libraries /home/user/Sikuli/libs/libVisionProxy.so: libtesseract.so.3: cannot open shared object file: No such file or directory [error] Terminating SikuliX after a fatal error(110)! Sorry, but it makes no sense to continue! If you do not have any idea about the error cause or solution, run again with a Debug level of 3. You might paste the output to the Q&A board. [debug] SikuliXFinal: cleanUp: 0 I then tried running the ./makeVisionProxy and then copied the libVisionProxy.so as the README stated but no change. Thanks in advance To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1349255/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp