sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #42561
Re: [Question #634286]: Sikuli quits on "if" without error message
Question #634286 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/634286
Description changed to:
I've written a small script to play a game, but it quits without giving
me any error message.
I was able to track the problem down to two lines, sometimes it breaks
on this line:
if myRegion.inside().exists(Pattern(image).similar(similarity),0):
and sometimes on this line:
while myRegion.inside().exists(Pattern(image2).similar(similarity),0):
(when I put a print command before and after these conditions, I only
get the output from the first one)
Note that I've been building my script gradually, and before I started
adding "click" commands, I think I didn't get these errors (I think).
I'm running Sikuli 1.1.0 from the command line on Windows.
Any idea what it might be?
Thanks!
Edit: now without modifying anything big, the IDE and console crashes
without giving me an error message just after I run the script (I run
the IDE with runsikulix.cmd on windows)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.