Sikuli gets exited on replay without any message on RHEL 5 64 bit

Bug #1308520 reported by siva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SikuliX
Opinion
Undecided
RaiMan

Bug Description

I have already installed the following software.

Python 2.7.6
Tesseract [3.02]
ffmpeg [0.7.16]
NumPy [1.8.1]
Open CV [2.3.0]
jxgrabkey-0.3.2 [ Build and copied as per https://answers.launchpad.net/sikuli/+question/152727 ]

Machine : Red hat 5 Enterprise edition - 64 bit
Java : 1.6.0_51 - 64 bit

I have used the below command

java -jar sikuli-setup.jar

to install sikuli.

Selected options 1,3,5 and 6 in the popup and clicked ok

after installation completed, I have replaced jxgrabkey as per https://answers.launchpad.net/sikuli/+question/152727.
Executed the below command in terminal.

java -jar sikuli-ide.jar
[debug] SikuliX: []
[error] Location: outside any screen (-5, 0) - subsequent actions might not work as expected

Sikuli launched successfully, I have recorded one step -> saved the script.

On pressing run button an yellow popup shows "setting up environment please wait" and exited in few seconds without showing any error or warning message.

Couldn't find any error log at any place.

Tags: rhel5
Revision history for this message
siva (dreamsivaraj) wrote :
Revision history for this message
RaiMan (raimund-hocke) wrote :

use the provided runIDE script in terminal this way

runIDE -d 3 -c

This will produce a verbose debug output and should show, what's going wrong.

Changed in sikuli:
status: New → Opinion
assignee: nobody → RaiMan (raimund-hocke)
Revision history for this message
siva (dreamsivaraj) wrote :

-jar ./sikuli-ide.jar -d 3 -c
[debug] Running on Java 6 (1.6.0_51-b11)
[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: /rhel5pdi/apollo/package/local_1/Linux-2.6c2.5-x86_64/JDK/JDK-4698.0-0/jdk1.6.0/jre/
[debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? YES: /home/sivarajr/Sikuli/1.7/
[debug] ResourceLoaderBasic: checkLibsDir: /home/sivarajr/Sikuli/1.7/libs
[debug] ResourceLoaderBasic: loadLib: JXGrabKey
[debug] ResourceLoaderBasic: loadLib: Found: JXGrabKey
[debug] ResourceLoaderBasic: loadLib: Now loaded: JXGrabKey
[debug] ResourceLoaderBasic: checkLibsDir: Using libs at: /home/sivarajr/Sikuli/1.7/libs
[debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[debug] *** monitor configuration (primary: 0) ***
[debug] Screen 0: S(0)[0,0 1855x1034]
[debug] *** end monitor configuration ***
[error] Location: outside any screen (-5, 0) - subsequent actions might not work as expected
[debug] [I18N] menuShowThumbs
[debug] ResourceLoaderBasic: loadLib: Is already loaded: JXGrabKey
[debug] Sikuli-IDE startup: 1252
[debug] MenuAction.doLoad
[debug] SikuliX Jython Support Build: 1.0.1 12SEP2013160248
[debug] SikuliEditorKit.read
[debug] ImageLocator: found 1397649925165.png in /home/sivarajr/Sikuli/1.7/tests/hello.sikuli/
[debug] FileManager: tempfile create: /tmp/sikuli-1902891673021723047.png
[debug] FileManager: tempfile create: /tmp/sikuli-2774825363056717673.py
[debug] JythonScriptRunner: : executeScriptHeader: adding SikuliX Lib path to sys.path
/home/sivarajr/Sikuli/1.7/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/sivarajr/Sikuli/1.7/libs/libVisionProxy.so: libopencv_core.so.2.4: 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 have installed opencv 2.3. The error due to opencv 2.4 not found in the machine. Please let me know 2.4 is monetary.

Thanks,

Revision history for this message
RaiMan (raimund-hocke) wrote :

I guess: You have to build the libVisionProxy.so with your library setup using the
https://launchpad.net/sikuli/sikulix/1.0.1/+download/Sikuli-1.0.1-Supplemental-LinuxVisionProxy.zip

OpenCV 2.3 principally is ok.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.