Re: [Sikuli-driver] [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 RaiMan posted a new comment: Thanks for your feedback and your patience. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 Status: Answered => Solved Mike Praeuner confirmed that the question is solved: 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! -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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
Re: [Sikuli-driver] [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 RaiMan proposed the following answer: 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 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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: 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 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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: Rest well, appreciate the assistance! -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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: 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 . 08/25/2019 11:09 AM .. 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> -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 RaiMan proposed the following answer: ok, thanks. I will test and come back tomorrow. Good night ;-) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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: 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! -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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: 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 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 RaiMan proposed the following answer: 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. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 Description changed to: 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) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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: ##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 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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: # 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]
Re: [Sikuli-driver] [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 RaiMan proposed the following answer: 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. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 RaiMan proposed the following answer: 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" -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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: #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> -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 Status: Open => Answered RaiMan proposed the following answer: 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. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 Description changed to: Using the ~May Image of Sikuli X I have no issues - but I would like to upgrade to the newest version to fix the JScreen error https://raiman.github.io/SikuliX1/downloads.html 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) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [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 Description changed to: Using the ~May Image of Sikuli X I have no issues - but I would like to upgrade to the newest version to fix the JScreen error https://raiman.github.io/SikuliX1/downloads.html 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) -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp