← Back to team overview

sikuli-driver team mailing list archive

[Bug 1028991] Re: X-1.0rc3: setFindFailedResponse(PROMPT) does not display image

 

** Changed in: sikuli
       Status: New => Fix Committed

** Changed in: sikuli
    Milestone: None => x1.0

** Changed in: sikuli
     Assignee: (unassigned) => RaiMan (raimund-hocke)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1028991

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

Status in Sikuli:
  Fix Committed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1028991/+subscriptions


References