[Sikuli-driver] [Bug 1830265] Re: [1.1.3+] Executable JAR is corrupt --- feature currently not available

2019-05-29 Thread RaiMan
@Kristo Title management of bugs is my job (the developer) 1.1.3+ means it happens in 1.1.3 and 1.1.4 and ... ** Description changed: - When I export the sikuli script to JAR and open the jar, it says it - cannot run because it is corrupt. When I run the script however, it - works perfectly. SO I

[Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread Sahil Doshi
New question #681126 on Sikuli: https://answers.launchpad.net/sikuli/+question/681126 Some time wait() will find a match but for the same screen has() will return false. I have a code like : screen.wait(image, waitInMinute * 60); if (!screen.has(image)) { throw new FindFailed(FindFaile

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread Sahil Doshi
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 Description changed to: Some time wait() will find a match but for the same screen has() will return false. I have a code like : screen.wait(image, 60); if (!screen.has(image)) { throw new FindFail

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread Sahil Doshi
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 Description changed to: Some time wait() will find a match but for the same screen has() will return false. I have a code like : screen.wait(image, 60); if (!screen.has(image)) { throw new FindFail

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread Sahil Doshi
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 Description changed to: Some time wait() will find a match but for the same screen has() will return false. I have a code like : screen.wait(image, 60); if (!screen.has(image)) { throw new FindFail

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread RaiMan
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 Status: Open => Answered RaiMan proposed the following answer: IMHO, if the image is not found, the FindFailed will already be thrown by the screen.wait(image, 60); -- You received this question notif

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread Sahil Doshi
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 Sahil Doshi posted a new comment: but in my case wait() will not throwing FindFailed error but has() returns false -- You received this question notification because your team Sikuli Drivers is an answer co

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread RaiMan
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 RaiMan requested more information: --- but in my case wait() will not throwing FindFailed I cannot see from the snippet how you can be sure. no try...catch -- You received this question notification becaus

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread Sahil Doshi
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 Sahil Doshi posted a new comment: I have a wrapper over method. public Match custWaitForImage(final Pattern image, final double waitInMinute) throws FindFailed, InterruptedException {

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread RaiMan
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 RaiMan proposed the following answer: ok, thanks. as far as I understand your logic: example: waitInMinute = 1 double endTime = System.currentTimeMillis() + (waitInMinute * 60 * 1000); endTime will be now +

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread Sahil Doshi
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 Sahil Doshi posted a new comment: I have throws for FindFailed -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. _

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread RaiMan
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 RaiMan proposed the following answer: But only if the has() returns false! So if has() returns false and works correctly, then before the wait has already thrown a FindFailed, which is not handled! -- You

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread Sahil Doshi
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 Sahil Doshi posted a new comment: That's a problem wait is not throwing error but at has() it is returning false -- You received this question notification because your team Sikuli Drivers is an answer cont

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread RaiMan
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 RaiMan proposed the following answer: Then I come back to my simulation above: at this time: if (!screen.has(image)) the image is no longer visible. ... in those cases. -- You received this question noti

Re: [Sikuli-driver] [Question #681126]: Problem with wait(Pattern)

2019-05-29 Thread Sahil Doshi
Question #681126 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/681126 Sahil Doshi posted a new comment: No I have confirmed using save(). Image is visible. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. __