← Back to team overview

sikuli-driver team mailing list archive

[Bug 1028991] [NEW] setFindFailedResponse(PROMPT)

 

Public bug reported:

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

** Affects: sikuli
     Importance: Undecided
         Status: New

-- 
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:
  setFindFailedResponse(PROMPT)

Status in Sikuli:
  New

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


Follow ups

References