← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #251000]: Sikuli 1.1 / JRuby on Ubuntu 12.0.4, Can't find images in currently active window

 

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

Description changed to:
I recently installed Sikuli 1.1 with JRuby on Ubuntu 12.0.4.4, I
followed the setup described here for the Ruby gem:
https://github.com/rssdev10/SikuliX-2014/tree/ruby/JRubyGem

I installed using the second option in the sikulixsetup-1.1.jar

I have a pretty basic program that is supposed to click on the Firefox
on the Unity Launcher and then click on my gmail bookmark icon, here's
the gist: https://gist.github.com/nozpheratu/89b0eb238a9158dac07a

For whatever reason, Sikuli only seems to be able to detect images in my
Unity Launcher, it can detect and click on my Firefox or THunderbird
icons no problem. However, it seems nothing inside of the currently
active window can be read by Sikuli. I don't think it's an issue with
the image not showing up in time before the search gets executed, as
I've tried various combinations of wait and sleep commands to no effect.
Additionally, I don't think it's an issue with the particular image I'm
using, as I've tried multiple images of varying sizes in multiple
applications. Anything outside of the main Unity menus simply fails to
get detected.

Here's the error message that gets raised, I'm not sure what the "
S(0)[0,0 1920x1080]" bit represents:

org.sikuli.script.FindFailed: can not find /home/cyle/development/jruby
/sikuli-test/images/inbox.png in S(0)[0,0 1920x1080]


Am I missing a step somewhere in my gist?

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