is it possible to turn off an error about region being outside of the screen?

Asked by Valerij on 2019-07-24

I constantly get

> [error] Region(474,974,16,6) outside any screen - subsequent actions might not work as expected
> [error] Region(474,975,16,5) outside any screen - subsequent actions might not work as expected

when searching for a very small sub-image on an BuffereImage screenshot

however, the software functions just fine, despite claiming to find the sub-image outside of the BufferedImage (maybe it finds a portion of the sub-image on the edge of the BufferedImage, creating a region that has the rest of itself outside of BufferedImage?)

Is there are a way to turn this error off?

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2019-07-24
Last reply:
2019-07-30
RaiMan (raimund-hocke) said : #1

can you paste the relevant code snippet?
most probably a bug.

in 1.1.4 you can try to surround the problematic section with:
Debug.quietOn()
# problematic section
Debug.quietOff()

Can you help with this problem?

Provide an answer of your own, or ask Valerij for more information if necessary.

To post a message you must log in.