sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32856
[Bug 1462935] Re: [1.1.0] Only recognise two monitors --- fixed 2015-06-09+
I don't know if you fix the bug. But when I try again the output is
different and still only the left and right monitor get highlighted. The
output from "sikulixsetup-1.1.0-20150609.230942-99-forsetup.jar" is now:
C:\Users\akr\Documents\sikuli_1.1>runsikulix.cmd -d 3 -c
+++ running this Java
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\Users\akr\Documents\sikuli_1.1\sikulix.jar -d 3 -c
[debug] RunTimeINIT: loadOptions: check: C:\Users\akr\Documents\sikuli_1.1
[debug] RunTimeINIT: loadOptions: check: C:\Users\akr
[debug] RunTimeINIT: loadOptions: check: C:\Users\akr\AppData\Roaming\Sikulix\Si
kulixStore
[debug] RunTimeINIT: global init: entering as: IDE
[debug] RunTimeINIT: ScreenDevice 2 has (0,0) --- will be primary Screen(0)
[debug] RunTimeINIT: fSxBase: C:\Users\akr\Documents\sikuli_1.1
[debug] RunTimeINIT: runs as sikulix.jar in: C:\Users\akr\Documents\sikuli_1.1
[debug] RunTimeINIT: exists libs folder at: C:\Users\akr\AppData\Roaming\Sikulix
\SikulixLibs_201506020100
[debug] RunTimeINIT: addToWindowsSystemPath: added to systempath:
C:\Users\akr\AppData\Roaming\Sikulix\SikulixLibs_201506020100
[debug] RunTimeINIT: checkJavaUsrPath: added to ClassLoader.usrPaths
***** show environment for IDE (build 201506020100)
user.home: C:\Users\akr
user.dir (work dir): C:\Users\akr\Documents\sikuli_1.1
user.name: akr
java.io.tmpdir: C:\Users\akr\AppData\Local\Temp
running 64Bit on Windows (6.1) from a jar
java 7-64 version 1.7.0_71-b14 vm 24.71-b01 class 51.0 arch amd64
app data folder: C:\Users\akr\AppData\Roaming\Sikulix
libs folder: C:\Users\akr\AppData\Roaming\Sikulix\SikulixLibs_201506020100
executing jar: C:\Users\akr\Documents\sikuli_1.1\sikulix.jar
*** classpath dump sikulix
0: /C:/Users/akr/Documents/sikuli_1.1/sikulix.jar
*** classpath dump end
***** show environment end
[debug] RunTimeIDE: global init: leaving
[debug] RunTimeIDE: initIDEbefore: entering
[debug] RunTimeIDE: initIDEbefore: leaving
[debug] init user preferences
[debug] IDE: running with Locale: de_DE
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] 3: -c
[info] HotkeyManager: add Capture Hotkey: STRG+UMSCHALT 2 (50, 3)
[debug] HotkeyManager: add Capture Hotkey: STRG+UMSCHALT 2 (50, 3)
[info] HotkeyManager: add Abort Hotkey: ALT+UMSCHALT C (67, 9)
[debug] HotkeyManager: add Abort Hotkey: ALT+UMSCHALT C (67, 9)
[debug] ScriptingSupport: initScriptingSupport: enter
[debug] JythonSupport: init: starting
[debug] JythonSupport: init: success
[debug] JythonSupport: ***** Jython sys.path
0: C:\Users\akr\Documents\sikuli_1.1\Lib
1: C:\Users\akr\Documents\sikuli_1.1\sikulix.jar\Lib
2: __classpath__
3: __pyclasspath__/
[debug] JythonSupport: ***** Jython sys.path end
[debug] Jython: sikuli: Sikuli: starting init
[debug] RunTimeIDE: loadLib: VisionProxy.dll
[error] Location: outside any screen (-110, 453) - subsequent actions might not
work as expected
[error] Location: outside any screen (-110, 453) - subsequent actions might not
work as expected
[debug] Mouse: init
[debug] KeyBoard: init
[debug] Screen: initScreens: multi monitor mouse check
[error] Location: outside any screen (-110, 453) - subsequent actions might not
work as expected
[debug] Screen: *** checking: S(0)[0,0 1920x1200] center: (960, 600) --- OK
[debug] Screen: *** checking: S(1)[-3200,176 1280x1024] center: (-2560, 688) ---
OK
[debug] Screen: *** checking: S(2)[-3200,176 1280x1024] center: (-2560, 688) ---
OK
[error] Location: outside any screen (-110, 453) - subsequent actions might not
work as expected
[debug] RunTimeIDE: loadLib: WinUtil.dll
[debug] Jython: requested to use as default region: R[0,0 1920x1200]@S(0)
[debug] Jython: sikuli: Sikuli: ending init
[debug] JythonScriptRunner: running Jython 2.7.0
[debug] ScriptingSupport: initScriptingSupport: added: jython
[debug] ScriptingSupport: initScriptingSupport: warning: org.sikuli.scriptrunner
.IScriptRunner: Provider org.sikuli.scriptrunner.JRubyScriptRunner could not be
instantiated
[debug] ScriptingSupport: initScriptingSupport: exit with defaultrunner: jython
(py)
[debug] IDE: Adding components to window
[debug] [I18N] menuRecent
[debug] IDE: creating tabbed editor
[debug] IDE: creating message area
[debug] IDE: creating combined work window
[debug] IDE: Putting all together
[debug] restore session: C:\Users\akr\Documents\SikuliSkripte\ScreenTest.sikuli
[debug] IDE: doNew: create new tab at: -1
[debug] EditorPane: EditorPane: creating new pane (constructor)
[debug] EditorPane: loadfile: C:\Users\akr\Documents\SikuliSkripte\ScreenTest.si
kuli
[debug] ImagePath: new BundlePath:
/C:/Users/akr/Documents/SikuliSkripte/ScreenTest.sikuli/
[debug] EditorPane: initBeforeLoad: py
[debug] EditorPane: updateDocumentListeners from: initBeforeLoad
[debug] EditorPane: InitTab: (text/python)
[debug] SikuliEditorKit.read
[debug] EditorPane: updateDocumentListeners from: loadFile
[info] IDE startup: 6,9 seconds
[debug] IDE startup: 6,9 seconds
[debug] Jython: requested to use as default region: R[0,0 1920x1200]@S(0)
[debug] JythonScriptRunner: runPython: running script from IDE:
C:/Users/akr/Documents/SikuliSkripte/ScreenTest.sikuli
[debug] highlight S(0)[0,0 1920x1200] E:Y, T:3,0 for 3.0 secs
[debug] highlight S(1)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
[debug] highlight S(2)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
[debug] Sikulix: cleanUp: 0
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1462935
Title:
[1.1.0] Only recognise two monitors --- fixed 2015-06-09+
Status in Sikuli:
Fix Committed
Bug description:
I have three monitors at windows 7 pro, 64 bit. I use Sikuli 1.1.0 (sikulixsetup-1.1.0-20150607.230955-97-forsetup.jar). The middle monitor is monitor 1 with a resolution 1920x1200. The left monitor is monitor 2 with a resolution 1280x1024. The right monitor is monitor 3 with a resolution 1920x1200.
I run this code:
Screen(0).highlight(3) // right monitor no. 3 highlighted
Screen(1).highlight(3) // left monitor no. 2 highlighted
Screen(2).highlight(3) // left monitor no. 2 highlighted
When the code run, first the right monitor no. 3 get highlighted, than
the left monitor no. 2 get highlighted and finally the left monitor
no. 2 get highlighted again. The middle monitor no. 1 never get
highlighted.
I get following messages:
[log] highlight S(0)[0,0 1920x1200] E:Y, T:3,0 for 3.0 secs
[log] highlight S(1)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
[log] highlight S(2)[-3200,176 1280x1024] E:Y, T:3,0 for 3.0 secs
For the left and the middle monitor I get negativ coordinates.
Anyway there are problems to recognise images. I run following single
line code for each montior:
click( )
On the right monitor no. 3 Sikuli regonise the images.
On the middle monitor no. 2 I get an error:
[error] script [ Unbenannt ] stopped with error in line 1
[error] FindFailed ( can not find 1433753739736.png in R[0,0 1920x1200]@S(0) )
On the left monitor no. 2 I get an error:
[error] script [ Unbenannt ] stopped with error in line 1
[error] FindFailed ( can not find 1433753576223.png in R[0,0 1920x1200]@S(0) )
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1462935/+subscriptions
References