latest version of Sikuli X (downloaded today) launching from command line

Asked by Mike Praeuner on 2019-08-25

Using the ~May Image of Sikuli X (#288) I have no issues - but I would like to upgrade to the newest version (#368) from: https://raiman.github.io/SikuliX1/downloads.html to fix the JScreen error discussed here: https://bugs.launchpad.net/sikuli/+bug/1835099

my Launch command options I have tried: (from here: http://doc.sikuli.org/faq/010-command-line.html )

java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -r "d:\mike\Sikuli Scripts\Test1.sikuli"
java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -r "d:\mike\Sikuli Scripts\Test1"
#the command just closes - no error (returns to prompt) after about 3 seconds

java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" --run "d:\mike\Sikuli Scripts\Test1.sikuli"
#opens IDE
java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" --run "d:\mike\Sikuli Scripts\Test1"
#opens IDE

java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar"
#Successfully launches the IDE *(most of the time, occasionally hangs on splash)

Test1 and Test2 both successfully run from the IDE (setup two different ways to launch a program via visual and app method)

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2019-08-27
Last query:
2019-08-27
Last reply:
2019-08-27
RaiMan (raimund-hocke) said : #1

just tested on my Windows 10 with your path name setup: works.

use
java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -v -r "d:\mike\Sikuli Scripts\Test1"

to get full debug output

BTW: how do you see, that your script is not running? what should it do?
test scripts should always produce some visible output (print and/or popup).

One more thing as a general recommendation: it is a life experience to not use spaces in path and file names. They might make problems in various situations. ... and in SikuliX there might still be old code that might not work with such names.
If you only use characters, digits (no spaces nor special characters), you are always on the safe side. Additionally you can use hyphen and underscore besides camelCasing to structure a path or filename.

... and MikE and mike reference the same directory and hence should always be written as the directory is shown in the explorer.

... but has nothing to do with your situation.

Mike Praeuner (eris667) said : #2

#Here is the output from -v
#I will look at your other recommendations here shortly - thanks!

C:\Users\Eris\Desktop>java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -v -r "D:\MikE\Sikuli Scripts\Test1.sikuli"
[DEBUG]startUp: IDE: Running: D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Eris\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG]startUp: IDE: Classpath: D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[47 debug] RunTime:temp folder ok: C:\Users\Eris\AppData\Local\Temp\Sikulix_2006428554
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Eris\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 1.1.4-SNAPSHOT-#368-2019-08-20_12:33 API
user.home: C:\Users\Eris
user.dir (work dir): C:\Users\Eris\Desktop
user.name: Eris
java.io.tmpdir: C:\Users\Eris\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.221-b11 class 52.0 arch 64
app data folder: C:\Users\Eris\AppData\Roaming\Sikulix
executing jar: D:\MikE\Sikuli%201.1.4%20August%20Archive\sikulix.jar
*** classpath dump sikulix
  0: file:/D:/MikE/Sikuli%201.1.4%20August%20Archive/sikulix.jar
  1: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[1425 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[1429 debug] Runner: added: Sikulix [] directory/sikulix
[1775 debug] Runner: added: JavaScript [js] text/javascript
[1776 debug] Runner: added: PackedSikulix [zip] application/zip
[1777 debug] Runner: added: Text [txt] text/text
[1778 debug] Runner: added: PowerShell [ps1] text/powershell
[1779 debug] Runner: added: SikulixJar [jar] text/jar
[1781 debug] Runner: added: Robot [robot] text/robot
[1781 debug] Runner: added: PackedSikulix [skl] text/skl
[1797 debug] Runner: added: Jython [py] text/jython
[1804 debug] Runner: added: JRuby [rb] text/ruby
[1805 debug] Runner: added: NetworkRunner [] NET
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[1815 debug] init user preferences
[1818 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[2063 debug] Runner: runscript: new base directory: D:\MikE\Sikuli Scripts\Test1.sikuli
[2373 debug] HotkeyManager: reset: removed all SikuliX hotkeys.
[2374 debug] HotkeyController: stopping hotkey provider
[2976 debug] RunTime:***** final cleanup at System.exit() *****
[2983 debug] FileManager: deleteFileOrFolder:
C:\Users\Eris\AppData\Local\Temp\Sikulix_2006428554

C:\Users\Eris\Desktop>

RaiMan (raimund-hocke) said : #3

ok, thanks. I have to check - might be a regression bug.

try:
C:\Users\Eris\Desktop>java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -v -r "D:\MikE\Sikuli Scripts\" Test1.sikuli"

RaiMan (raimund-hocke) said : #4

found a possible reason for your problem:

If the Test1.sikuli does not contain a Test1.py it silently does nothing.

Hence a Test1.sikuli MUST contain a Test1.py.

Mike Praeuner (eris667) said : #5

# updated results

java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -v -r "D:\MikE\Sikuli Scripts\" Test1.sikuli"
[DEBUG]startUp: IDE: Running: D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Eris\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG]startUp: IDE: Classpath: D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[45 debug] RunTime:temp folder ok: C:\Users\Eris\AppData\Local\Temp\Sikulix_1280334859
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Eris\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 1.1.4-SNAPSHOT-#368-2019-08-20_12:33 API
user.home: C:\Users\Eris
user.dir (work dir): C:\Users\Eris\Desktop
user.name: Eris
java.io.tmpdir: C:\Users\Eris\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.221-b11 class 52.0 arch 64
app data folder: C:\Users\Eris\AppData\Roaming\Sikulix
executing jar: D:\MikE\Sikuli%201.1.4%20August%20Archive\sikulix.jar
*** classpath dump sikulix
  0: file:/D:/MikE/Sikuli%201.1.4%20August%20Archive/sikulix.jar
  1: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[1318 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[1321 debug] Runner: added: Sikulix [] directory/sikulix
[1606 debug] Runner: added: JavaScript [js] text/javascript
[1607 debug] Runner: added: PackedSikulix [zip] application/zip
[1608 debug] Runner: added: Text [txt] text/text
[1608 debug] Runner: added: PowerShell [ps1] text/powershell
[1609 debug] Runner: added: SikulixJar [jar] text/jar
[1610 debug] Runner: added: Robot [robot] text/robot
[1610 debug] Runner: added: PackedSikulix [skl] text/skl
[1623 debug] Runner: added: Jython [py] text/jython
[1628 debug] Runner: added: JRuby [rb] text/ruby
[1629 debug] Runner: added: NetworkRunner [] NET
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[1640 debug] init user preferences
[1642 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[1880 debug] Runner: runscript: new base directory: D:\MikE\Sikuli Scripts
[1880 debug] Runner: runscript: new base directory: D:\MikE\Sikuli Scripts\Test1.sikuli
[2189 debug] HotkeyManager: reset: removed all SikuliX hotkeys.
[2189 debug] HotkeyController: stopping hotkey provider
[2790 debug] RunTime:***** final cleanup at System.exit() *****
[2796 debug] FileManager: deleteFileOrFolder:
C:\Users\Eris\AppData\Local\Temp\Sikulix_1280334859

#simplified path / other variables to D:MikE\test\
java -jar "D:\MikE\test\sikulix.jar" -v -r "D:\MikE\test\" Test1.sikuli"
[DEBUG]startUp: IDE: Running: D:\MikE\test\sikulix.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Eris\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG]startUp: IDE: Classpath: D:\MikE\test\sikulix.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[47 debug] RunTime:temp folder ok: C:\Users\Eris\AppData\Local\Temp\Sikulix_1479862609
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Eris\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 1.1.4-SNAPSHOT-#368-2019-08-20_12:33 API
user.home: C:\Users\Eris
user.dir (work dir): D:\MikE\test
user.name: Eris
java.io.tmpdir: C:\Users\Eris\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.221-b11 class 52.0 arch 64
app data folder: C:\Users\Eris\AppData\Roaming\Sikulix
executing jar: D:\MikE\test\sikulix.jar
*** classpath dump sikulix
  0: file:/D:/MikE/test/sikulix.jar
  1: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[1302 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[1306 debug] Runner: added: Sikulix [] directory/sikulix
[1581 debug] Runner: added: JavaScript [js] text/javascript
[1582 debug] Runner: added: PackedSikulix [zip] application/zip
[1582 debug] Runner: added: Text [txt] text/text
[1583 debug] Runner: added: PowerShell [ps1] text/powershell
[1583 debug] Runner: added: SikulixJar [jar] text/jar
[1585 debug] Runner: added: Robot [robot] text/robot
[1585 debug] Runner: added: PackedSikulix [skl] text/skl
[1597 debug] Runner: added: Jython [py] text/jython
[1603 debug] Runner: added: JRuby [rb] text/ruby
[1603 debug] Runner: added: NetworkRunner [] NET
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[1612 debug] init user preferences
[1614 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[1835 debug] Runner: runscript: new base directory: D:\MikE\test
[1836 debug] Runner: runscript: new base directory: D:\MikE\test\Test1.sikuli
[2145 debug] HotkeyManager: reset: removed all SikuliX hotkeys.
[2147 debug] HotkeyController: stopping hotkey provider
[2754 debug] RunTime:***** final cleanup at System.exit() *****
[2777 debug] FileManager: deleteFileOrFolder:
C:\Users\Eris\AppData\Local\Temp\Sikulix_1479862609

java -jar "D:\MikE\test\sikulix.jar" -v -r "D:\MikE\test\" Test1"
[DEBUG]startUp: IDE: Running: D:\MikE\test\sikulix.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Eris\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG]startUp: IDE: Classpath: D:\MikE\test\sikulix.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[46 debug] RunTime:temp folder ok: C:\Users\Eris\AppData\Local\Temp\Sikulix_1733713682
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Eris\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 1.1.4-SNAPSHOT-#368-2019-08-20_12:33 API
user.home: C:\Users\Eris
user.dir (work dir): D:\MikE\test
user.name: Eris
java.io.tmpdir: C:\Users\Eris\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.221-b11 class 52.0 arch 64
app data folder: C:\Users\Eris\AppData\Roaming\Sikulix
executing jar: D:\MikE\test\sikulix.jar
*** classpath dump sikulix
  0: file:/D:/MikE/test/sikulix.jar
  1: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[1353 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[1356 debug] Runner: added: Sikulix [] directory/sikulix
[1640 debug] Runner: added: JavaScript [js] text/javascript
[1642 debug] Runner: added: PackedSikulix [zip] application/zip
[1642 debug] Runner: added: Text [txt] text/text
[1643 debug] Runner: added: PowerShell [ps1] text/powershell
[1643 debug] Runner: added: SikulixJar [jar] text/jar
[1644 debug] Runner: added: Robot [robot] text/robot
[1645 debug] Runner: added: PackedSikulix [skl] text/skl
[1656 debug] Runner: added: Jython [py] text/jython
[1662 debug] Runner: added: JRuby [rb] text/ruby
[1663 debug] Runner: added: NetworkRunner [] NET
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[1672 debug] init user preferences
[1674 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[1895 debug] Runner: runscript: new base directory: D:\MikE\test
[1895 debug] Runner: runscript: new base directory: D:\MikE\test\Test1.sikuli
[2204 debug] HotkeyManager: reset: removed all SikuliX hotkeys.
[2205 debug] HotkeyController: stopping hotkey provider
[2808 debug] RunTime:***** final cleanup at System.exit() *****
[2823 debug] FileManager: deleteFileOrFolder:
C:\Users\Eris\AppData\Local\Temp\Sikulix_1733713682

##Older version of the API with -v
java -jar "D:\MikE\sikulix.jar" -v -r "D:\MikE\Sikuli Scripts\" Test1
[DEBUG] IDE: starting
[DEBUG] IDE: no extensions.txt nor valid content
[DEBUG] IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG] IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG] IDE: Running: D:\MikE\sikulix.jar
[DEBUG] IDE: AppData: C:\Users\Eris\AppData\Roaming\Sikulix
[DEBUG] IDE: Classpath: D:\MikE\sikulix.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG] IDE: no extensions.txt nor valid content
[51 debug] RunTimeINIT: temp folder ok: C:\Users\Eris\AppData\Local\Temp\Sikulix_424989980
***** show environment for 1.1.4-SNAPSHOT-#288-2019-04-20_14:08 API
user.home: C:\Users\Eris
user.dir (work dir): C:\Users\Eris\Desktop
user.name: Eris
java.io.tmpdir: C:\Users\Eris\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.221-b11 class 52.0 arch 64
app data folder: C:\Users\Eris\AppData\Roaming\Sikulix
executing jar: D:\MikE\sikulix.jar
*** classpath dump sikulix
  0: file:/D:/MikE/sikulix.jar
  1: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[1334 debug] Runner: added: Robot [robot] text/robot
[1335 debug] Runner: added: Sikulix [sikuli] directory/sikulix
[1347 debug] Runner: added: JRuby [rb] text/ruby
[1348 debug] Runner: added: Text [txt] text/text
[1626 debug] Runner: added: JavaScript [js] text/javascript
[1627 debug] Runner: added: NetworkRunner [] NET
[1636 debug] Runner: added: Jython [py] text/jython
[1636 debug] Runner: added: PowerShell [ps1] text/powershell
[1641 debug] ImagePath: new BundlePath:
/D:/MikE/Sikuli Scripts.sikuli/
[1643 debug] Jython: starting initialization
[4456 debug] RunTimeAPI: resourceLocation: (class org.sikuli.script.support.RunTime) /Lib/sikuli
[4456 debug] RunTimeAPI: resourceList: having jar: jar:file:/D:/MikE/sikulix.jar!/Lib/sikuli
[6413 debug] RunTimeAPI: files exported: 7 from: Lib/sikuli to:
 C:\Users\Eris\AppData\Roaming\Sikulix\Lib\sikuli
[6416 debug] Jython: ***** sys.path
 0: /D:/MikE/Sikuli Scripts.sikuli/
 1: C:\Users\Eris\AppData\Roaming\Sikulix\Lib
 2: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\Lib
 3: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib
[6429 debug] Jython: ready: version 2.7.1
[debug] Jython: SikulixForJython: init: starting
[debug] Jython: Default ImagePath: null
[debug] Jython: SikulixForJython: init: success
[debug] Jython: sikuli: Sikuli: starting init
[debug] Screen: initScreens: starting
[debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[debug] Screen: Monitor 0: (2560, 101) 1280 x 1024
[debug] Screen: Monitor 1: (-1280, 115) 1280 x 1024
[debug] Screen: ScreenDevice 2 has (0,0) --- will be primary Screen(0)
[debug] Screen: Monitor 2: (0, 0) 2560 x 1440
[debug] Mouse: init start
[debug] Mouse: init end
[debug] Screen: initScreens: multi monitor mouse check
[debug] Screen: *** checking: R[0,0 2560x1440]@S(0) center: (1280, 720) --- OK
[debug] Screen: *** checking: R[2560,101 1280x1024]@S(1) center: (3200, 613) --- OK
[debug] Screen: *** checking: R[-1280,115 1280x1024]@S(2) center: (-640, 627) --- OK
[debug] Screen: initScreens: ending
[debug] Jython: use as default region: R[0,0 2560x1440]@S(0)
[debug] Jython: sikuli: Sikuli: ending init
[debug] Jython: use as default region: R[0,0 2560x1440]@S(0)
[error] Runner: Script file not found: /D:/MikE/Test1.sikuli
[debug] RunTimeAPI: ***** final cleanup at System.exit() *****
[debug] FileManager: deleteFileOrFolder:
C:\Users\Eris\AppData\Local\Temp\Sikulix_424989980
IDE terminated: returned: 1

#weird - going to make test3 Hello World example
#popup("Hello World!\nHave fun with Sikuli!")

java -jar "D:\MikE\sikulix.jar" -v -r "D:\MikE\Sikuli Scripts\" Test3"
[DEBUG] IDE: starting
[DEBUG] IDE: no extensions.txt nor valid content
[DEBUG] IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG] IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG] IDE: Running: D:\MikE\sikulix.jar
[DEBUG] IDE: AppData: C:\Users\Eris\AppData\Roaming\Sikulix
[DEBUG] IDE: Classpath: D:\MikE\sikulix.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG] IDE: no extensions.txt nor valid content
[49 debug] RunTimeINIT: temp folder ok: C:\Users\Eris\AppData\Local\Temp\Sikulix_1864751183
***** show environment for 1.1.4-SNAPSHOT-#288-2019-04-20_14:08 API
user.home: C:\Users\Eris
user.dir (work dir): C:\Users\Eris\Desktop
user.name: Eris
java.io.tmpdir: C:\Users\Eris\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.221-b11 class 52.0 arch 64
app data folder: C:\Users\Eris\AppData\Roaming\Sikulix
executing jar: D:\MikE\sikulix.jar
*** classpath dump sikulix
  0: file:/D:/MikE/sikulix.jar
  1: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[1286 debug] Runner: added: Robot [robot] text/robot
[1287 debug] Runner: added: Sikulix [sikuli] directory/sikulix
[1300 debug] Runner: added: JRuby [rb] text/ruby
[1300 debug] Runner: added: Text [txt] text/text
[1581 debug] Runner: added: JavaScript [js] text/javascript
[1582 debug] Runner: added: NetworkRunner [] NET
[1591 debug] Runner: added: Jython [py] text/jython
[1592 debug] Runner: added: PowerShell [ps1] text/powershell
[1596 debug] ImagePath: new BundlePath:
/D:/MikE/Sikuli Scripts.sikuli/
[1598 debug] Jython: starting initialization
[4475 debug] RunTimeAPI: resourceLocation: (class org.sikuli.script.support.RunTime) /Lib/sikuli
[4476 debug] RunTimeAPI: resourceList: having jar: jar:file:/D:/MikE/sikulix.jar!/Lib/sikuli
[6485 debug] RunTimeAPI: files exported: 7 from: Lib/sikuli to:
 C:\Users\Eris\AppData\Roaming\Sikulix\Lib\sikuli
[6488 debug] Jython: ***** sys.path
 0: /D:/MikE/Sikuli Scripts.sikuli/
 1: C:\Users\Eris\AppData\Roaming\Sikulix\Lib
 2: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\Lib
 3: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib
[6499 debug] Jython: ready: version 2.7.1
[debug] Jython: SikulixForJython: init: starting
[debug] Jython: Default ImagePath: null
[debug] Jython: SikulixForJython: init: success
[debug] Jython: sikuli: Sikuli: starting init
[debug] Screen: initScreens: starting
[debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[debug] Screen: Monitor 0: (2560, 101) 1280 x 1024
[debug] Screen: Monitor 1: (-1280, 115) 1280 x 1024
[debug] Screen: ScreenDevice 2 has (0,0) --- will be primary Screen(0)
[debug] Screen: Monitor 2: (0, 0) 2560 x 1440
[debug] Mouse: init start
[debug] Mouse: init end
[debug] Screen: initScreens: multi monitor mouse check
[debug] Screen: *** checking: R[0,0 2560x1440]@S(0) center: (1280, 720) --- OK
[debug] Screen: *** checking: R[2560,101 1280x1024]@S(1) center: (3200, 613) --- OK
[debug] Screen: *** checking: R[-1280,115 1280x1024]@S(2) center: (-640, 627) --- OK
[debug] Screen: initScreens: ending
[debug] Jython: use as default region: R[0,0 2560x1440]@S(0)
[debug] Jython: sikuli: Sikuli: ending init
[debug] Jython: use as default region: R[0,0 2560x1440]@S(0)
[error] Runner: Script file not found: /D:/MikE/Test3.sikuli
[debug] RunTimeAPI: ***** final cleanup at System.exit() *****
[debug] FileManager: deleteFileOrFolder:
C:\Users\Eris\AppData\Local\Temp\Sikulix_1864751183
IDE terminated: returned: 1

#success / old IDE
java -jar "D:\MikE\sikulix.jar" -v -r "D:\MikE\Sikuli Scripts\Test3"
[DEBUG] IDE: starting
[DEBUG] IDE: no extensions.txt nor valid content
[DEBUG] IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG] IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG] IDE: Running: D:\MikE\sikulix.jar
[DEBUG] IDE: AppData: C:\Users\Eris\AppData\Roaming\Sikulix
[DEBUG] IDE: Classpath: D:\MikE\sikulix.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG] IDE: no extensions.txt nor valid content
[49 debug] RunTimeINIT: temp folder ok: C:\Users\Eris\AppData\Local\Temp\Sikulix_1262371900
***** show environment for 1.1.4-SNAPSHOT-#288-2019-04-20_14:08 API
user.home: C:\Users\Eris
user.dir (work dir): C:\Users\Eris\Desktop
user.name: Eris
java.io.tmpdir: C:\Users\Eris\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.221-b11 class 52.0 arch 64
app data folder: C:\Users\Eris\AppData\Roaming\Sikulix
executing jar: D:\MikE\sikulix.jar
*** classpath dump sikulix
  0: file:/D:/MikE/sikulix.jar
  1: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[1309 debug] Runner: added: Robot [robot] text/robot
