[Sikuli-driver] [Bug 1584054] [NEW] Find(String) not functional
Public bug reported: Sikulix setup done by sikulixsetup-1.1.1-20160520.065527-27-forsetup.jar OS Win 7 Pro JRE 1.8.0_31 Function find() does not accept argument of type string. Running this code > # -*- coding: utf-8 -* Debug.on(3) import org.sikuli.script.TextRecognizer as TR Settings.OcrReadText = True Settings.OcrSearchText = True Settings.OcrLanguage = "slk" TR.reset() #find("1463748965451.png") find("Upozornenie") #print m #print m.getTarget() r = Region(433,351,89,15) r.highlight(5) Causes > [debug] FileManager: tempfile create: C:\Users\255304\AppData\Local\Temp\Sikulix_1244007538\sikuli-5908137321867601659.py [debug] Jython: requested to use as default region: S(0)[0,0 1280x1024] [debug] JythonScriptRunner: runPython: running script from IDE: Untitled.sikuli [error] Image: could not be loaded: file:/C:/Users/255304/AppData/Local/Temp/Sikulix_1244007538/tmp-1705873482.sikuli/Upozornenie.png [debug] Region: handleImageMissing: Upozornenie.png (capture missing ) [error] RunTimeIDE: Exists: Abort: Jython: at sikuli-5908137321867601659 (1) [error] RunTimeIDE: ImageMissing: Upozornenie [debug] IDE: Scriptrun: cleanup in handler for uncaughtException: java.nio.BufferOverflowException [debug] Sikulix: cleanUp: 0 [debug] Image: purge: ImagePath: /C:/Users/255304/AppData/Local/Temp/Sikulix_1244007538/tmp-1705873482.sikuli/ [debug] ImagePath: new BundlePath: /C:/Work/AUT/c.sikuli/ ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1584054 Title: Find(String) not functional Status in Sikuli: New Bug description: Sikulix setup done by sikulixsetup-1.1.1-20160520.065527-27-forsetup.jar OS Win 7 Pro JRE 1.8.0_31 Function find() does not accept argument of type string. Running this code > # -*- coding: utf-8 -* Debug.on(3) import org.sikuli.script.TextRecognizer as TR Settings.OcrReadText = True Settings.OcrSearchText = True Settings.OcrLanguage = "slk" TR.reset() #find("1463748965451.png") find("Upozornenie") #print m #print m.getTarget() r = Region(433,351,89,15) r.highlight(5) Causes > [debug] FileManager: tempfile create: C:\Users\255304\AppData\Local\Temp\Sikulix_1244007538\sikuli-5908137321867601659.py [debug] Jython: requested to use as default region: S(0)[0,0 1280x1024] [debug] JythonScriptRunner: runPython: running script from IDE: Untitled.sikuli [error] Image: could not be loaded: file:/C:/Users/255304/AppData/Local/Temp/Sikulix_1244007538/tmp-1705873482.sikuli/Upozornenie.png [debug] Region: handleImageMissing: Upozornenie.png (capture missing ) [error] RunTimeIDE: Exists: Abort: Jython: at sikuli-5908137321867601659 (1) [error] RunTimeIDE: ImageMissing: Upozornenie [debug] IDE: Scriptrun: cleanup in handler for uncaughtException: java.nio.BufferOverflowException [debug] Sikulix: cleanUp: 0 [debug] Image: purge: ImagePath: /C:/Users/255304/AppData/Local/Temp/Sikulix_1244007538/tmp-1705873482.sikuli/ [debug] ImagePath: new BundlePath: /C:/Work/AUT/c.sikuli/ To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1584054/+subscriptions ___ 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
[Sikuli-driver] [Bug 1480145] Re: [1.1.0] RunServer should accept user arguments for Python scripts (-- arg1 arg2 ...) --- fixed 2015-08-28+
Thankx Raiman, tested on WIN7 from cmd line with resolution PASSED. Win platform for arguments containing spaces e.g. runsikulix.cmd -s -- test1 test2 test 3 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1480145 Title: [1.1.0] RunServer should accept user arguments for Python scripts (-- arg1 arg2 ...) --- fixed 2015-08-28+ Status in Sikuli: Fix Committed Bug description: SikuliX version 1.1.0-20150712.231026-126 Win7 Pro SP1 64 bit Microsoft Windows [Version 6.1.7601] Run RunServer with command c:\Tools\SikuliX-1.1.0runsikulix.cmd -s -- arg1 arg2 arg3 sys.argv returns value None when asked to provide a list of values during run-time for arg in sys.argv: print arg Running in IDE passed the values for sys.argv To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1480145/+subscriptions ___ 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
[Sikuli-driver] [Bug 1480145] Re: [1.1.0] RunServer should accept arguments
Hi RaiMan, I would kike to kindly ask you for fix. I am stuck in env param. posting into SX and can't move further. Thank You. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1480145 Title: [1.1.0] RunServer should accept arguments Status in Sikuli: Fix Committed Bug description: SikuliX version 1.1.0-20150712.231026-126 Win7 Pro SP1 64 bit Microsoft Windows [Version 6.1.7601] Run RunServer with command c:\Tools\SikuliX-1.1.0runsikulix.cmd -s -- arg1 arg2 arg3 sys.argv returns value None when asked to provide a list of values during run-time for arg in sys.argv: print arg Running in IDE passed the values for sys.argv To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1480145/+subscriptions ___ 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
[Sikuli-driver] [Bug 1480145] [NEW] RunServer with option for arguments
Public bug reported: SikuliX version 1.1.0-20150712.231026-126 Win7 Pro SP1 64 bit Microsoft Windows [Version 6.1.7601] Run RunServer with command c:\Tools\SikuliX-1.1.0runsikulix.cmd -s -- arg1 arg2 arg3 sys.argv returns value None when asked to provide a list of values during run-time for arg in sys.argv: print arg Running in IDE passed the values for sys.argv ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1480145 Title: RunServer with option for arguments Status in Sikuli: New Bug description: SikuliX version 1.1.0-20150712.231026-126 Win7 Pro SP1 64 bit Microsoft Windows [Version 6.1.7601] Run RunServer with command c:\Tools\SikuliX-1.1.0runsikulix.cmd -s -- arg1 arg2 arg3 sys.argv returns value None when asked to provide a list of values during run-time for arg in sys.argv: print arg Running in IDE passed the values for sys.argv To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1480145/+subscriptions ___ 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