[Sikuli-driver] [Bug 801497] Re: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters
** Changed in: sikuli Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/801497 Title: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters Status in Sikuli: Fix Released Bug description: I'm using Sikuli in command line and I pass parameters to Sikuli. Here it goes : java -jar sikuli-script.jar test.sikuli param1 Everything works great except at the end, an exception is thrown : Exception in thread main java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.sikuli.script.ScriptRunner.getPyFrom(ScriptRunner.java:97) at org.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:91) at org.sikuli.script.SikuliScript.main(SikuliScript.java:102) You can avoid this exception, when using exit() at the end of the script, but the you get this needless SystemExit exception (bug reported) :-(( To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/801497/+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 801497] Re: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters
** Changed in: sikuli Importance: High = Critical -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/801497 Title: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters Status in Sikuli: Fix Committed Bug description: I'm using Sikuli in command line and I pass parameters to Sikuli. Here it goes : java -jar sikuli-script.jar test.sikuli param1 Everything works great except at the end, an exception is thrown : Exception in thread main java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.sikuli.script.ScriptRunner.getPyFrom(ScriptRunner.java:97) at org.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:91) at org.sikuli.script.SikuliScript.main(SikuliScript.java:102) You can avoid this exception, when using exit() at the end of the script, but the you get this needless SystemExit exception (bug reported) :-(( To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/801497/+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 801497] Re: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters
** Changed in: sikuli Importance: Undecided = High -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/801497 Title: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters Status in Sikuli: Fix Committed Bug description: I'm using Sikuli in command line and I pass parameters to Sikuli. Here it goes : java -jar sikuli-script.jar test.sikuli param1 Everything works great except at the end, an exception is thrown : Exception in thread main java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.sikuli.script.ScriptRunner.getPyFrom(ScriptRunner.java:97) at org.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:91) at org.sikuli.script.SikuliScript.main(SikuliScript.java:102) You can avoid this exception, when using exit() at the end of the script, but the you get this needless SystemExit exception (bug reported) :-(( To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/801497/+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 801497] Re: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters
** Changed in: sikuli Status: New = Fix Committed ** Changed in: sikuli Assignee: (unassigned) = RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None = x1.0 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/801497 Title: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters Status in Sikuli: Fix Committed Bug description: I'm using Sikuli in command line and I pass parameters to Sikuli. Here it goes : java -jar sikuli-script.jar test.sikuli param1 Everything works great except at the end, an exception is thrown : Exception in thread main java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.sikuli.script.ScriptRunner.getPyFrom(ScriptRunner.java:97) at org.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:91) at org.sikuli.script.SikuliScript.main(SikuliScript.java:102) You can avoid this exception, when using exit() at the end of the script, but the you get this needless SystemExit exception (bug reported) :-(( To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/801497/+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 801497] Re: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters
** Tags added: scriptrun -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/801497 Title: X-1.0rc3: Java exception at end of script running sikuli-script.jar from commandline with user parameters Status in Sikuli: Fix Committed Bug description: I'm using Sikuli in command line and I pass parameters to Sikuli. Here it goes : java -jar sikuli-script.jar test.sikuli param1 Everything works great except at the end, an exception is thrown : Exception in thread main java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1937) at org.sikuli.script.ScriptRunner.getPyFrom(ScriptRunner.java:97) at org.sikuli.script.ScriptRunner.runPython(ScriptRunner.java:91) at org.sikuli.script.SikuliScript.main(SikuliScript.java:102) You can avoid this exception, when using exit() at the end of the script, but the you get this needless SystemExit exception (bug reported) :-(( To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/801497/+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