[1.0.1] observe() or observe(FOREVER) doesn't wait for any event to occur and the next line runs immediately --- fixed in 1.1.0
Bug #1224795 reported by
vince
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SikuliX |
Fix Committed
|
Critical
|
RaiMan |
Bug Description
-------- workaround
use any numeric value to specify a waiting time (do not use FOREVER)
e.g. observe(
-------
when I run the script below, observe() does not wait for the appear event to occur,but the after line "print()" runs immediately.
script:
def handler(event):
print(
stopObserver()
def test():
onAppear(
observe()
print("end")
-------
test result:
print "end"
description: | updated |
description: | updated |
description: | updated |
summary: |
- observe() doesn't wait for any event to occur and the next line runs - immediately + [1.0.1] observe() doesn't wait for any event to occur and the next line + runs immediately |
summary: |
[1.0.1] observe() doesn't wait for any event to occur and the next line - runs immediately + runs immediately --- workaround |
description: | updated |
summary: |
- [1.0.1] observe() doesn't wait for any event to occur and the next line - runs immediately --- workaround + [1.0.1] observe() or observe(FOREVER) doesn't wait for any event to + occur and the next line runs immediately --- workaround |
Changed in sikuli: | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → RaiMan (raimund-hocke) |
milestone: | none → 1.1.0 |
Changed in sikuli: | |
importance: | High → Critical |
summary: |
[1.0.1] observe() or observe(FOREVER) doesn't wait for any event to - occur and the next line runs immediately --- workaround + occur and the next line runs immediately --- fixed in 1.1.0 |
To post a comment you must log in.