sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36076
Re: [Question #279252]: errors while running a sikuli IDE script
Question #279252 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/279252
Status: Open => Answered
RaiMan proposed the following answer:
- Then when I stop running by doing a alt-shft-c,
this is a kill for the Java environment and the exception message simply means what it says:
java.lang.InterruptedException: sleep interrupted
the kill reached the script in a situation, where internally it was
waiting for some time using Thread.sleep(someMilliSeconds). In this case
it apparently waits for the click on the ok button of the popup.
You either have to live with that or have to add some code, that handles the situation gracefully:
just exit with a respective message printed, instead of the popup or after the popup() add an exit(), so the script will terminate regularly after you have clicked ok.
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.