[1310 debug] Runner: added: Sikulix [sikuli] directory/sikulix
[1322 debug] Runner: added: JRuby [rb] text/ruby
[1322 debug] Runner: added: Text [txt] text/text
[1596 debug] Runner: added: JavaScript [js] text/javascript
[1597 debug] Runner: added: NetworkRunner [] NET
[1606 debug] Runner: added: Jython [py] text/jython
[1606 debug] Runner: added: PowerShell [ps1] text/powershell
[1611 debug] ImagePath: new BundlePath:
/D:/MikE/Sikuli Scripts/test3.sikuli/
[1613 debug] Jython: starting initialization
[4392 debug] RunTimeAPI: resourceLocation: (class org.sikuli.script.support.RunTime) /Lib/sikuli
[4393 debug] RunTimeAPI: resourceList: having jar: jar:file:/D:/MikE/sikulix.jar!/Lib/sikuli
[6365 debug] RunTimeAPI: files exported: 7 from: Lib/sikuli to:
 C:\Users\Eris\AppData\Roaming\Sikulix\Lib\sikuli
[6370 debug] Jython: ***** sys.path
 0: /D:/MikE/Sikuli Scripts/test3.sikuli/
 1: C:\Users\Eris\AppData\Roaming\Sikulix\Lib
 2: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\Lib
 3: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib
