sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54326
Re: [Question #688984]: IDE: imported helper.py files are not automatically reimported if changed
Question #688984 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/688984
SeltiX posted a new comment:
i just finish isolating the problem and I can confirm is something with
the Region() "setW()" and "setH()". I remove those operations and the
script starts to work as expected.
After a litle time of runing I got another problem with Region(), in the
"highlight()" method :
region.highlight(0.3)
and I got this error :
at java.lang.Thread.sleep(Native Method)
at org.sikuli.util.ScreenHighlighter.closeAfter(ScreenHighlighter.java:142)
at org.sikuli.util.ScreenHighlighter.highlight(ScreenHighlighter.java:223)
at org.sikuli.script.Region.highlight(Region.java:2148)
at org.sikuli.script.Region.highlight(Region.java:2126)
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)
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: timeout value is negative
After changing the timout from 0.3 to 1 it does not throw the error
anymore
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.