2013-09-13 05:52:11 |
vince |
bug |
|
|
added bug |
2013-09-13 05:53:07 |
vince |
description |
-----------------------------------------------------
Environment: WIndows7 Sikuli 1.0.1 IDE
-----------------------------------------------------
when I run the script below, observe() does not wait for the appear event to occur,but "print()" runs immediately.
-----------------------------------------------------
script:
def handler(event):
print(event.type)
stopObserver()
def test():
onAppear("recycle.png",handler)
observe()
print("end")
-----------------------------------------------------
test result:
print "end" |
-----------------------------------------------------
Environment:
Windows7
Sikuli 1.0.1 IDE
-----------------------------------------------------
when I run the script below, observe() does not wait for the appear event to occur,but "print()" runs immediately.
-----------------------------------------------------
script:
def handler(event):
print(event.type)
stopObserver()
def test():
onAppear("recycle.png",handler)
observe()
print("end")
-----------------------------------------------------
test result:
print "end" |
|
2013-09-13 05:54:24 |
vince |
description |
-----------------------------------------------------
Environment:
Windows7
Sikuli 1.0.1 IDE
-----------------------------------------------------
when I run the script below, observe() does not wait for the appear event to occur,but "print()" runs immediately.
-----------------------------------------------------
script:
def handler(event):
print(event.type)
stopObserver()
def test():
onAppear("recycle.png",handler)
observe()
print("end")
-----------------------------------------------------
test result:
print "end" |
-----------------------------------------------------
Environment:
Windows7
Sikuli 1.0.1 IDE
-----------------------------------------------------
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(event.type)
stopObserver()
def test():
onAppear("recycle.png",handler)
observe()
print("end")
-----------------------------------------------------
test result:
print "end" |
|
2013-09-13 05:54:42 |
vince |
description |
-----------------------------------------------------
Environment:
Windows7
Sikuli 1.0.1 IDE
-----------------------------------------------------
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(event.type)
stopObserver()
def test():
onAppear("recycle.png",handler)
observe()
print("end")
-----------------------------------------------------
test result:
print "end" |
-----------------------------------------------------
Environment:
Windows7
Sikuli 1.0.1 IDE
-----------------------------------------------------
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(event.type)
stopObserver()
def test():
onAppear("recycle.png",handler)
observe()
print("end")
-----------------------------------------------------
test result:
print "end" |
|
2013-09-13 07:36:29 |
RaiMan |
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 |
|
2013-09-13 07:40:29 |
RaiMan |
summary |
[1.0.1] 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 --- workaround |
|
2013-09-13 07:42:49 |
RaiMan |
description |
-----------------------------------------------------
Environment:
Windows7
Sikuli 1.0.1 IDE
-----------------------------------------------------
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(event.type)
stopObserver()
def test():
onAppear("recycle.png",handler)
observe()
print("end")
-----------------------------------------------------
test result:
print "end" |
-------- workaround
use any numeric value to specify a waiting time (do not use FOREVER)
e.g. observe(360*24*60*60) would wait for one year ;-)
--------------------------------------------------------------------------
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(event.type)
stopObserver()
def test():
onAppear("recycle.png",handler)
observe()
print("end")
-----------------------------------------------------
test result:
print "end" |
|
2013-09-13 07:43:14 |
RaiMan |
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 |
|
2013-09-13 07:47:28 |
RaiMan |
sikuli: status |
New |
Fix Committed |
|
2013-09-13 07:47:31 |
RaiMan |
sikuli: importance |
Undecided |
High |
|
2013-09-13 07:47:35 |
RaiMan |
sikuli: assignee |
|
RaiMan (raimund-hocke) |
|
2013-09-13 07:47:37 |
RaiMan |
sikuli: milestone |
|
1.1.0 |
|
2015-09-17 14:37:03 |
RaiMan |
sikuli: importance |
High |
Critical |
|
2015-09-17 14:37:23 |
RaiMan |
summary |
[1.0.1] observe() or observe(FOREVER) 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 --- fixed in 1.1.0 |
|