← Back to team overview

sikuli-driver team mailing list archive

[Question #265833]: Encountered exception using focus() in RedHat 6.4

 

New question #265833 on Sikuli:
https://answers.launchpad.net/sikuli/+question/265833

Using SikuliX-1.0.1 on RedHat 6.4.   Got an exception when calling focus():

term1 = App.open("gnome-terminal")
term1.focus()

Messages:
[log] openApp: gnome-terminal
[log] App.open gnome-terminal(31741)
[log] App.focus gnome-terminal(31741) #0
[error] script [ test ] stopped with error in line 14
[error] java.lang.ArrayIndexOutOfBoundsException ( java.lang.ArrayIndexOutOfBoundsException: 0 )

I tried the window version and worked fine.  I'm new to Linux.  I don't know if If installed Sikuli correctly, or there is some limitation in the LInux version.  I installed opencv-2.4.10, tesseract-3.2.2, leptonica-1.68, and wmctrl-1.07.  Appreciate if anyone can help.

John

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