← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #683302]: latest version of Sikuli X (downloaded today) launching from command line

 

Question #683302 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/683302

Mike Praeuner posted a new comment:
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

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.