← Back to team overview

sikuli-driver team mailing list archive

[Question #251336]: [1.1.0 beta2] checkMousePos failed on Win8 32bits

 

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

Hi RaiMan,

I tried to run the sikuli script on Win8 32bits, but seems like it doesn't work due to the checkMousePos failures in a click action.
The same script works well on Win7 32bits. Here are the log form the console with "-d 3" options, is there a workaround for this issue?


D:\SikuliX110b2>runsikulix.cmd -d 3 -r D:\workspace_sikuli\install_pressure.sikuli
+++ running this Java
java version "1.6.0_10-rc2"
Java(TM) SE Runtime Environment (build 1.6.0_10-rc2-b32)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
D:\SikuliX110b2\sikulix.jar -d 3 -r D:\workspace_sikuli\install_pressure.sikuli
[debug] IDE: Switching to SikuliScript with option -r, -t or -i
[debug] SikuliScript: CmdOrg: -d 3 -r D:\workspace_sikuli\install_pressure.sikul
i
[debug] Running on Java 6 (1.6.0_10-rc2-b32)
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] 3: -r
[debug] 4: D:\workspace_sikuli\install_pressure.sikuli
[debug] SikuliScript: givenScriptName: D:\workspace_sikuli\install_pressure.sikuli
[debug] JythonScriptRunner: init: python.path hack:
D:\SikuliX110b2\sikulix.jar\Lib
[debug] ImagePath: new BundlePath: D:/workspace_sikuli/install_pressure.sikuli/
[debug] Trying to run script: D:\workspace_sikuli\install_pressure.sikuli\install_pressure.py
[debug] Jython: sikuli: __init__: entering
[debug] Jython: sikuli: Sikuli: entering
[debug] Jython: sikuli: Sikuli: constants
[debug] Jython: sikuli: Sikuli: import Region
[debug] Jython: sikuli: Sikuli: import Screen
[debug] Screen: initScreens: ScreenDevice 0 contains (0,0) --- will be used as primary
[debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[debug] Screen: *** monitor configuration (primary: 0) ***
[debug] Screen: 0: S(0)[0,0 1920x1080]
[debug] Screen: *** end monitor configuration ***
[debug] Region: hover: L(960,540)@S(0)[0,0 1920x1080]
[debug] Region: hover: L(596,565)@S(0)[0,0 1920x1080]
[debug] Jython: sikuli: Sikuli: Env.addHotkey
[debug] Jython: sikuli: Sikuli: import Match
[debug] Jython: sikuli: Sikuli: import Pattern
[debug] Jython: sikuli: Sikuli: import Location
[debug] Jython: sikuli: Sikuli: import ScreenUnion
[debug] Jython: sikuli: Sikuli: import Finder
[debug] ResourceLoader: SikuliX Package Build: 1.1.0-Beta2 2014-06-27_15:02
[debug] ResourceLoader: check: we are running on arch: x86
[debug] ResourceLoader: check: using Java at: D:/Program Files/Java/jdk1.6.0_10/jre/
[debug] ResourceLoader: check: Exists Environment.SIKULIX_HOME? YES: D:/SikuliX110b2/libs
[debug] ResourceLoader: checkLibsDir: trying: D:/SikuliX110b2/libs
[debug] ResourceLoader: checkLibsDir: Running on Windows - checking system path!

[debug] ResourceLoader: loadLib: Now loaded: WinUtil from: D:\SikuliX110b2\libs\WinUtil.dll
[debug] ResourceLoader: checkLibsDir: Using libs at: D:\SikuliX110b2\libs
[debug] ResourceLoader: check: recreated ClassLoader.usrPaths
[debug] ResourceLoader: loadLib: Now loaded: VisionProxy from: D:\SikuliX110b2\libs\VisionProxy.dll
[debug] Jython: sikuli: Sikuli: import Image
[debug] Jython: sikuli: Sikuli: import ImagePath
[debug] Jython: sikuli: Sikuli: import App
[debug] Jython: sikuli: Sikuli: import KeyBoard/Mouse
[debug] Jython: sikuli: Sikuli: import from Basics
[debug] Jython: sikuli: Sikuli: import from compare
[debug] Jython: sikuli: Sikuli: init SikuliImporter
[debug] Jython: sikuli: Sikuli: import SikuliX
[debug] Jython: requested to use as default region: R[0,0 1920x1080]@S(0)
[debug] Running Jython: 2.7b1 (default:ac42d59644e9, Feb 9 2013, 15:24:52)
[debug] Jython: requested to use as default region: R[0,0 1920x1080]@S(0)
[debug] JythonScriptRunner: runPython: running script:
D:\workspace_sikuli\install_pressure.sikuli
test_pressure (__main__.TestInstallPressureFunctions) ... [debug] Region: find:
waiting 5.0 secs for install_main_quick_start.png to appear in R[0,0 1920x1080]@S(0)
[debug] Image: added to image list: install_main_quick_start.png
with URL: file:D:/workspace_sikuli/install_pressure.sikuli/install_main_quick_start.png
[debug] Image: loaded install_main_quick_start.png (22 KB of 64 MB (1 / 0 %) (22))
[debug] Region: find: install_main_quick_start.png has appeared
at M[1003,689 160x48]@S(S(0)[0,0 1920x1080]) S:0.85 C:1083,713 [1592/1124 msec]
[debug] Region: find: waiting 3.0 secs for install_main_quick_start.png to appear in R[0,0 1920x1080]@S(0)
[debug] Region: checkLastSeen: not there
[debug] Region: find: install_main_quick_start.png has appeared at M[1003,689 160x48]@S(S(0)[0,0 1920x1080]) S:0.85 C:1083,713 [1794/1794 msec]
[log] CLICK on L(1083,713)@S(0)[0,0 1920x1080]
[error] RobotDesktop: MouseInfo.getPointerInfo.getLocation L(596,565)@S(0)[0,0 1920x1080]
after mouseMove to L(1083,713)@S(0)[0,0 1920x1080]

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.