[1.1.1] Region.observe(10) throws error in Region.py --- fixed 1.1.1 2016-06-25+

Bug #1595315 reported by RaiMan on 2016-06-22
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sikuli
Critical
RaiMan

Bug Description

Hey there,

I'm trying to use an observer for the first time so maybe this is me doing something wrong, but I haven't been able to figure it out.

After setting up my region and the onAppear observation and my event handler function. I call observe with a time of 10 and it gives me an error on execution:

File "/Applications/SikuliX.app/Contents/Java/sikulix.jar/Lib/sikuli/Region.py", line 47, in observe
    return JRegion.observeJ(waitTime, background)
TypeError: observeJ(): expected 3 args; got 2

I'm using 1.1.1 (2016-06-08_01:00nightly) on OSX 10.11.5

RaiMan (raimund-hocke) on 2016-06-22
Changed in sikuli:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → RaiMan (raimund-hocke)
milestone: none → 1.1.1
RaiMan (raimund-hocke) on 2016-06-24
Changed in sikuli:
importance: High → Critical
summary: - [1.1.1] Region.observe(10) throws error in Region.py
+ [1.1.1] Region.observe(10) throws error in Region.py --- fixed 1.1.1
+ 2016-06-25+
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers