← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #251545]: Match for same pattern in same region passes then fails

 

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

Jeff Cavill gave more information on the question:
Running against 1.1.0-Beta3 code, here is the top of the stack trace
when FindFailed is thrown:

FindFailed: can not find P(C:/Users/jcavill/AppData/Local/Temp/jeff270671578108421267.png) S: 0.9 in R[300,300 1016x538]@S(0)
  Line 1994, in file Region.java
	at org.sikuli.script.Region.handleFindFailedShowDialog(Region.java:1994)
	at org.sikuli.script.Region.handleFindFailed(Region.java:1939)
	at org.sikuli.script.Region.wait(Region.java:2137)
	at org.sikuli.script.Region.find(Region.java:2010)
	at sikuli.test.TestResize.basicPatternMatch(TestResize.java:279)


Running against 1.0.1 (with sikuli-ide.jar):

FindFailed: can not find P(C:/Users/jcavill/AppData/Local/Temp/jeff270671578108421267.png) S: 0.9 on the screen.
  Line 1574, in file Region.java
	at org.sikuli.script.Region.handleFindFailed(Region.java:1574)
	at org.sikuli.script.Region.wait(Region.java:1682)
	at org.sikuli.script.Region.find(Region.java:1590)
	at sikuli.test.TestResize.basicPatternMatch(TestResize.java:279)


In all cases, the FindFailed exception is thrown 3 seconds after the find() is attempted.

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