← Back to team overview

sikuli-driver team mailing list archive

[Question #708110]: Wait not working, bug?

 

New question #708110 on SikuliX:
https://answers.launchpad.net/sikuli/+question/708110

I know this looks like a dumb question, but I'm genuinely stumped. When the program gets to the region.wait() command, it's not finding the image. I've tried everything I can think of. I've messed with the tolerances 0.1 thru 1 and I've changed the wait time to 30 seconds (it's a 40 px image in like a 50 by 50 region). I've verified the program can find it using region.find() when the icon is already on the screen. But when it's in the waiting state, and the icon pops up, it does not find it. When it throws and error it says 

[error] FindFailed ( 1696446179436.png: (78x80) seen at (1754, 687) with 1.00 in R[1683,670 223x11]

Reading the error message makes it seem to me it knows the icon is there (with 1.00 similarity!!!) but I don't know why its giving an error. This looks like a bug to me unless I'm missing something super obvious. I'm doing jython scripting on Java 8 on the latest version of sikuli.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.