← Back to team overview

sikuli-driver team mailing list archive

[Bug 1887941] [NEW] SikuliXception in exists function

 

Public bug reported:

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.

** 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/1887941

Title:
  SikuliXception in exists function

Status in Sikuli:
  New

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


Follow ups