← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #404001]: stopObserver() doesn't work

 

Question #404001 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404001

    Status: Answered => Open

Alex Lunyov is still having a problem:
When I use this:

onAppear(img, myhandler)
observe(10)

- it works fine. It observed the whole screen, see pic and write message
"Seen".

And when I try to use this:

reg.onAppear(img, myhandler)
reg.observe(10, background=True)

- I see a "snowfall" of messages:
----------------------------------
Exception in thread "Thread-11" Traceback (most recent call last):
File "C:\SikuliX\SikuliX 1.1.1 08-11\sikulix.jar\Lib\sikuli\Region.py", line 63, in observe
...672 same lines
RuntimeError: maximum recursion depth exceeded (Java StackOverflowError)
---------------------------------

Not critical for me at my work but it could be interesting to solve.
Thanks.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.