sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #53960
[Bug 1220976] Re: [check] Linux: App.open not work in run script mode: missing error console
Hi RaiMan,
I am also facing the same issue, as above.
App.open did not work when running through sikulix api (2.0.1)
iepath = r'"C:\Program Files\Internet Explorer\iexplore.exe"';
App.open(iepath + " " + "https://google.com")
Is there any update on this bug?
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1220976
Title:
[check] Linux: App.open not work in run script mode: missing error
console
Status in Sikuli:
In Progress
Bug description:
Following is simple sikuli script:
App.open("xclock");
sleep(5);
App.close("xclock");
This work fine when i click "Run" in sikuli-IDE environment.
But it not work when we run with "sikuli/runIDE -r sanity.sikuli"
I guess sikuli missed the error console, because flowing script work fine.
App.open("xclock > /tmp/aa.log 2>&1");
sleep(5);
App.close("xclock");
=======================================================================================
sikuli version:
Build: 1.0.1 20AUG2013135242
Linux version:
Oracle Linux Server release 6.4
Kernel \r on an \m
Package version:
leptonica-1.69 tesseract-ocr-3.0.2 xdotool-2.20110530.1
opencv-2.4.6.1 wmctrl-1.07
Java version:
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
Console message: (-d 3 -c)
[julierobot@shi ~]$ /usr/local/sikuli/runIDE -d 3 -c -r ~/sikuli/script/sanity.sikuli
running SikuliX-IDE: -Xmx512M -Dapple.laf.useScreenMenuBar -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine
-jar /usr/local/sikuli/sikuli-ide.jar -d 3 -c -r /home/julierobot/sikuli/script/sanity.sikuli
[debug] SikuliIDE: Switching to SikuliScript with option -r, -t or -i
[debug] SikuliScript: CmdOrg: -d 3 -c -r /home/julierobot/sikuli/script/sanity.sikuli
[debug] Running on Java 7 (1.7.0_25-b15)
[debug] --- Sikuli parameters ---
[debug] 1: -d
[debug] 2: 3
[debug] 3: -c
[debug] 4: -r
[debug] 5: /home/julierobot/sikuli/script/sanity.sikuli
[debug] SikuliScript: givenScriptName: /home/julierobot/sikuli/script/sanity.sikuli
[debug] SikuliX Jython Support Build: 1.0.1 20AUG2013135242
[debug] Trying to run script: /home/julierobot/sikuli/script/sanity.sikuli/sanity.py
[debug] JythonScriptRunner: : executeScriptHeader: adding SikuliX Lib path to sys.path
/usr/local/sikuli/sikuli-ide.jar/Lib
............................
[debug] ResourceLoaderBasic: loadLib: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Found: VisionProxy
[debug] ResourceLoaderBasic: loadLib: Now loaded: VisionProxy
[debug] Jython: sikuli: Sikuli: import App
[debug] Screen: initScreens: basic initialization (1 Screen(s) found)
[debug] *** monitor configuration (primary: 0) ***
[debug] Screen 0: S(0)[0,0 1280x960]
[debug] *** end monitor configuration ***
[debug] Jython: sikuli: Sikuli: import Key
[debug] Jython: sikuli: Sikuli: import from Basics
[debug] Jython: sikuli: Sikuli: import from compare
[debug] Jython: sikuli: Sikuli: init SikuliImporter
[debug] Jython: sikuli: Sikuli: import SikuliScript
[debug] Jython: init SCREEN as ()
[debug] JythonScriptRunner: : executeScriptHeader: PyInit: resetROI()
[debug] JythonScriptRunner: : executeScriptHeader: PyInit: setShowActions(False)
[debug] Sikuli-IDE environment setup: 4655
[log] openApp: xclock
[log] App.open xclock(4767)
[log] closeApp: xclock
[debug] SikuliXFinal: cleanUp: 0
[info] Exit code: 0
[debug] JythonScriptRunner: : executeScriptHeader: at exit: path:
[debug] JythonScriptRunner: : executeScriptHeader: /usr/local/sikuli/sikuli-ide.jar/Lib
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1220976/+subscriptions
References