[2.0.5] Windows 10: Cant Start Sikulix on a specific machine with 2 monitors (one hiRes)

Asked by Vitor Faeda Dalto

Hello,

I've been using Sikulix for a while, but now I couldn't manage to make it work on a PC of a friend.

I have made a folder on C: with alltogether (IDE, ruby & Jython)

Installed Java 64Bit:
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)

Runned this linke on a Admin CMD:
java -jar C:\Automator2\sikulixide-2.0.5.jar -v -c

Got this results:

C:\WINDOWS\system32>java -jar C:\Automator2\sikulixide-2.0.5.jar -v -c
[DEBUG]startUp: IDE: Running: C:\Automator2\sikulixide-2.0.5.jar
[DEBUG]startUp: IDE: AppData: C:\Users\LENOVO\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting with classpath: C:\Automator2\sikulixide-2.0.5.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: moving to extensions: C:\Automator2\jruby-complete-9.2.16.0.jar
[DEBUG]startUp: IDE: moving to extensions: C:\Automator2\jython-standalone-2.7.2.jar
[DEBUG]startUp: IDE: adding extension file: C:\Users\LENOVO\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.16.0.jar
[error] FileManager: writeStringToFile: did not work: C:\Users\LENOVO\AppData\Roaming\Sikulix\SikulixStore\lastUsedJar.txt
C:\Users\LENOVO\AppData\Roaming\Sikulix\SikulixStore\lastUsedJar.txt (O sistema não pode encontrar o caminho especificado)
[308 debug] RunTime:temp folder ok: C:\Users\LENOVO\AppData\Local\Temp\Sikulix_1956071623
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\LENOVO\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 API
user.home: C:\Users\LENOVO
work dir: C:\WINDOWS\system32
running on Windows 10.0 from a jar
running Java Oracle Corporation 1.8.0_281-b09
java.io.tmpdir: C:\Users\LENOVO\AppData\Local\Temp
app data folder: C:\Users\LENOVO\AppData\Roaming\Sikulix
executing jar: C:\Automator2\sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: file:/C:/Automator2/sikulixide-2.0.5.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[11 debug] Sikulix: starting IDE
[25 debug] RunTime:temp folder ok: C:\Users\LENOVO\AppData\Local\Temp\Sikulix_1736765290
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\LENOVO\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 IDE
user.home: C:\Users\LENOVO
work dir: C:\WINDOWS\system32
running on Windows 10.0 from a jar
running Java Oracle Corporation 1.8.0_281-b09
java.io.tmpdir: C:\Users\LENOVO\AppData\Local\Temp
app data folder: C:\Users\LENOVO\AppData\Roaming\Sikulix
executing jar: C:\Automator2\sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: file:/C:/Automator2/sikulixide-2.0.5.jar
  1: file:/C:/Users/LENOVO/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.16.0.jar
