[2.0.4] SikuliXception in exists function, if image is larger than image to search in --- by intention
Bug #1887941 reported by
umesh
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Invalid
|
Undecided
|
RaiMan |
Bug Description
Sikuli version : 20x
OS: win 10
reduced code for issue:
r = Region(0, 0, 5, 5)
r.exists(
Throws SikuliXception. Traces are:
[error] script [ sikulitemp-
[error] org.sikuli.
[error] --- Traceback --- error source first
line: module ( function ) statement
2: main ( <module> ) r.exists(
[error] --- Traceback --- end --------------
Expected behavior: as per documentation, exists should either return None or Match found.
Changed in sikuli: | |
status: | New → Invalid |
summary: |
- 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: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 2.0.5 |
To post a comment you must log in.
I see that : find(_findInput ); --in-- Region.find(Image)
In sikuli 1.1.1. -> _results = Vision.
is now replaced by
In Sikuli 2.0.x -> _results = Finder2. find(_findInput ); --in-- Region.find(Image)
Vision do not throw exception in any case.
Whereas Finder2.find throws SikuliXception (a RuntimeException)
This change in behavior is causing many breaks in code. Already one more IR was raised related to SikuliXception .