← Back to team overview

sikuli-driver team mailing list archive

[Question #404238]: Error Observe sikuli 1.1.1

 

New question #404238 on Sikuli:
https://answers.launchpad.net/sikuli/+question/404238

 Hello. With sikulix 1.1.0 api i was success run this:

def handler(event):
    global count
    count = True
    wait(2)
    print("#Observe Error")
    clicktoavoiderrordone.click()
    event.stopObserver()
    regblueline.observe()
    return count

regblueline.onAppear(Pattern("error2.png").exact(),handler)
regblueline.onAppear(Pattern("error1.png").exact(),handler)
regblueline.observe(background = true)

#-------

But now when i use the sikulix1.1.1 the latest you got on the site (yesterday downloaded) api i get this error::


File "/Users/mintekrec/Library/Application Support/Sikulix/Lib/sikuli/Region.py", line 63, in observe
    return self.observe(waitTime);
RuntimeError: maximum recursion depth exceeded (Java StackOverflowError)


Any hel please?????


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