X-1.0rc3: setFindFailedResponse(PROMPT) does not display image

Bug #1028991 reported by fernando gandini
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
SikuliX
Fix Released
Critical
RaiMan

Bug Description

Hi folks,

im having a problem with the setFindFailedResponse(PROMPT)...actually i think is a bug.

here is my simplified code:

setThrowException(True)
setFindFailedResponse(PROMPT)
if find(Pattern("test.png").similar(0.97)):
    print 'found'
else:
    print 'not found'

so, when Sikuli not found the image, the prompt appears with no image.....but only when i set the ".similar(x)"...other way, it appears normally

thanks

RaiMan (raimund-hocke)
summary: - setFindFailedResponse(PROMPT)
+ X-1.0rc3: setFindFailedResponse(PROMPT) does not display image
RaiMan (raimund-hocke)
Changed in sikuli:
status: New → Fix Committed
milestone: none → x1.0
assignee: nobody → RaiMan (raimund-hocke)
RaiMan (raimund-hocke)
tags: added: fkt-findfailed
RaiMan (raimund-hocke)
Changed in sikuli:
importance: Undecided → High
RaiMan (raimund-hocke)
Changed in sikuli:
importance: High → Critical
RaiMan (raimund-hocke)
Changed in sikuli:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.