sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #37258
Re: [Question #288480]: Using observe() for region created via default argument
Question #288480 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/288480
Status: Needs information => Open
Evgen gave more information on the question:
Output below:
+++ running this Java
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\SikuliX\sikulix.jar -r D:\gfgf.sikuli
Mar 16, 2016 10:37:04 AM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0
x80000002. Windows RegCreateKeyEx(...) returned error code 5.
highlight region
[debug] Region: init: (500, 200, 250, 250)
[debug] highlight R[500,200 250x250]@S(0)[0,0 3440x1440] E:Y, T:3.0 for 1.0 secs
[debug] Region: init: (500, 200, 250, 250)
test_one (__main__.SampleTest) ... 1st start
[debug] Region: R[500,200 250x250]@S(0): observer CHANGE with callback: 1458117
430565 with: 100
[debug] Region: observe: starting in R[500,200 250x250]@S(0) for 20.0 seconds
[debug] Observer: resetting observe states for R[500,200 250x250]@S(0)
[debug] Observing: add observer: now running 1 observer(s)
[debug] Observer: update result: Patterns: false
[debug] Observer: update result: Changes: true
[debug] Observer: update result: Patterns: false
[debug] Observer: update result: Changes: true
[debug] Observer: update result: Patterns: false
[debug] Observer: update result: Changes: true
[debug] Observer: update result: Patterns: false
[debug] Observer: update result: Changes: true
[debug] Observer: update result: Patterns: false
[debug] Observer: changes: 1 in: R[500,200 250x250]@S(0)[0,0 3440x1440] E:Y, T:3.0
[debug] Observer: running call back
something changed
[debug] Region: observe: request to stop observer for R[500,200 250x250]@S(0)
[debug] Observer: update result: Changes: true
[debug] Region: observe: ended successfully: R[500,200 250x250]@S(0)
True
ok
test_two (__main__.SampleTest) ... 2nd start
[debug] Region: R[500,200 250x250]@S(0): observer CHANGE with callback: 1458117
435463 with: 100
[debug] Region: observe: starting in R[500,200 250x250]@S(0) for 20.0 seconds
[debug] Observer: resetting observe states for R[500,200 250x250]@S(0)
[debug] Observing: add observer: now running 2 observer(s)
[debug] Observer: update result: Patterns: false
[debug] Observer: changes: 1 in: R[500,200 250x250]@S(0)[0,0 3440x1440] E:Y, T:3.0
[debug] Observer: running call back
something changed
[debug] Region: observe: request to stop observer for R[500,200 250x250]@S(0)
[debug] Observer: running call back
something changed
[debug] Region: observe: request to stop observer for R[500,200 250x250]@S(0)
[debug] Observer: update result: Changes: true
[debug] Region: observe: ended successfully: R[500,200 250x250]@S(0)
True
ok
----------------------------------------------------------------------
Ran 2 tests in 4.929s
OK
[debug] RunTimeIDE: final cleanup
[debug] FileManager: deleteFileOrFolder:
C:\Users\YB0AB~1.IVA\AppData\Local\Temp\Sikulix_867577200
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.