[Sikuli-driver] [Bug 1639311] Re: Multi-line Comments gives Cannot create PyString with non-byte value
what system? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1639311 Title: Multi-line Comments gives Cannot create PyString with non-byte value Status in Sikuli: Opinion Bug description: I am trying to create multiline comments to comment out block of code using ''' and """. I have comments in same indent level as code above it. Both (''' and """) are giving me "Cannot create PyString with non- byte value" without any line number where the error is in the code. IDE should tell me where the error is with line number. [error] script [ My_Script ] stopped with error at line --unknown-- Here is the full error report: [error] script [ My_Script] stopped with error at line --unknown-- [error] Error caused by: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value at org.python.core.PyString.(PyString.java:64) at org.python.core.PyString.(PyString.java:70) at org.python.antlr.GrammarActions.extractStrings(GrammarActions.java:477) at org.python.antlr.PythonParser.atom(PythonParser.java:10996) at org.python.antlr.PythonParser.power(PythonParser.java:10363) at org.python.antlr.PythonParser.factor(PythonParser.java:10290) at org.python.antlr.PythonParser.term(PythonParser.java:9855) at org.python.antlr.PythonParser.arith_expr(PythonParser.java:9581) at org.python.antlr.PythonParser.shift_expr(PythonParser.java:9308) at org.python.antlr.PythonParser.and_expr(PythonParser.java:9141) at org.python.antlr.PythonParser.xor_expr(PythonParser.java:8978) at org.python.antlr.PythonParser.expr(PythonParser.java:8814) at org.python.antlr.PythonParser.compari son(PythonParser.java:8360) at org.python.antlr.PythonParser.not_test(PythonParser.java:8287) at org.python.antlr.PythonParser.and_test(PythonParser.java:8073) at org.python.antlr.PythonParser.or_test(PythonParser.java:7911) at org.python.antlr.PythonParser.test(PythonParser.java:7771) at org.python.antlr.PythonParser.testlist(PythonParser.java:12705) at org.python.antlr.PythonParser.expr_stmt(PythonParser.java:3127) at org.python.antlr.PythonParser.small_stmt(PythonParser.java:2675) at org.python.antlr.PythonParser.simple_stmt(PythonParser.java:2524) at org.python.antlr.PythonParser.stmt(PythonParser.java:2438) at org.python.antlr.PythonParser.suite(PythonParser.java:7652) at org.python.antlr.PythonParser.funcdef(PythonParser.java:1506) at org.python.antlr.PythonParser.compound_stmt(PythonParser.java:6218) at org.python.antlr.PythonParser.stmt(PythonParser.java:2457) at org.python.antlr.PythonParser.file_input(PythonParser.java:618) at org.python.antlr.BaseParser. parseModule(BaseParser.java:78) at org.python.core.CompileMode$3.dispatch(CompileMode.java:22) at org.python.core.ParserFacade.parse(ParserFacade.java:158) at org.python.core.ParserFacade.parse(ParserFacade.java:188) at org.python.core.Py.compile_flags(Py.java:1956) at org.python.core.__builtin__.execfile_flags(__builtin__.java:527) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286) at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:207) at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:175) at org.sikuli.ide.SikuliIDE$ButtonRun$SubRun.run(SikuliIDE.java:2477) at java.lang.Thread.run(Unknown Source) java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot create PyString with non- byte value To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1639311/+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 1639311] Re: Multi-line Comments gives Cannot create PyString with non-byte value
what version of Sikuli? Not a Sikuli problem, but a Jython problem: Cannot create PyString with non-byte value probably some unicode characters in the comment. ** Changed in: sikuli Status: New => Opinion ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1639311 Title: Multi-line Comments gives Cannot create PyString with non-byte value Status in Sikuli: Opinion Bug description: I am trying to create multiline comments to comment out block of code using ''' and """. I have comments in same indent level as code above it. Both (''' and """) are giving me "Cannot create PyString with non- byte value" without any line number where the error is in the code. IDE should tell me where the error is with line number. [error] script [ My_Script ] stopped with error at line --unknown-- Here is the full error report: [error] script [ My_Script] stopped with error at line --unknown-- [error] Error caused by: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value at org.python.core.PyString.(PyString.java:64) at org.python.core.PyString.(PyString.java:70) at org.python.antlr.GrammarActions.extractStrings(GrammarActions.java:477) at org.python.antlr.PythonParser.atom(PythonParser.java:10996) at org.python.antlr.PythonParser.power(PythonParser.java:10363) at org.python.antlr.PythonParser.factor(PythonParser.java:10290) at org.python.antlr.PythonParser.term(PythonParser.java:9855) at org.python.antlr.PythonParser.arith_expr(PythonParser.java:9581) at org.python.antlr.PythonParser.shift_expr(PythonParser.java:9308) at org.python.antlr.PythonParser.and_expr(PythonParser.java:9141) at org.python.antlr.PythonParser.xor_expr(PythonParser.java:8978) at org.python.antlr.PythonParser.expr(PythonParser.java:8814) at org.python.antlr.PythonParser.compari son(PythonParser.java:8360) at org.python.antlr.PythonParser.not_test(PythonParser.java:8287) at org.python.antlr.PythonParser.and_test(PythonParser.java:8073) at org.python.antlr.PythonParser.or_test(PythonParser.java:7911) at org.python.antlr.PythonParser.test(PythonParser.java:7771) at org.python.antlr.PythonParser.testlist(PythonParser.java:12705) at org.python.antlr.PythonParser.expr_stmt(PythonParser.java:3127) at org.python.antlr.PythonParser.small_stmt(PythonParser.java:2675) at org.python.antlr.PythonParser.simple_stmt(PythonParser.java:2524) at org.python.antlr.PythonParser.stmt(PythonParser.java:2438) at org.python.antlr.PythonParser.suite(PythonParser.java:7652) at org.python.antlr.PythonParser.funcdef(PythonParser.java:1506) at org.python.antlr.PythonParser.compound_stmt(PythonParser.java:6218) at org.python.antlr.PythonParser.stmt(PythonParser.java:2457) at org.python.antlr.PythonParser.file_input(PythonParser.java:618) at org.python.antlr.BaseParser. parseModule(BaseParser.java:78) at org.python.core.CompileMode$3.dispatch(CompileMode.java:22) at org.python.core.ParserFacade.parse(ParserFacade.java:158) at org.python.core.ParserFacade.parse(ParserFacade.java:188) at org.python.core.Py.compile_flags(Py.java:1956) at org.python.core.__builtin__.execfile_flags(__builtin__.java:527) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286) at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:207) at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:175) at org.sikuli.ide.SikuliIDE$ButtonRun$SubRun.run(SikuliIDE.java:2477) at java.lang.Thread.run(Unknown Source) java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot create PyString with non- byte value To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1639311/+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 1639311] [NEW] Multi-line Comments gives Cannot create PyString with non-byte value
Public bug reported: I am trying to create multiline comments to comment out block of code using ''' and """. I have comments in same indent level as code above it. Both (''' and """) are giving me "Cannot create PyString with non- byte value" without any line number where the error is in the code. IDE should tell me where the error is with line number. [error] script [ My_Script ] stopped with error at line --unknown-- Here is the full error report: [error] script [ My_Script] stopped with error at line --unknown-- [error] Error caused by: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value at org.python.core.PyString.(PyString.java:64) at org.python.core.PyString.(PyString.java:70) at org.python.antlr.GrammarActions.extractStrings(GrammarActions.java:477) at org.python.antlr.PythonParser.atom(PythonParser.java:10996) at org.python.antlr.PythonParser.power(PythonParser.java:10363) at org.python.antlr.PythonParser.factor(PythonParser.java:10290) at org.python.antlr.PythonParser.term(PythonParser.java:9855) at org.python.antlr.PythonParser.arith_expr(PythonParser.java:9581) at org.python.antlr.PythonParser.shift_expr(PythonParser.java:9308) at org.python.antlr.PythonParser.and_expr(PythonParser.java:9141) at org.python.antlr.PythonParser.xor_expr(PythonParser.java:8978) at org.python.antlr.PythonParser.expr(PythonParser.java:8814) at org.python.antlr.PythonParser.compari son(PythonParser.java:8360) at org.python.antlr.PythonParser.not_test(PythonParser.java:8287) at org.python.antlr.PythonParser.and_test(PythonParser.java:8073) at org.python.antlr.PythonParser.or_test(PythonParser.java:7911) at org.python.antlr.PythonParser.test(PythonParser.java:7771) at org.python.antlr.PythonParser.testlist(PythonParser.java:12705) at org.python.antlr.PythonParser.expr_stmt(PythonParser.java:3127) at org.python.antlr.PythonParser.small_stmt(PythonParser.java:2675) at org.python.antlr.PythonParser.simple_stmt(PythonParser.java:2524) at org.python.antlr.PythonParser.stmt(PythonParser.java:2438) at org.python.antlr.PythonParser.suite(PythonParser.java:7652) at org.python.antlr.PythonParser.funcdef(PythonParser.java:1506) at org.python.antlr.PythonParser.compound_stmt(PythonParser.java:6218) at org.python.antlr.PythonParser.stmt(PythonParser.java:2457) at org.python.antlr.PythonParser.file_input(PythonParser.java:618) at org.python.antlr.BaseParser. parseModule(BaseParser.java:78) at org.python.core.CompileMode$3.dispatch(CompileMode.java:22) at org.python.core.ParserFacade.parse(ParserFacade.java:158) at org.python.core.ParserFacade.parse(ParserFacade.java:188) at org.python.core.Py.compile_flags(Py.java:1956) at org.python.core.__builtin__.execfile_flags(__builtin__.java:527) at org.python.util.PythonInterpreter.execfile(PythonInterpreter.java:286) at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:207) at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:175) at org.sikuli.ide.SikuliIDE$ButtonRun$SubRun.run(SikuliIDE.java:2477) at java.lang.Thread.run(Unknown Source) java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value ** Affects: sikuli Importance: Undecided Status: New ** Tags: comments ide pystring -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1639311 Title: Multi-line Comments gives Cannot create PyString with non-byte value Status in Sikuli: New Bug description: I am trying to create multiline comments to comment out block of code using ''' and """. I have comments in same indent level as code above it. Both (''' and """) are giving me "Cannot create PyString with non- byte value" without any line number where the error is in the code. IDE should tell me where the error is with line number. [error] script [ My_Script ] stopped with error at line --unknown-- Here is the full error report: [error] script [ My_Script] stopped with error at line --unknown-- [error] Error caused by: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value at org.python.core.PyString.(PyString.java:64) at org.python.core.PyString.(PyString.java:70) at org.python.antlr.GrammarActions.extractStrings(GrammarActions.java:477) at org.python.antlr.PythonParser.atom(PythonParser.java:10996) at org.python.antlr.PythonParser.power(PythonParser.java:10363) at org.python.antlr.PythonParser.factor(PythonParser.java:10290) at org.python.antlr.PythonParser.term(PythonParser.java:9855) at org.python.antlr.PythonParser.arith_expr(PythonParser.java:9581) at org.python.antlr.PythonParser.shift_expr(PythonParser.java:9308) at org.python.antlr.PythonParser.and_expr(PythonParser.java:9141) at org.python.antlr.PythonParser.xor_expr(PythonParser.java:8978) at
Re: [Sikuli-driver] [Question #403790]: Iam Trying Sikuli in jruby with Netbeans IDE, Throwing Error while Running
Question #403790 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403790 Status: Open => Answered RaiMan proposed the following answer: upgrade to version 1.1.1 and try again. http://sikulix.com -- 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 #403790]: Iam Trying Sikuli in jruby with Netbeans IDE, Throwing Error while Running
Question #403790 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403790 Description changed to: Iam trying to Launch a Browser using sikuli jruby in Netbeans, my code is: require 'sikuli' cd1 = app.new("C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe") when I try to run the code it throws error says that "LoadError: Failed to load 'C:\Sikuli/sikuli-script.jar' Is Sikuli installed?" Could anyone solve this issue? I have struggled here, could u please help me to solve and launch Browser? -- 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
[Sikuli-driver] [Question #403790]: Iam Trying Sikuli in jruby with Netbeans IDE, Throwing Error while Running
New question #403790 on Sikuli: https://answers.launchpad.net/sikuli/+question/403790 Iam trying to Browser using sikuli jruby in Netbeans, my code is: require 'sikuli' cd1 = app.new("C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe") when I try to run the code it throws error says that "LoadError: Failed to load 'C:\Sikuli/sikuli-script.jar' Is Sikuli installed?" Could anyone solve this issue? I have struggled here, could u please help me to solve and launch Browser? -- 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 #403180]: I need to try if-else in sikuli IDE
Question #403180 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403180 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- 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 #403178]: Why am not able to open chrome
Question #403178 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403178 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- 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 #403785]: Opening an Excel directly in Sikuli
Question #403785 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403785 Status: Open => Answered RaiMan proposed the following answer: this is done in the IDE: cmd = r'start ... appropriate parameters ...' run(cmd) please follow my advice and at least try it out. -- 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 #403785]: Opening an Excel directly in Sikuli
Question #403785 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403785 Status: Answered => Open simran is still having a problem: But i want to implement through Sikuli IDE -- 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 #403785]: Opening an Excel directly in Sikuli
Question #403785 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403785 Status: Open => Answered RaiMan proposed the following answer: you might issue a Windows start command using run: cmd = r'start ... appropriate parameters ...' run(cmd) parameters like paths must be enclosed in " if they contain blanks or other characters (rules of commandline apply) It helps, to first evaluate on a commandline window, how the start command has to be written in your specific case. Be aware of the special rules in Python about quoting in strings or use raw strings r'...' as used above. -- 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
[Sikuli-driver] [Question #403786]: Sikuli running from personal laptop and finding image on remote machine
New question #403786 on Sikuli: https://answers.launchpad.net/sikuli/+question/403786 Hi Team i have script which opens RDC and then try to find out batch file which has some code written for execution. I am running my script from my test laptop. It opens RDC perfectly but then it is not able to find out image which is shortcut of batch file. Is this limitation of Sikuli? I can solve this problem? Even WIN+R key was not working on 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
[Sikuli-driver] [Question #403785]: Opening an Excel directly in Sikuli
New question #403785 on Sikuli: https://answers.launchpad.net/sikuli/+question/403785 I want to open an Excel workbook saved in my system directly instead of using App.open and then clicking File->Open and so on or by clicking the icon of that workbook. Is there any command/function that can be used where i can directly give path to my workbook and open it? -- 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