[6393 debug] Jython: ready: version 2.7.1
[debug] Jython: SikulixForJython: init: starting
[debug] Jython: Default ImagePath: null
[debug] Jython: SikulixForJython: init: success
[debug] Jython: sikuli: Sikuli: starting init
[debug] Screen: initScreens: starting
[debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[debug] Screen: Monitor 0: (2560, 101) 1280 x 1024
[debug] Screen: Monitor 1: (-1280, 115) 1280 x 1024
[debug] Screen: ScreenDevice 2 has (0,0) --- will be primary Screen(0)
[debug] Screen: Monitor 2: (0, 0) 2560 x 1440
[debug] Mouse: init start
[debug] Mouse: init end
[debug] Screen: initScreens: multi monitor mouse check
[debug] Screen: *** checking: R[0,0 2560x1440]@S(0) center: (1280, 720) --- OK
[debug] Screen: *** checking: R[2560,101 1280x1024]@S(1) center: (3200, 613) --- OK
[debug] Screen: *** checking: R[-1280,115 1280x1024]@S(2) center: (-640, 627) --- OK
[debug] Screen: initScreens: ending
[debug] Jython: use as default region: R[0,0 2560x1440]@S(0)
[debug] Jython: sikuli: Sikuli: ending init
[debug] Jython: use as default region: R[0,0 2560x1440]@S(0)
[debug] ( Ctrl ) TYPE "#ESC."
[debug] Region: ( Ctrl ) TYPE "#ESC."
[debug] Image: loaded: 1566693881873.png (file:/D:/MikE/Sikuli Scripts/test3.sikuli/1566693881873.png)
[debug] Image: cached: 1566693881873.png (4 KB) (# 1 KB 4 -- 0 % of 64 MB)
[debug] Region: wait: waiting 3.0 secs for 1566693881873.png to appear in R[0,0 2560x1440]@S(0)
[debug] RunTimeAPI: addToWindowsSystemPath: added to systempath:
C:\Users\Eris\AppData\Roaming\Sikulix\SikulixLibs
[debug] RunTimeAPI: checkJavaUsrPath: added to ClassLoader.usrPaths
[debug] RunTimeAPI: libsExport: folder exists: C:\Users\Eris\AppData\Roaming\Sikulix\SikulixLibs (1.1.4 - 201904201408)
[debug] RunTimeAPI: loadLib: opencv_java342.dll (success)
[debug] Finder2: makeMat: INT_RGB (2560x1440)
[debug] Finder2: makeMat: 3BYTE_BGR (58x27)
[debug] Finder2: doFind: start (stdDev: 113.9593 mean: 209.713282)
[debug] Finder2: doFind: in original: %93.6944 (?70) 562 msec
[debug] Finder2: doFind: end 563 msec
[debug] Region: wait: 1566693881873.png appeared (M[10,1079 58x27]@S(0) S:0.94 C:39,1092 [795 msec])
[debug] Device: Mouse: moved externally: now (919,524) was (742,333) (mouseMovedResponse 0)
[debug] CLICK on L[39,1092]@S(0) (525 msec)
[debug] RunTimeAPI: ***** final cleanup at System.exit() *****
[debug] FileManager: deleteFileOrFolder:
C:\Users\Eris\AppData\Local\Temp\Sikulix_1262371900
IDE terminated: returned: 0

#fail
java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -v -r "D:\MikE\Sikuli Scripts\Test3"
[DEBUG]startUp: IDE: Running: D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Eris\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG]startUp: IDE: Classpath: D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[47 debug] RunTime:temp folder ok: C:\Users\Eris\AppData\Local\Temp\Sikulix_479903511
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Eris\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 1.1.4-SNAPSHOT-#368-2019-08-20_12:33 API
user.home: C:\Users\Eris
user.dir (work dir): C:\Users\Eris\Desktop
user.name: Eris
java.io.tmpdir: C:\Users\Eris\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.221-b11 class 52.0 arch 64
app data folder: C:\Users\Eris\AppData\Roaming\Sikulix
executing jar: D:\MikE\Sikuli%201.1.4%20August%20Archive\sikulix.jar
*** classpath dump sikulix
  0: file:/D:/MikE/Sikuli%201.1.4%20August%20Archive/sikulix.jar
  1: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[1338 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[1342 debug] Runner: added: Sikulix [] directory/sikulix
[1622 debug] Runner: added: JavaScript [js] text/javascript
[1623 debug] Runner: added: PackedSikulix [zip] application/zip
[1623 debug] Runner: added: Text [txt] text/text
[1624 debug] Runner: added: PowerShell [ps1] text/powershell
[1625 debug] Runner: added: SikulixJar [jar] text/jar
[1626 debug] Runner: added: Robot [robot] text/robot
[1626 debug] Runner: added: PackedSikulix [skl] text/skl
[1638 debug] Runner: added: Jython [py] text/jython
[1643 debug] Runner: added: JRuby [rb] text/ruby
[1644 debug] Runner: added: NetworkRunner [] NET
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[1652 debug] init user preferences
[1654 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[1895 debug] Runner: runscript: new base directory: D:\MikE\Sikuli Scripts\Test3.sikuli
[2204 debug] HotkeyManager: reset: removed all SikuliX hotkeys.
[2205 debug] HotkeyController: stopping hotkey provider
[2809 debug] RunTime:***** final cleanup at System.exit() *****
[2834 debug] FileManager: deleteFileOrFolder:
C:\Users\Eris\AppData\Local\Temp\Sikulix_479903511

#fail
java -jar "D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar" -v -r "D:\MikE\Sikuli Scripts\" Test3"
[DEBUG]startUp: IDE: Running: D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Eris\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG]startUp: IDE: Classpath: D:\MikE\Sikuli 1.1.4 August Archive\sikulix.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[45 debug] RunTime:temp folder ok: C:\Users\Eris\AppData\Local\Temp\Sikulix_957834262
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Eris\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 1.1.4-SNAPSHOT-#368-2019-08-20_12:33 API
user.home: C:\Users\Eris
user.dir (work dir): C:\Users\Eris\Desktop
user.name: Eris
java.io.tmpdir: C:\Users\Eris\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.221-b11 class 52.0 arch 64
app data folder: C:\Users\Eris\AppData\Roaming\Sikulix
executing jar: D:\MikE\Sikuli%201.1.4%20August%20Archive\sikulix.jar
*** classpath dump sikulix
  0: file:/D:/MikE/Sikuli%201.1.4%20August%20Archive/sikulix.jar
  1: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[1315 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[1318 debug] Runner: added: Sikulix [] directory/sikulix
[1615 debug] Runner: added: JavaScript [js] text/javascript
[1616 debug] Runner: added: PackedSikulix [zip] application/zip
[1616 debug] Runner: added: Text [txt] text/text
[1617 debug] Runner: added: PowerShell [ps1] text/powershell
[1617 debug] Runner: added: SikulixJar [jar] text/jar
[1619 debug] Runner: added: Robot [robot] text/robot
[1619 debug] Runner: added: PackedSikulix [skl] text/skl
[1631 debug] Runner: added: Jython [py] text/jython
[1636 debug] Runner: added: JRuby [rb] text/ruby
[1637 debug] Runner: added: NetworkRunner [] NET
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[1647 debug] init user preferences
[1649 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[1891 debug] Runner: runscript: new base directory: D:\MikE\Sikuli Scripts
[1891 debug] Runner: runscript: new base directory: D:\MikE\Sikuli Scripts\Test3.sikuli
[2200 debug] HotkeyManager: reset: removed all SikuliX hotkeys.
[2205 debug] HotkeyController: stopping hotkey provider
[2803 debug] RunTime:***** final cleanup at System.exit() *****
[2811 debug] FileManager: deleteFileOrFolder:
C:\Users\Eris\AppData\Local\Temp\Sikulix_957834262

so weird..... hopefully something in that wall of text helps

Mike Praeuner (eris667) said : #6

##the contents of test3 (only 3 lines, nothing extra)
popup("Hello World!\nHave fun with Sikuli!") #simple test
type(Key.ESC, KeyModifier.CTRL) #Win Start Menu
click("1566693881873.png") #launch app

RaiMan (raimund-hocke) said : #7

maybe you have overseen this: (#4)

found a possible reason for your problem:

If the Test1.sikuli does not contain a Test1.py it silently does nothing.

Hence a Test1.sikuli MUST contain a Test1.py.

Mike Praeuner (eris667) said : #8

so I checked all (3)
D:\MikE\Sikuli Scripts\test3.sikuli
# contains test3.py
# contains 1566693881873.png
D:\MikE\Sikuli Scripts\test2.sikuli
# contains test2.py
# contains 1566693881873.png
D:\MikE\Sikuli Scripts\test1.sikuli
# contains test1.py

some of my existing scripts also contained a *$py.class file and/or a *.html file
*=scriptName

Mike Praeuner (eris667) said : #9

I can post the contents of test3.py if you think that would help - I did a clean install of W10 a few months ago.... and while build 288 is working maybe I am missing a dependency or something else weird that is affecting build 368?

I have not been able to run a script via command line on any build I have tried after 288 (previous builds I changed the syntax slightly between builds, but it was pretty straight forward to figure out)

...and yes I completely missed your #4 post until you re-posted it - Thanks!

RaiMan (raimund-hocke) said : #10

ok, thanks.

I will test and come back tomorrow. Good night ;-)

Mike Praeuner (eris667) said : #11

Microsoft Windows [Version 10.0.18362.295]
(c) 2019 Microsoft Corporation. All rights reserved.
eris@GIGANTOR-REBORN D:\MikE\Sikuli Scripts\test3.sikuli>dir
 Volume in drive D is MikE v2
 Volume Serial Number is D8C6-558F
 Directory of D:\MikE\Sikuli Scripts\test3.sikuli
08/25/2019 11:09 AM <DIR> .
08/25/2019 11:09 AM <DIR> ..
08/25/2019 11:09 AM 1,206 1566693881873.png
08/25/2019 11:09 AM 103 test3.py
               2 File(s) 1,309 bytes
               2 Dir(s) 1,187,027,746,816 bytes free
eris@GIGANTOR-REBORN D:\MikE\Sikuli Scripts\test3.sikuli>type test3.py
popup("Hello World!\nHave fun with Sikuli!")
type(Key.ESC, KeyModifier.CTRL)
click("1566693881873.png")
eris@GIGANTOR-REBORN D:\MikE\Sikuli Scripts\test3.sikuli>

Mike Praeuner (eris667) said : #12

Rest well, appreciate the assistance!

Mike Praeuner (eris667) said : #13

C:\Users\Eris\Desktop>java -version
java version "1.8.0_221"
Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)

Just in case this helps with troubleshooting

Best RaiMan (raimund-hocke) said : #14

I revised the script loading with the -r option to be a bit more robust.

Please test with the latest 1.1.4 build 377

Mike Praeuner (eris667) said : #15

Success!

D:\MikE\Sikuli_1.1.4_377>java -jar sikulix.jar -v -r "d:\mike\Sikuli Scripts\test3"
[DEBUG]startUp: IDE: Running: D:\MikE\Sikuli_1.1.4_377\sikulix.jar
[DEBUG]startUp: IDE: AppData: C:\Users\Eris\AppData\Roaming\Sikulix
[DEBUG]startUp: IDE: starting
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar
[DEBUG]startUp: IDE: adding extension: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[DEBUG]startUp: IDE: Classpath: D:\MikE\Sikuli_1.1.4_377\sikulix.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jruby-complete-9.2.0.0.jar;C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar
[48 debug] RunTime:temp folder ok: C:\Users\Eris\AppData\Local\Temp\Sikulix_439480427
Options: *** options dump
Options: testing =
Options: OptionsFile = C:\Users\Eris\AppData\Roaming\Sikulix\SikulixStore\SikulixOptions.txt
Options: *** options dump end
***** show environment for 1.1.4-SNAPSHOT-#377-2019-08-27_11:57 API
user.home: C:\Users\Eris
user.dir (work dir): D:\MikE\Sikuli_1.1.4_377
user.name: Eris
java.io.tmpdir: C:\Users\Eris\AppData\Local\Temp
running 64Bit(amd64) on w (10.0) from a jar
java 8 version 1.8 vm 25.221-b11 class 52.0 arch 64
app data folder: C:\Users\Eris\AppData\Roaming\Sikulix
executing jar: D:\MikE\Sikuli_1.1.4_377\sikulix.jar
*** classpath dump sikulix
  0: file:/D:/MikE/Sikuli_1.1.4_377/sikulix.jar
  1: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jruby-complete-9.2.0.0.jar
  2: file:/C:/Users/Eris/AppData/Roaming/Sikulix/Extensions/jython-standalone-2.7.1.jar
*** classpath dump end
***** show environment end
[1510 debug] Runner: added: Sikulix [] directory/sikulix
[1522 debug] Runner: added: Jython [py] text/jython
[1522 debug] Runner: added: Text [txt] text/text
[1523 debug] Runner: init: class org.sikuli.script.runners.AbstractLocalFileScriptRunner: warning: not possible
[1795 debug] Runner: added: JavaScript [js] text/javascript
[1796 debug] Runner: added: Robot [robot] text/robot
[1797 debug] Runner: added: SikulixJar [jar] text/jar
[1797 debug] Runner: added: PackedSikulix [skl] text/skl
[1798 debug] Runner: added: PackedSikulix [zip] application/zip
[1799 debug] Runner: added: PowerShell [ps1] text/powershell
[1800 debug] Runner: added: NetworkRunner [] NET
[1806 debug] Runner: added: JRuby [rb] text/ruby
[DEBUG]startUp: IDE: no extensions.txt nor valid content
[1814 debug] init user preferences
[1815 debug] HotkeyManager: add Abort Hotkey: ALT+SHIFT C (67, 9)
[2061 debug] Runner: runscript: running script: d:\mike\Sikuli Scripts\test3.sikuli
[2063 debug] JythonRunner: starting initialization
[2063 debug] RunTime:resourceLocation: (class org.sikuli.script.support.RunTime) /Lib/sikuli
[2064 debug] RunTime:resourceList: having jar: jar:file:/D:/MikE/Sikuli_1.1.4_377/sikulix.jar!/Lib/sikuli
[4099 debug] RunTime:files exported: 7 from: Lib/sikuli to:
 C:\Users\Eris\AppData\Roaming\Sikulix\Lib\sikuli
[6851 debug] Jython: added as Jython::sys.path[0]:
C:\Users\Eris\AppData\Roaming\Sikulix\Lib\site-packages
[6854 debug] Jython: ***** sys.path
 0: C:\Users\Eris\AppData\Roaming\Sikulix\Lib\site-packages
 1: C:\Users\Eris\AppData\Roaming\Sikulix\Lib
 2: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\Lib
 3: C:\Users\Eris\AppData\Roaming\Sikulix\Extensions\jython-standalone-2.7.1.jar\Lib
[6870 debug] JythonRunner: ready: version 2.7.1
[debug] Jython: SikulixForJython: init: starting
[debug] Jython: added as Jython::sys.path[0]:
C:\Users\Eris\AppData\Roaming\Sikulix\Lib\site-packages
[debug] Jython: SikulixForJython: init: success
[debug] Jython: sikuli: Sikuli: starting init
[debug] Screen: initScreens: starting
[debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment()
[debug] Screen: Accessing: GraphicsEnvironment.getLocalGraphicsEnvironment().getScreenDevices()
[debug] Screen: Monitor 0: (2560, 101) 1280 x 1024
[debug] Screen: Monitor 1: (-1280, 115) 1280 x 1024
[debug] Screen: ScreenDevice 2 has (0,0) --- will be primary Screen(0)
[debug] Screen: Monitor 2: (0, 0) 2560 x 1440
[debug] Mouse: init start
[debug] Mouse: init end
[debug] Screen: initScreens: multi monitor mouse check
[debug] Screen: *** checking: R[0,0 2560x1440]@S(0) center: (1280, 720) --- OK
[debug] Screen: *** checking: R[2560,101 1280x1024]@S(1) center: (3200, 613) --- OK
[debug] Screen: *** checking: R[-1280,115 1280x1024]@S(2) center: (-640, 627) --- OK
[debug] Screen: initScreens: ending
[debug] Jython: use as default region: R[0,0 2560x1440]@S(0)
[debug] Jython: sikuli: Sikuli: ending init
[debug] Jython: use as default region: R[0,0 2560x1440]@S(0)
[debug] ImagePath: new BundlePath: D:\MikE\Sikuli Scripts\test3.sikuli
[debug] ( Ctrl ) TYPE "#ESC."
[debug] Region: ( Ctrl ) TYPE "#ESC."
[debug] Image: loaded: 1566693881873.png (file:D:\MikE\Sikuli Scripts\test3.sikuli\1566693881873.png)
[debug] Image: cached: 1566693881873.png (4 KB) (# 1 KB 4 -- 0 % of 64 MB)
[debug] Region: wait: waiting 3.0 secs for 1566693881873.png to appear in R[0,0 2560x1440]@S(0)
[debug] RunTime:addToWindowsSystemPath: added to systempath:
C:\Users\Eris\AppData\Roaming\Sikulix\SikulixLibs
[debug] RunTime:checkJavaUsrPath: added to ClassLoader.usrPaths
[debug] RunTime:libsExport: folder exists: C:\Users\Eris\AppData\Roaming\Sikulix\SikulixLibs (1.1.4 - 201908271157)
[debug] RunTime:loadLib: opencv_java342.dll (success)
[debug] Finder2: makeMat: INT_RGB (2560x1440)
[debug] Finder2: makeMat: 3BYTE_BGR (58x27)
[debug] Finder2: doFind: start (stdDev: 113.9593 mean: 209.713282)
[debug] Finder2: doFind: in original: %58.7666 (?70) 580 msec
[debug] Finder2: doFind: end 580 msec
[debug] Finder2: makeMat: INT_RGB (2560x1440)
[debug] Finder2: doFind: start (stdDev: 113.9593 mean: 209.713282)
[debug] Finder2: doFind: in original: %99.9425 (?70) 571 msec
[debug] Finder2: doFind: end 572 msec
[debug] Region: wait: 1566693881873.png appeared (M[10,1079 58x27]@S(0) S:1.00 C:39,1092 [1537 msec])
[debug] Device: Mouse: moved externally: now (922,919) was (649,1102) (mouseMovedResponse 0)
[debug] CLICK on L[39,1092]@S(0) (526 msec)
[debug] HotkeyManager: reset: removed all SikuliX hotkeys.
[debug] HotkeyController: stopping hotkey provider
[debug] RunTime:***** final cleanup at System.exit() *****
[debug] FileManager: deleteFileOrFolder:
C:\Users\Eris\AppData\Local\Temp\Sikulix_439480427

as a side note if you go -r -v it fails, but -v -r it works
going to test on additional scripts now :D

Mike Praeuner (eris667) said : #16

Everything seems to be working, moved to primary library and running main scripts now on latest version. Will flush logs tomorrow and see how it goes - Thanks RaiMan!

Mike Praeuner (eris667) said : #17

Thanks RaiMan, that solved my question.

RaiMan (raimund-hocke) said : #18

Thanks for your feedback and your patience.