*** classpath dump end
***** show environment end
[186 debug] IDE: running with Locale: pt_BR
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -v
[DEBUG]startUp: IDE: 2: -c
[190 debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[323 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[324 debug] IDE: Init ScriptingSupport
[326 debug] IDESupport: enter
[2050 debug] Runner: added: SikulixJar [jar] text/jar
[2052 debug] Runner: added: Sikulix [] directory/sikulix
[2052 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[2053 debug] Runner: added: NetworkRunner [] NET
[2053 debug] Runner: added: Text [txt] text/text
[2060 debug] Runner: added: Jython [py] text/jython
[2071 debug] Runner: added: JRuby [rb] text/ruby
[2071 debug] Runner: added: SikulixExecutableJar [executablejar] text/jar
[2072 debug] Runner: added: PowerShell [ps1] text/powershell
[2072 debug] Runner: added: PackedSikulix [zip] application/zip
[2072 debug] Runner: added: PackedSikulix [skl] text/skl
[2073 debug] IDESupport: added: Jython
[2073 debug] IDESupport: added: JRuby
[2074 debug] IDESupport: added: Text
[2074 debug] IDESupport: exit: defaultrunner: Jython (py)
[2076 debug] IDE: Reading Preferences
[2079 debug] IDE: Adding components to window
[2090 debug] IDE: [I18N] menuRecent
[2104 debug] IDE: [I18N] menuToolAndroid
[2106 debug] IDE: creating tabbed editor
[2174 debug] IDE: creating message area
[2270 debug] IDE: creating combined work window
[2275 debug] IDE: Putting all together
[2275 debug] IDE: Putting all together - after main pane
[2324 debug] IDE: Putting all together - after toolbar
[2326 debug] IDE: Putting all together - before layout
[2360 debug] IDE: Putting all together - after layout
[2362 debug] IDE: Putting all together - Restore last Session
[2369 debug] EditorPane: created 1616679232062
[2379 debug] JythonRunner: starting initialization
[2382 debug] RunTime:resourceLocation: (class org.sikuli.script.support.RunTime) /Lib
[2382 debug] RunTime:resourceList: having jar: jar:file:/C:/Automator2/sikulixide-2.0.5.jar!/Lib
[2398 debug] EditorPane: InitTab: (text/jython)
[2403 debug] ImagePath: new BundlePath: C:\Users\LENOVO\AppData\Local\Temp\Sikulix_1736765290\SikulixIDETempTab1616679232062
[2410 debug] Screen: initScreens: starting
[2411 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[2411 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[2412 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[2412 debug] Screen: Monitor 0: (0, 0) 1874 x 1170
[2412 debug] Screen: Monitor 1: (3280, 128) 1080 x 1920
[2414 debug] Screen: initScreens: monitor mouse check
[2417 debug] Screen: *** checking: R[0,0 1874x1170]@S(0) center: (937, 585) --- OK
[error] RobotDesktop: checkMousePosition: MouseInfo.getPointerInfo invalid
after move to L[3820,1088]@S(1)
[error] Mouse: not possible to get mouse position (PointerInfo == null)
[error] Mouse: not possible to get mouse position (PointerInfo == null)
[4947 debug] RunTime:files exported: 1192 from: Lib to:
 C:\Users\LENOVO\AppData\Roaming\Sikulix\Lib
[6022 debug] Jython: added as Jython::sys.path[0]:
C:\Users\LENOVO\AppData\Roaming\Sikulix\Lib\site-packages
[6024 debug] Jython: ***** sys.path
 0: C:\Users\LENOVO\AppData\Local\Temp\Sikulix_1736765290\SikulixIDETempTab1616679232062
 1: C:\Users\LENOVO\AppData\Roaming\Sikulix\Lib\site-packages
 2: C:\Users\LENOVO\AppData\Roaming\Sikulix\Lib
 3: C:\Automator2\Lib
 4: C:\Automator2\sikulixide-2.0.5.jar\Lib
[6154 debug] JythonRunner: ready: version 2.7.2

Could someone help me?
What should I do to make it work ?

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
RaiMan (raimund-hocke) said :
#1

What is your problem?

The log looks normal.

Revision history for this message
Vitor Faeda Dalto (fdaltov) said :
#2

Hi RaiMan,

Yes, It`s odd, but The IDE interface doesn`t appear. I seems like the program got stuck before the user interface could be visualized.

I`m not a coder, so I normally use the IDE interface. When I double click on the JAR file, I can see a splash screen but it freezes on this step.

I`m not really sure why it happens on that particularly machine.
I`ve deleted the sikulix folder on AppData and restarted all again. No success.

I`s a W10 machine, 2 monitors (1 of them hi-res), java descripted above.

I hope you can help me.
Thanks

Revision history for this message
RaiMan (raimund-hocke) said :
#3

try with only one monitor.

Revision history for this message
Andrew Metzger (andrewjmetzger) said :
#4

Hello Raimund,

I have the same issue as Vitor describes. Hopefully this information will help.

On my Windows 10 machine, my log launching the SikuliX IDE 2.0.5 looks very similar, and gets stuck at the loading banner. I have tested IDE 2.0.5 with the bundled Jython 2.7.2 and also with the external Jython JAR provided at https://repo1.cmaven.org/maven2/org/python/jython-standalone/2.7.2/jython-standalone-2.7.2.jar.

Using AdoptOenJDK 8, 11, or 16 makes no difference. Removing and reinstalling Java does not help. Between tests, I remove the following SikuliX artifacts to "reset" the IDE:

Registry keyus: HKCU:\Software\JavaSoft\Prefs\org\sikuli\
File: %TEMP%\s_i_k_u_l_i-ide-isrunning
Folder: %TEMP%\Sikulix-*\ (recursive)
Folder: %APPDATA%\Sikulix\ (recursive)

and still I have the issue Vitor described.

Here is a log from command "java -jar sikulixide-2.0.5.jar -v -c":

PS C:\Users\Andrew\Documents\GitHub\my-tests.sikuli> java -jar sikulixide-2.0.5.jar -v -c
[DEBUG]startUp: IDE: Running: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Andrew\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting with classpath: sikulixide-2.0.5.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[error] FileManager: writeStringToFile: did not work: C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\lastUsedJar.txt
C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\lastUsedJar.txt (The system cannot find the path specified)
[171 debug] RunTime:temp folder ok: C:\Users\Andrew\AppData\Local\Temp\Sikulix_986341258
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 API
user.home: C:\Users\Andrew
work dir: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
running on Windows 10.0 from a jar
running Java AdoptOpenJDK 16+36
java.io.tmpdir: C:\Users\Andrew\AppData\Local\Temp
app data folder: C:\Users\Andrew\AppData\Roaming\Sikulix
executing jar: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: sikulixide-2.0.5.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[39 debug] Sikulix: starting IDE
[58 debug] RunTime:temp folder ok: C:\Users\Andrew\AppData\Local\Temp\Sikulix_1281421063
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 IDE
user.home: C:\Users\Andrew
work dir: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
running on Windows 10.0 from a jar
running Java AdoptOpenJDK 16+36
java.io.tmpdir: C:\Users\Andrew\AppData\Local\Temp
app data folder: C:\Users\Andrew\AppData\Roaming\Sikulix
executing jar: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
  1: sikulixide-2.0.5.jar
*** classpath dump end
***** show environment end
[283 debug] IDE: running with Locale: en_US
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -v
[DEBUG]startUp: IDE: 2: -c
[295 debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[397 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[398 debug] IDE: Init ScriptingSupport
[405 debug] IDESupport: enter
[2109 debug] Runner: added: NetworkRunner [] NET
[2115 debug] Runner: added: Jython [py] text/jython
[2116 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[2117 debug] Runner: added: SikulixJar [jar] text/jar
[2117 debug] Runner: added: PackedSikulix [skl] text/skl
[2118 debug] Runner: added: Text [txt] text/text
[2119 debug] Runner: added: SikulixExecutableJar [executablejar] text/jar
[2119 debug] Runner: added: PowerShell [ps1] text/powershell
[2120 debug] Runner: added: PackedSikulix [zip] application/zip
[2120 debug] Runner: added: Sikulix [] directory/sikulix
[2120 debug] IDESupport: added: Jython
[2121 debug] IDESupport: added: Text
[2122 debug] IDESupport: exit: defaultrunner: Jython (py)
[2124 debug] IDE: Reading Preferences
[2124 debug] IDE: Adding components to window
[2133 debug] IDE: [I18N] menuRecent
[2148 debug] IDE: [I18N] menuToolAndroid
[2152 debug] IDE: creating tabbed editor
[2256 debug] IDE: creating message area
[2324 debug] IDE: creating combined work window
[2327 debug] IDE: Putting all together
[2328 debug] IDE: Putting all together - after main pane
[2401 debug] IDE: Putting all together - after toolbar
[2404 debug] IDE: Putting all together - before layout
[2454 debug] IDE: Putting all together - after layout
[2456 debug] IDE: Putting all together - Restore last Session
[2458 debug] IDE: Restore scripts from last session
[2459 debug] IDE: Restore Sikuli script: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2470 debug] EditorPane: created 1616768129126
[2484 debug] EditorPane: loadfile: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2488 debug] JythonRunner: starting initialization
[2496 debug] RunTime:resourceLocation: (class org.sikuli.script.support.RunTime) /Lib
[2498 debug] RunTime:resourceList: having jar: jar:file:/C:/Users/Andrew/Documents/GitHub/my-tests.sikuli/sikulixide-2.0.5.jar!/Lib
[2528 debug] EditorPane: InitTab: (text/jython)
[2529 debug] SikuliEditorKit.read
[2588 debug] ImagePath: new BundlePath: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2589 debug] EditorPane: setFiles: for: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[error] ImagePath: find: not there: gui_welcome_login.png
[2628 debug] ImagePath: ImagePath has 1 entries (valid 1)
[2628 debug] ImagePath: BundlePath: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2643 debug] Screen: initScreens: starting
[2644 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[2645 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[2646 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[2646 debug] Screen: Monitor 0: (0, 0) 1536 x 864
[2649 debug] Screen: Monitor 1: (-2560, -653) 2560 x 1440
[2654 debug] Screen: initScreens: monitor mouse check
[2678 debug] Screen: *** checking: R[0,0 1536x864]@S(0) center: (768, 432) --- OK
[2703 debug] Screen: *** checking: R[-2560,-653 2560x1440]@S(1) center: (-1280, 67) --- OK
[error] RobotDesktop: checkMousePosition: should be L[228,738]@S(0) - but is not!
Possible cause in case you did not touch the mouse while script was running:
 Mouse actions are blocked generally or by the frontmost application.
You might try to run the SikuliX stuff as admin.
[2729 debug] Screen: initScreens: ending
[error] Region(1089,941,37,150) outside any screen - subsequent actions might not work as expected
[5345 debug] RunTime:files exported: 1192 from: Lib to:
 C:\Users\Andrew\AppData\Roaming\Sikulix\Lib
[6902 debug] Jython: added as Jython::sys.path[0]:
C:\Users\Andrew\AppData\Roaming\Sikulix\Lib\site-packages
[6904 debug] Jython: ***** sys.path
 0: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
 1: C:\Users\Andrew\AppData\Roaming\Sikulix\Lib\site-packages
 2: C:\Users\Andrew\AppData\Roaming\Sikulix\Lib
 3: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\Lib
 4: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar\Lib
[7099 debug] JythonRunner: ready: version 2.7.2

Do you need any other information? Please advise, what can be done to solve this issue?

Revision history for this message
Andrew Metzger (andrewjmetzger) said :
#5

Hi Raimund,

Same issue occurs with just one monitor (built into laptop). Here is the log:

PS C:\Users\Andrew\Documents\GitHub\my-tests.sikuli> java -jar sikulixide-2.0.5.jar -v -c
[DEBUG]startUp: IDE: Running: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Andrew\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting with classpath: sikulixide-2.0.5.jar ...
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[error] FileManager: writeStringToFile: did not work: C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\lastUsedJar.txt
C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\lastUsedJar.txt (The system cannot find the path specified)
[165 debug] RunTime:temp folder ok: C:\Users\Andrew\AppData\Local\Temp\Sikulix_1833801853
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 API
user.home: C:\Users\Andrew
work dir: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
running on Windows 10.0 from a jar
running Java AdoptOpenJDK 16+36
java.io.tmpdir: C:\Users\Andrew\AppData\Local\Temp
app data folder: C:\Users\Andrew\AppData\Roaming\Sikulix
executing jar: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: sikulixide-2.0.5.jar
*** classpath dump end
***** show environment end
[DEBUG]startUp: IDE: *********************** leaving start
[38 debug] Sikulix: starting IDE
[55 debug] RunTime:temp folder ok: C:\Users\Andrew\AppData\Local\Temp\Sikulix_951871647
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Andrew\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 2.0.5 IDE
user.home: C:\Users\Andrew
work dir: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
running on Windows 10.0 from a jar
running Java AdoptOpenJDK 16+36
java.io.tmpdir: C:\Users\Andrew\AppData\Local\Temp
app data folder: C:\Users\Andrew\AppData\Roaming\Sikulix
executing jar: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
*** classpath dump sikulix
  0: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar
  1: sikulixide-2.0.5.jar
*** classpath dump end
***** show environment end
[172 debug] IDE: running with Locale: en_US
[DEBUG]startUp: IDE: --- Sikuli parameters ---
[DEBUG]startUp: IDE: 1: -v
[DEBUG]startUp: IDE: 2: -c
[189 debug] HotkeyManager: add Capture Hotkey: CTRL+SHIFT 2 (50, 3)
[303 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[304 debug] IDE: Init ScriptingSupport
[307 debug] IDESupport: enter
[2120 debug] Runner: added: PowerShell [ps1] text/powershell
[2121 debug] Runner: added: Sikulix [] directory/sikulix
[2122 debug] Runner: added: NetworkRunner [] NET
[2122 debug] Runner: added: SikulixJar [jar] text/jar
[2123 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[2124 debug] Runner: added: PackedSikulix [skl] text/skl
[2124 debug] Runner: added: PackedSikulix [zip] application/zip
[2124 debug] Runner: added: SikulixExecutableJar [executablejar] text/jar
[2125 debug] Runner: added: Text [txt] text/text
[2132 debug] Runner: added: Jython [py] text/jython
[2132 debug] IDESupport: added: Jython
[2132 debug] IDESupport: added: Text
[2133 debug] IDESupport: exit: defaultrunner: Jython (py)
[2136 debug] IDE: Reading Preferences
[2137 debug] IDE: Adding components to window
[2144 debug] IDE: [I18N] menuRecent
[2159 debug] IDE: [I18N] menuToolAndroid
[2162 debug] IDE: creating tabbed editor
[2260 debug] IDE: creating message area
[2336 debug] IDE: creating combined work window
[2339 debug] IDE: Putting all together
[2340 debug] IDE: Putting all together - after main pane
[2418 debug] IDE: Putting all together - after toolbar
[2422 debug] IDE: Putting all together - before layout
[2470 debug] IDE: Putting all together - after layout
[2473 debug] IDE: Putting all together - Restore last Session
[2474 debug] IDE: Restore scripts from last session
[2474 debug] IDE: Restore Sikuli script: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2499 debug] EditorPane: created 1616768525284
[2509 debug] EditorPane: loadfile: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2514 debug] JythonRunner: starting initialization
[2519 debug] RunTime:resourceLocation: (class org.sikuli.script.support.RunTime) /Lib
[2520 debug] RunTime:resourceList: having jar: jar:file:/C:/Users/Andrew/Documents/GitHub/my-tests.sikuli/sikulixide-2.0.5.jar!/Lib
[2559 debug] EditorPane: InitTab: (text/jython)
[2561 debug] SikuliEditorKit.read
[2621 debug] ImagePath: new BundlePath: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2621 debug] EditorPane: setFiles: for: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[error] ImagePath: find: not there: gui_welcome_login.png
[2645 debug] ImagePath: ImagePath has 1 entries (valid 1)
[2645 debug] ImagePath: BundlePath: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
[2654 debug] Screen: initScreens: starting
[2654 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[2655 debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[2656 debug] Screen: ScreenDevice 0 has (0,0) --- will be primary Screen(0)
[2656 debug] Screen: Monitor 0: (0, 0) 1536 x 864
[2660 debug] Screen: initScreens: monitor mouse check
[2688 debug] Screen: *** checking: R[0,0 1536x864]@S(0) center: (768, 432) --- OK
[2708 debug] Screen: initScreens: ending
[error] Region(1089,941,37,150) outside any screen - subsequent actions might not work as expected
[5356 debug] RunTime:files exported: 1192 from: Lib to:
 C:\Users\Andrew\AppData\Roaming\Sikulix\Lib
[6728 debug] Jython: added as Jython::sys.path[0]:
C:\Users\Andrew\AppData\Roaming\Sikulix\Lib\site-packages
[6730 debug] Jython: ***** sys.path
 0: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli
 1: C:\Users\Andrew\AppData\Roaming\Sikulix\Lib\site-packages
 2: C:\Users\Andrew\AppData\Roaming\Sikulix\Lib
 3: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\Lib
 4: C:\Users\Andrew\Documents\GitHub\my-tests.sikuli\sikulixide-2.0.5.jar\Lib
[6857 debug] JythonRunner: ready: version 2.7.2

Revision history for this message
RaiMan (raimund-hocke) said :
#6

@Andrew
- put the sikulix....jar in a folder where it is alone (not into some .sikuli folder)
- purge the Jython....jar - not needed
- again delete the Sikulix app data folder
- rename the folder C:\Users\Andrew\Documents\GitHub\my-tests.sikuli temporarily to something else (so it will not be loaded at startup)

... and try again with the extra monitor detached

Revision history for this message
Andrew Metzger (andrewjmetzger) said :
#7

Thank you!

Renaming the "my-tests.sikuli" folder and moving the JAR allows me to launch an empty IDE. No need to remove the second monitor. Maybe something in my script causes the issues?

Revision history for this message
Vitor Faeda Dalto (fdaltov) said :
#8

Thanks RaiMan, that solved my question.

Revision history for this message
Vitor Faeda Dalto (fdaltov) said :
#9

Hi Raiman,

Using only one monitor really solved the launch problem.

Although It is yet not functional. I seems like the app is only vewing a fraction of the screen (like 1/3).

I dont really know if its smth related to windows 10 DPI adjustments.

So, I can launch the App with only 1 monitor, but Sikulix doesnt recognize all the scren propperly. And I would like to use the App with both monitors pluged in.

Is it possible ?

Revision history for this message
RaiMan (raimund-hocke) said :
#10

@Andrew
It looks like you have some absolute Region definition in your script:
[error] Region(1089,941,37,150) outside any screen - subsequent actions might not work as expected (might be created using the Region button).

that might have been in conflict with the first screen setup.

When loading the script, we try to create a visual from the Region definition.

I will check, what happens in such situations. Might be that something has to be fixed.

Revision history for this message
RaiMan (raimund-hocke) said :
#11

@Vitor
HiRes monitors have problems with SikuliX and Java 8.

It will be smoother, when you use Java 11 from here:
https://adoptopenjdk.net

at least for SikuliX.

... and look here: https://bugs.launchpad.net/sikuli/+bug/1730645

Come back if it is a challenge ;-)

Revision history for this message
Vitor Faeda Dalto (fdaltov) said :
#12

Hello,
I have installed JDK 11, the IDE launched BUT it seems to be "seeing" the screen wrongly.

When I click on the button capture screen it doesnt includes the small monitor.
When I check the image (double click) and open the view match it really includes all monitors.

I will try to include the image as JPG and see if it works.

My screen has differents DPI each.

Can you help with this problem?

Provide an answer of your own, or ask Vitor Faeda Dalto for more information if necessary.

To post a message you must log in.