← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678325]: If it Can't Find, Closes Early

 

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

    Status: Answered => Open

Lisa Howells is still having a problem:
Tried your exact 3 line script. I ran it 4 times, it did the same thing
all 4 times, the program clicks the button (then the button goes away)
and then it clicks where the button was a couple times and then the
program closes (and then the sikuli IDE opens up again). it only gave
this error message on the fourth try though. first 3 tries had no error
message.


[error] script [ testScript ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File "C:\Users\Lisa\Documents.sikuli\TestScript.sikuli\TestScript.py", line 2, in <module> click("randomButton.png") Line 2275, in file Region.java 
at org.sikuli.script.Region.wait(Region.java:2275)
at org.sikuli.script.Region.wait(Region.java:2293)
at org.sikuli.script.Region.getLocationFromTarget(Region.java:3302)
at org.sikuli.script.Region.click(Region.java:3907)
at org.sikuli.script.Region.click(Region.java:3892)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
org.sikuli.script.FindFailed: FindFailed: randomButton.png: (58x65) seen at (777, 625) with 0.79 in R[0,0 1680x1050]@S(0) Line 2275, in file Region.java

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