← Back to team overview

sikuli-driver team mailing list archive

[Bug 1887941] Re: SikuliXception in exists function

 

** Changed in: sikuli
       Status: New => Invalid

** Summary changed:

- SikuliXception in exists function
+ [2.0.4] SikuliXception in exists function, if image is larger than image to search in --- by intention

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

** Changed in: sikuli
    Milestone: None => 2.0.5

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

Title:
  [2.0.4] SikuliXception in exists function, if image is larger than
  image to search in --- by intention

Status in Sikuli:
  Invalid

Bug description:
  Sikuli version : 20x
  OS: win 10
  reduced code for issue:

  r = Region(0, 0, 5, 5)
  r.exists(r"anyLittleBigImage.png")

  Throws SikuliXception. Traces are:

  [error] script [ sikulitemp-737716647910362225 ] stopped with error in line 2
  [error] org.sikuli.script.SikuliXception ( org.sikuli.script.SikuliXception: image to search (849, 335) is larger than image to search in (5, 5) )
  [error] --- Traceback --- error source first
  line: module ( function ) statement 
  2: main (  <module> )     r.exists(r"anyLittleBigImage.png")
  [error] --- Traceback --- end --------------

  Expected behavior: as per documentation, exists should either return
  None or Match found.

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


References