[Sikuli-driver] [Bug 1639311] Re: Multi-line Comments gives Cannot create PyString with non-byte value
On Window 7 Sikulix IDE 1.1.1-201603300100 -- 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
Re: [Sikuli-driver] [Question #404077]: Sikulix Mouse Middle Wheel Turn Keyboard Mapping
Question #404077 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404077 Status: Answered => Solved Chathura confirmed that the question is solved: wheel(Location(800,800),WHEEL_DOWN, 2) #x=800,y=800 pixels, 2=steps -- 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 #404077]: Sikulix Mouse Middle Wheel Turn Keyboard Mapping
Question #404077 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404077 Chathura confirmed that the question is solved: Thanks masuo, 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
[Sikuli-driver] [Question #404077]: Sikulix Mouse Middle Wheel Turn Keyboard Mapping
New question #404077 on Sikuli: https://answers.launchpad.net/sikuli/+question/404077 I am looking a Sikulix mouse middle wheel turn UP and DOWN keyboard mapping combination. Similar to: mouseDown(Button.LEFT) #or type("a",Key.CTRL) -- 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] [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 org.py
[Sikuli-driver] [Bug 878864] Re: [request] want Pattern.anySize() and Pattern.anyColor()
I am constantly experiencing where I cannot roll out my script over many users who have different display sizes especially different laptop home screen sizes. How do we make the match screen resolution agnostic? This will considerably improve the usefulness of this program for everyone. I am constantly experiencing where when I go to project with significantly less resolution that my home screen, this scripts are failing. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/878864 Title: [request] want Pattern.anySize() and Pattern.anyColor() Status in Sikuli: In Progress Bug description: as a general solution, Sikuli needs to know, how the image should be rescaled. the same image is found in different screen resolutions by Sikuli though. --- based on the original description of the planned Sikuli features: anySize() was supossed to solve different resolutions problems. But it is not yet available in Sikuli script. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/878864/+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 1534849] [NEW] IDE Copy and Paste Failed with In the Same Project
Public bug reported: IDE copy and paste failed In the Same Project. I am running SikuliX 1.1.0 (2015-10-05_17:07). I tried copy and paste two times same eror: [error] EditorPane: MyTransferHandler: importData: Problem pasting text null [error] EditorPane: MyTransferHandler: importData: Problem pasting text null ** Affects: sikuli Importance: Undecided Status: New ** Attachment added: "error message." https://bugs.launchpad.net/bugs/1534849/+attachment/4550770/+files/copy%20and%20paste%20across%20same%20project.PNG -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1534849 Title: IDE Copy and Paste Failed with In the Same Project Status in Sikuli: New Bug description: IDE copy and paste failed In the Same Project. I am running SikuliX 1.1.0 (2015-10-05_17:07). I tried copy and paste two times same eror: [error] EditorPane: MyTransferHandler: importData: Problem pasting text null [error] EditorPane: MyTransferHandler: importData: Problem pasting text null To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1534849/+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
Re: [Sikuli-driver] [Question #221802]: capture(): saved file is not persistent (deleted when Java process stops)
Question #221802 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/221802 Chathura posted a new comment: Here is the full working code: import shutil def screenGrab(reg = None): # reg must be a Screen/Region/Match object if reg: return capture(reg) else: return capture(SCREEN) #no region specified, use full screen img=screenGrab() shutil.move(img, "safe_location.png") -- 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 #280888]: unable to run jar file with sikuli from command prompt
Question #280888 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/280888 Status: Open => Answered Chathura proposed the following answer: I got to work with runsikulix.cmd as: runsikulix.cmd -r filename.sikuli -- option1 -- option2 > debug.txt check the debug.txt file for errors. -- 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] [Bug 1534758] [NEW] [request] Ability to create a standalone Sikulix Similar to Using bbfreeze for Python .exe
Public bug reported: It would make Sikulix great if it has ability to create a standalone Sikulix executables Similar to Using bbfreeze package in Python to create a standalone .exe in Windows. This helps me deploy Sikulix projects to end user without them needing to install latest Sikulix project. This is particularly hard when you are under secured corporate firewall with lots of restrictions including not having admin right to our machines. ** Affects: sikuli Importance: Undecided Status: New ** Tags: exe packages standalone -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1534758 Title: [request] Ability to create a standalone Sikulix Similar to Using bbfreeze for Python .exe Status in Sikuli: New Bug description: It would make Sikulix great if it has ability to create a standalone Sikulix executables Similar to Using bbfreeze package in Python to create a standalone .exe in Windows. This helps me deploy Sikulix projects to end user without them needing to install latest Sikulix project. This is particularly hard when you are under secured corporate firewall with lots of restrictions including not having admin right to our machines. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1534758/+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 1078812] Re: [request] IDE: want break points to support some debugging
Hi, Nicole, can you able to put a Eclipse IDE with Jython support help page setup for community to use? It would be great. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1078812 Title: [request] IDE: want break points to support some debugging Status in Sikuli: In Progress Bug description: This isn't really a bug, it's more of a request. I would love to see breakpoints in the Sikuli IDE (please). When I run into errors in loops and things it can get really tough to debug without breakpoints. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1078812/+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 1532888] Re: Match Sensitivity Drops with Longer the Application is Running
** Description changed: I noticed matching sensitivity drops when Sikulix IDE window opened for long time (2 -3 hours). I am noticing this even when screen under test has not changed. This makes SikuliX script very unreliable because sensitivity changes over time even when input stays the same. Closing Sikulix and opening reduces chance of reduction in sensitivity. I have - to constantly adjust the image sensitivity that scripts written less - reliable. I am also noticing this when running in command line mode. + to constantly adjust the image sensitivity that makes scripts written + less reliable. I am also noticing this when running in command line + mode. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1532888 Title: Match Sensitivity Drops with Longer the Application is Running Status in Sikuli: New Bug description: I noticed matching sensitivity drops when Sikulix IDE window opened for long time (2 -3 hours). I am noticing this even when screen under test has not changed. This makes SikuliX script very unreliable because sensitivity changes over time even when input stays the same. Closing Sikulix and opening reduces chance of reduction in sensitivity. I have to constantly adjust the image sensitivity that makes scripts written less reliable. I am also noticing this when running in command line mode. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1532888/+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 1528358] Re: Display Overlay Not Refreshing in with Highlight()
** Changed in: sikuli Status: New => Confirmed -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1528358 Title: Display Overlay Not Refreshing in with Highlight() Status in Sikuli: Confirmed Bug description: Display overlay does not refreshing in with when used with Region.highlight() method. This is in version 1.1.1 (using installation sikulixsetup-1.1.1-20151126.001204-18-forsetup.jar). This bug only happens when I tried to kill a running Sikuli session with Alt+Shift+C. Only option to remove this annoying refresh bug is to close Sikuli down and open it again. match.highlight(1, "green") print match.getX() print match.getY() myregion_primscreen = Region(match.getX(),match.getY(),65,17) myregion_primscreen.highlight(1,"red") matchstr=myregion_primscreen.text() sometimes the green and sometime red overlay boxes appear on screen. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1528358/+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 1534424] Re: IDE Deleting Used Pattern Image Files
Which option in Preference are you referring to? Is it "Messages to show: Debug" checked? I am running SikuliIDE 1.1.0 (2015-10-05_17:07) where I got this IDE file error. ** Description changed: I have noticed my IDE ended up deleting used pattern image files, ie. it is deleting image files that are used by the script. If I do not backup existing project those image files are permanently gone which is very - frustrating because I have re create those images. + frustrating because I have to re create those images. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1534424 Title: IDE Deleting Used Pattern Image Files Status in Sikuli: Opinion Bug description: I have noticed my IDE ended up deleting used pattern image files, ie. it is deleting image files that are used by the script. If I do not backup existing project those image files are permanently gone which is very frustrating because I have to re create those images. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1534424/+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 1534424] [NEW] IDE Deleting Used Pattern Image Files
Public bug reported: I have noticed my IDE ended up deleting used pattern image files, ie. it is deleting image files that are used by the script. If I do not backup existing project those image files are permanently gone which is very frustrating because I have re create those images. ** 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/1534424 Title: IDE Deleting Used Pattern Image Files Status in Sikuli: New Bug description: I have noticed my IDE ended up deleting used pattern image files, ie. it is deleting image files that are used by the script. If I do not backup existing project those image files are permanently gone which is very frustrating because I have re create those images. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1534424/+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 1460616] Re: Error saving files in IDE
This happened when I ran without saving a snipped of test code in New ->Untitled tab. Then copied those code to existing saved tab. When I tried to save the existing saved tabbed with snipped of Untitled tab this happened for me. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1460616 Title: Error saving files in IDE Status in Sikuli: Confirmed Bug description: I have finally been able to make a minimal test case for when IDE fails to save the file: # -*- coding: utf-8 -*- import sys from sikuli import * from sikuli.Sikuli import * sys.path.append(projectPath) def testMessageEdit(): assert() message21 = TableCell() FilterTable.clickMessage(message21) wait(2) if __name__ == "__main__": testMessageEdit() Try entering the code above in a new file and save. It will report: [error] IDE: A non-IOException-problem when trying to save null Error: null This happens way too often and usually in files not as obvious as this one. It is so bad that I mostly have to work in notepad++ and only run scripts from IDE. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1460616/+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 1460616] Re: Error saving files in IDE
I am still getting this SikuliX 1.1.0 (SikulixDownloads_201510061722). This is still alloying. I just have to close the IDE and open up again when I get this annoying error. ** Changed in: sikuli Status: New => Confirmed -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1460616 Title: Error saving files in IDE Status in Sikuli: Confirmed Bug description: I have finally been able to make a minimal test case for when IDE fails to save the file: # -*- coding: utf-8 -*- import sys from sikuli import * from sikuli.Sikuli import * sys.path.append(projectPath) def testMessageEdit(): assert() message21 = TableCell() FilterTable.clickMessage(message21) wait(2) if __name__ == "__main__": testMessageEdit() Try entering the code above in a new file and save. It will report: [error] IDE: A non-IOException-problem when trying to save null Error: null This happens way too often and usually in files not as obvious as this one. It is so bad that I mostly have to work in notepad++ and only run scripts from IDE. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1460616/+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 1078812] Re: [request] IDE: want break points to support some debugging
Run to break point is probably easiest to code. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1078812 Title: [request] IDE: want break points to support some debugging Status in Sikuli: In Progress Bug description: This isn't really a bug, it's more of a request. I would love to see breakpoints in the Sikuli IDE (please). When I run into errors in loops and things it can get really tough to debug without breakpoints. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1078812/+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 1532888] Re: Match Sensitivity Drops with Longer the Application is Running
** Summary changed: - Match Sensitivity Drops with Longer the Application is Runner + Match Sensitivity Drops with Longer the Application is Running -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1532888 Title: Match Sensitivity Drops with Longer the Application is Running Status in Sikuli: New Bug description: I noticed matching sensitivity drops when Sikulix IDE window opened for long time (2 -3 hours). I am noticing this even when screen under test has not changed. This makes SikuliX script very unreliable because sensitivity changes over time even when input stays the same. Closing Sikulix and opening reduces chance of reduction in sensitivity. I have to constantly adjust the image sensitivity that scripts written less reliable. I am also noticing this when running in command line mode. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1532888/+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 1532898] [NEW] [request] Find(img) and DragDrop the Screen to Middle
Public bug reported: I constantly use Find(image) the get region around the image then do DragDrop the Screen to Middle. It would be nice to have a method where you find the image on screen and drag screen to middle. I constantly run into problems where myregion and dragDrop is outside screen space where script will stop working properly afterwards. This code below finds the image and drag and drop to right. icons=findAll(Pattern("1449539836856.png").similar(0.65)) sorted_icons = sorted(icons, key=by_x) for t in sorted_icons: t.highlight(2) wait(1) myregion=Region(t.x,t.y,200,200) myregion.highlight(2,"green") dragDrop(t, t.offset(Location(-200,0))) ** Affects: sikuli Importance: Undecided Status: New ** Tags: dragdrop scroll -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1532898 Title: [request] Find(img) and DragDrop the Screen to Middle Status in Sikuli: New Bug description: I constantly use Find(image) the get region around the image then do DragDrop the Screen to Middle. It would be nice to have a method where you find the image on screen and drag screen to middle. I constantly run into problems where myregion and dragDrop is outside screen space where script will stop working properly afterwards. This code below finds the image and drag and drop to right. icons=findAll(Pattern("1449539836856.png").similar(0.65)) sorted_icons = sorted(icons, key=by_x) for t in sorted_icons: t.highlight(2) wait(1) myregion=Region(t.x,t.y,200,200) myregion.highlight(2,"green") dragDrop(t, t.offset(Location(-200,0))) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1532898/+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 1532888] [NEW] Match Sensitivity Drops with Longer the Application is Runner
Public bug reported: I noticed matching sensitivity drops when Sikulix IDE window opened for long time (2 -3 hours). I am noticing this even when screen under test has not changed. This makes SikuliX script very unreliable because sensitivity changes over time even when input stays the same. Closing Sikulix and opening reduces chance of reduction in sensitivity. I have to constantly adjust the image sensitivity that scripts written less reliable. I am also noticing this when running in command line mode. ** Affects: sikuli Importance: Undecided Status: New ** Tags: robustness sensitivity ** Tags added: robustness -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1532888 Title: Match Sensitivity Drops with Longer the Application is Runner Status in Sikuli: New Bug description: I noticed matching sensitivity drops when Sikulix IDE window opened for long time (2 -3 hours). I am noticing this even when screen under test has not changed. This makes SikuliX script very unreliable because sensitivity changes over time even when input stays the same. Closing Sikulix and opening reduces chance of reduction in sensitivity. I have to constantly adjust the image sensitivity that scripts written less reliable. I am also noticing this when running in command line mode. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1532888/+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 1528930] Re: VisionProxy.dll Library Loading Errror on Command LIne
** Description changed: I am I able to run Sikuli via command line: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 however, I am getting java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I am trying to call Sikuli script via my VBA Exell app: retVal = Shell("C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2",vbNormalFocus) Here I have -Dsikuli.Debug=3 for debugging information Here is the log file of failed execusion: +++ inside CHECKJAVA +++ running this Java +++ inside JAVA_OK_PATH +++ SIKULI_HOME C:\Users\username\Desktop\Sikuli\Run\ +++ trying to run SikuliX - +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -Dsikuli.Debug=3 -jar C:\Users\username\Desktop\Sikuli\Run\sikulix.jar -r "\\network est\01 WI Standardization & Automation\Passenger Cabin\WLI_extract.sikuli" -- YT791 + +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -Dsikuli.Debug=3 -jar C:\Users\username\Desktop\Sikuli\Run\sikulix.jar -r "\\network est\01 WI Standardization & Automation\Passenger Cabin\WLI_extract.sikuli" -- YT11 [debug] RunTimeINIT: loadOptions: check: C:\Users\username\Desktop\Sikuli\Run [debug] RunTimeINIT: loadOptions: check: C:\Users\username [debug] RunTimeINIT: loadOptions: check: C:\Users\username\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1080 [debug] RunTimeINIT: Monitor 1: (1920, -120) 1600 x 1200 [debug] RunTimeINIT: Monitor 2: (3520, 30) 1680 x 1050 [debug] RunTimeINIT: runs as sikulix.jar in: C:\Users\username\Desktop\Sikuli\Run [debug] RunTimeINIT: exists libs folder at: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 [debug] RunTimeINIT: libs folder empty or has wrong content [debug] RunTimeINIT: now exporting libs [debug] RunTimeINIT: libs to export are at: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 [debug] RunTimeINIT: resourceList: enter [debug] RunTimeINIT: resourceLocation: (class org.sikuli.ide.SikuliIDE) /sikulixlibs/windows/libs32 [debug] RunTimeINIT: resourceList: having jar: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 [debug] RunTimeINIT: files exported: 17 from: /sikulixlibs/windows/libs32 to: - C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 + C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 * show environment for IDE (build 201510051707) user.home: C:\Users\username user.dir (work dir): C:\Users\username\Desktop\Sikuli\Run user.name: username java.io.tmpdir: C:\Users\username\AppData\Local\Temp running 32Bit on Windows (6.1) from a jar java 7-32 version 1.7.0_55-b13 vm 24.55-b03 class 51.0 arch x86 app data folder: C:\Users\username\AppData\Roaming\Sikulix libs folder: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 executing jar: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar *** classpath dump sikulix - 0: /C:/Users/username/Desktop/Sikuli/Run/sikulix.jar + 0: /C:/Users/username/Desktop/Sikuli/Run/sikulix.jar *** classpath dump end * show environment end [debug] RunTimeIDE: global init: leaving [debug] RunTimeIDE: initIDEbefore: entering [debug] RunTimeIDE: initIDEbefore: leaving [debug] RunTimeIDE: initAPI: entering [debug] RunTimeIDE: initAPI: leaving [debug] init user preferences [debug] IDE: running with Locale: en_US [debug] IDE: Switching to ScriptRunner with option -r, -t or -i [debug] Runner: commandline: -r "\\network\test_extract.sikuli" -- Y11 [debug] --- Sikuli parameters --- [debug] 1: -r [debug] 2: \\network\test_extract.sikuli [debug] --- User parameters --- [debug] 1: Y11 [debug] ScriptingSupport: givenScriptName: \\network\test_extract.sikuli [debug] ScriptingSupport: Trying to run script: \\network\test_extract.py [debug] ScriptingSupport: initScriptingSupport: enter [debug] JythonSupport: init: starting [debug] JythonSupport: init: success [debug] JythonSupport: * Jython sys.path - 0: C:\Users\username\Desktop\Sikuli\Run\Lib - 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib - 2: __classpath__ - 3: __pyclasspath__/ + 0: C:\Users\username\Desktop\Sikuli\Run\Lib + 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib + 2: __classpath__ + 3: __pyclasspath__/ [debug] JythonSupport: * Jython sys.path end [debug] Jython: sikuli: Sikuli: starting init [error] RunTimeIDE: Problematic lib: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707\VisionProxy.dll (...TEMP...)
[Sikuli-driver] [Question #280467]: OCR custom fonts Training and Installation
New question #280467 on Sikuli: https://answers.launchpad.net/sikuli/+question/280467 I tried Sikuli OCR and text recognition is very poor to useless. I used: myregion=Region(t.x,t.y, 200, 200) f=myregion.find("170") f is emply meaning OCR text find fails to find 170 in custom myregion area. I wanted to include my own English fonts with Tesseract training. How would I go about creating my own training set and let Sikuli to use that training data for text recognition? How to train and include custom Tesseract data sets? I only need to train custom numbers for now. -- 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 #279421]: OCR custom font Training and Installation
Question #279421 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/279421 Description changed to: I tried Sikuli OCR and text recognition is very poor to useless. I used: myregion=Region(t.x,t.y, 200, 200) f=myregion.find("170") f is emply meaning OCR text find fails to find 170 in custom myregion area. I wanted to include my own English fonts with Tesseract training. How would I go about creating my own training set and let Sikuli to use that training data for text recognition? How to train and include custom Tesseract data sets? -- 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] [Bug 1528930] Re: VisionProxy.dll Library Loading Errror on Command LIne
Raiman, can you able to change to code to not refer to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Pref and be independent of Windows registry? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1528930 Title: VisionProxy.dll Library Loading Errror on Command LIne Status in Sikuli: Invalid Bug description: I am I able to run Sikuli via command line: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 however, I am getting java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I am trying to call Sikuli script via my VBA Exell app: retVal = Shell("C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2",vbNormalFocus) Here I have -Dsikuli.Debug=3 for debugging information Here is the log file of failed execusion: +++ inside CHECKJAVA +++ running this Java +++ inside JAVA_OK_PATH +++ SIKULI_HOME C:\Users\username\Desktop\Sikuli\Run\ +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -Dsikuli.Debug=3 -jar C:\Users\username\Desktop\Sikuli\Run\sikulix.jar -r "\\network est\01 WI Standardization & Automation\Passenger Cabin\WLI_extract.sikuli" -- YT791 [debug] RunTimeINIT: loadOptions: check: C:\Users\username\Desktop\Sikuli\Run [debug] RunTimeINIT: loadOptions: check: C:\Users\username [debug] RunTimeINIT: loadOptions: check: C:\Users\username\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1080 [debug] RunTimeINIT: Monitor 1: (1920, -120) 1600 x 1200 [debug] RunTimeINIT: Monitor 2: (3520, 30) 1680 x 1050 [debug] RunTimeINIT: runs as sikulix.jar in: C:\Users\username\Desktop\Sikuli\Run [debug] RunTimeINIT: exists libs folder at: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 [debug] RunTimeINIT: libs folder empty or has wrong content [debug] RunTimeINIT: now exporting libs [debug] RunTimeINIT: libs to export are at: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 [debug] RunTimeINIT: resourceList: enter [debug] RunTimeINIT: resourceLocation: (class org.sikuli.ide.SikuliIDE) /sikulixlibs/windows/libs32 [debug] RunTimeINIT: resourceList: having jar: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 [debug] RunTimeINIT: files exported: 17 from: /sikulixlibs/windows/libs32 to: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 * show environment for IDE (build 201510051707) user.home: C:\Users\username user.dir (work dir): C:\Users\username\Desktop\Sikuli\Run user.name: username java.io.tmpdir: C:\Users\username\AppData\Local\Temp running 32Bit on Windows (6.1) from a jar java 7-32 version 1.7.0_55-b13 vm 24.55-b03 class 51.0 arch x86 app data folder: C:\Users\username\AppData\Roaming\Sikulix libs folder: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 executing jar: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar *** classpath dump sikulix 0: /C:/Users/username/Desktop/Sikuli/Run/sikulix.jar *** classpath dump end * show environment end [debug] RunTimeIDE: global init: leaving [debug] RunTimeIDE: initIDEbefore: entering [debug] RunTimeIDE: initIDEbefore: leaving [debug] RunTimeIDE: initAPI: entering [debug] RunTimeIDE: initAPI: leaving [debug] init user preferences [debug] IDE: running with Locale: en_US [debug] IDE: Switching to ScriptRunner with option -r, -t or -i [debug] Runner: commandline: -r "\\network\test_extract.sikuli" -- Y11 [debug] --- Sikuli parameters --- [debug] 1: -r [debug] 2: \\network\test_extract.sikuli [debug] --- User parameters --- [debug] 1: Y11 [debug] ScriptingSupport: givenScriptName: \\network\test_extract.sikuli [debug] ScriptingSupport: Trying to run script: \\network\test_extract.py [debug] ScriptingSupport: initScriptingSupport: enter [debug] JythonSupport: init: starting [debug] JythonSupport: init: success [debug] JythonSupport: * Jython sys.path 0: C:\Users\username\Desktop\Sikuli\Run\Lib 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib 2: __classpath__ 3: __pyclasspath__/ [debug] JythonSupport: * Jython sys.path end [debug] Jython: sikuli: Sikuli: starting init [error] RunTimeIDE: Problematic lib: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707\VisionProxy.dll (...TEMP...) [error] RunTimeIDE: VisionProxy.dll loaded, but it might be a problem with needed dependent libraries ERROR: ...TEMP...: The specified procedure could not b
Re: [Sikuli-driver] [Question #280043]: Running SikuliX from VBA Excel: VisionProxy.dll Library Loading Errror
Question #280043 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/280043 Status: Solved => Open Chathura is still having a problem: Raiman, can you able to change to code to not refer to HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Pref and be independent of Windows registry? -- 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] [Bug 1528930] Re: VisionProxy.dll Library Loading Errror on Command LIne
Also, I needed to run regedit and add Prefs folder at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft or I will get this error 5: java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I confirmed this by running it in another Windows 7 machine runing 64 bit OS. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1528930 Title: VisionProxy.dll Library Loading Errror on Command LIne Status in Sikuli: Invalid Bug description: I am I able to run Sikuli via command line: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 however, I am getting java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I am trying to call Sikuli script via my VBA Exell app: retVal = Shell("C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2",vbNormalFocus) Here I have -Dsikuli.Debug=3 for debugging information Here is the log file of failed execusion: +++ inside CHECKJAVA +++ running this Java +++ inside JAVA_OK_PATH +++ SIKULI_HOME C:\Users\username\Desktop\Sikuli\Run\ +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -Dsikuli.Debug=3 -jar C:\Users\username\Desktop\Sikuli\Run\sikulix.jar -r "\\network est\01 WI Standardization & Automation\Passenger Cabin\WLI_extract.sikuli" -- YT791 [debug] RunTimeINIT: loadOptions: check: C:\Users\username\Desktop\Sikuli\Run [debug] RunTimeINIT: loadOptions: check: C:\Users\username [debug] RunTimeINIT: loadOptions: check: C:\Users\username\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1080 [debug] RunTimeINIT: Monitor 1: (1920, -120) 1600 x 1200 [debug] RunTimeINIT: Monitor 2: (3520, 30) 1680 x 1050 [debug] RunTimeINIT: runs as sikulix.jar in: C:\Users\username\Desktop\Sikuli\Run [debug] RunTimeINIT: exists libs folder at: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 [debug] RunTimeINIT: libs folder empty or has wrong content [debug] RunTimeINIT: now exporting libs [debug] RunTimeINIT: libs to export are at: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 [debug] RunTimeINIT: resourceList: enter [debug] RunTimeINIT: resourceLocation: (class org.sikuli.ide.SikuliIDE) /sikulixlibs/windows/libs32 [debug] RunTimeINIT: resourceList: having jar: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 [debug] RunTimeINIT: files exported: 17 from: /sikulixlibs/windows/libs32 to: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 * show environment for IDE (build 201510051707) user.home: C:\Users\username user.dir (work dir): C:\Users\username\Desktop\Sikuli\Run user.name: username java.io.tmpdir: C:\Users\username\AppData\Local\Temp running 32Bit on Windows (6.1) from a jar java 7-32 version 1.7.0_55-b13 vm 24.55-b03 class 51.0 arch x86 app data folder: C:\Users\username\AppData\Roaming\Sikulix libs folder: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 executing jar: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar *** classpath dump sikulix 0: /C:/Users/username/Desktop/Sikuli/Run/sikulix.jar *** classpath dump end * show environment end [debug] RunTimeIDE: global init: leaving [debug] RunTimeIDE: initIDEbefore: entering [debug] RunTimeIDE: initIDEbefore: leaving [debug] RunTimeIDE: initAPI: entering [debug] RunTimeIDE: initAPI: leaving [debug] init user preferences [debug] IDE: running with Locale: en_US [debug] IDE: Switching to ScriptRunner with option -r, -t or -i [debug] Runner: commandline: -r "\\network\test_extract.sikuli" -- Y11 [debug] --- Sikuli parameters --- [debug] 1: -r [debug] 2: \\network\test_extract.sikuli [debug] --- User parameters --- [debug] 1: Y11 [debug] ScriptingSupport: givenScriptName: \\network\test_extract.sikuli [debug] ScriptingSupport: Trying to run script: \\network\test_extract.py [debug] ScriptingSupport: initScriptingSupport: enter [debug] JythonSupport: init: starting [debug] JythonSupport: init: success [debug] JythonSupport: * Jython sys.path 0: C:\Users\username\Desktop\Sikuli\Run\Lib 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib 2: __classpath__ 3: __pyclasspath__/ [debug] JythonSupport: * Jython sys.path end [debug] Jython: sikuli: Sikuli: starting init [error] RunTimeIDE: Problematic lib: C:\Users\u
Re: [Sikuli-driver] [Question #280043]: Running SikuliX from VBA Excel: VisionProxy.dll Library Loading Errror
Question #280043 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/280043 Chathura posted a new comment: Also, I needed to run regedit and add Prefs folder at HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft or I will get this error 5: java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I confirmed this by running it in another Windows 7 machine runing 64 bit OS. -- 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 #280043]: VisionProxy.dll Library Loading Errror on Command LIne
New question #280043 on Sikuli: https://answers.launchpad.net/sikuli/+question/280043 I am I able to run Sikuli via command line: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 however, I am getting java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I am trying to call Sikuli script via my VBA Exell app: retVal = Shell("C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2",vbNormalFocus) Here I have -Dsikuli.Debug=3 for debugging information Here is the log file of failed execusion: +++ inside CHECKJAVA +++ running this Java +++ inside JAVA_OK_PATH +++ SIKULI_HOME C:\Users\username\Desktop\Sikuli\Run\ +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -Dsikuli.Debug=3 -jar C:\Users\username\Desktop\Sikuli\Run\sikulix.jar -r "\\network est\01 WI Standardization & Automation\Passenger Cabin\WLI_extract.sikuli" -- YT791 [debug] RunTimeINIT: loadOptions: check: C:\Users\username\Desktop\Sikuli\Run [debug] RunTimeINIT: loadOptions: check: C:\Users\username [debug] RunTimeINIT: loadOptions: check: C:\Users\username\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1080 [debug] RunTimeINIT: Monitor 1: (1920, -120) 1600 x 1200 [debug] RunTimeINIT: Monitor 2: (3520, 30) 1680 x 1050 [debug] RunTimeINIT: runs as sikulix.jar in: C:\Users\username\Desktop\Sikuli\Run [debug] RunTimeINIT: exists libs folder at: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 [debug] RunTimeINIT: libs folder empty or has wrong content [debug] RunTimeINIT: now exporting libs [debug] RunTimeINIT: libs to export are at: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 [debug] RunTimeINIT: resourceList: enter [debug] RunTimeINIT: resourceLocation: (class org.sikuli.ide.SikuliIDE) /sikulixlibs/windows/libs32 [debug] RunTimeINIT: resourceList: having jar: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 [debug] RunTimeINIT: files exported: 17 from: /sikulixlibs/windows/libs32 to: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 * show environment for IDE (build 201510051707) user.home: C:\Users\username user.dir (work dir): C:\Users\username\Desktop\Sikuli\Run user.name: username java.io.tmpdir: C:\Users\username\AppData\Local\Temp running 32Bit on Windows (6.1) from a jar java 7-32 version 1.7.0_55-b13 vm 24.55-b03 class 51.0 arch x86 app data folder: C:\Users\username\AppData\Roaming\Sikulix libs folder: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 executing jar: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar *** classpath dump sikulix 0: /C:/Users/username/Desktop/Sikuli/Run/sikulix.jar *** classpath dump end * show environment end [debug] RunTimeIDE: global init: leaving [debug] RunTimeIDE: initIDEbefore: entering [debug] RunTimeIDE: initIDEbefore: leaving [debug] RunTimeIDE: initAPI: entering [debug] RunTimeIDE: initAPI: leaving [debug] init user preferences [debug] IDE: running with Locale: en_US [debug] IDE: Switching to ScriptRunner with option -r, -t or -i [debug] Runner: commandline: -r "\\network\test_extract.sikuli" -- Y11 [debug] --- Sikuli parameters --- [debug] 1: -r [debug] 2: \\network\test_extract.sikuli [debug] --- User parameters --- [debug] 1: Y11 [debug] ScriptingSupport: givenScriptName: \\network\test_extract.sikuli [debug] ScriptingSupport: Trying to run script: \\network\test_extract.py [debug] ScriptingSupport: initScriptingSupport: enter [debug] JythonSupport: init: starting [debug] JythonSupport: init: success [debug] JythonSupport: * Jython sys.path 0: C:\Users\username\Desktop\Sikuli\Run\Lib 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib 2: __classpath__ 3: __pyclasspath__/ [debug] JythonSupport: * Jython sys.path end [debug] Jython: sikuli: Sikuli: starting init [error] RunTimeIDE: Problematic lib: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707\VisionProxy.dll (...TEMP...) [error] RunTimeIDE: VisionProxy.dll loaded, but it might be a problem with needed dependent libraries ERROR: ...TEMP...: The specified procedure could not be found [error] RunTimeIDE: *** terminating: problem with native library: VisionProxy.dll [debug] RunTimeIDE: final cleanup [debug] FileManager: deleteFileOrFolder: C:\Users\username\AppData\Local\Temp\Sikulix_469029050\ Here is the execution log file of working commandline: +++ SIKULIX_HOME specified but not useable %~dp0 +++ inside CHECKJAVA +++ running this Java +++ inside JAVA_OK_PATH +++ SIKULI_HOME C:\Users\username\Desktop\Sikuli\Run\ +++ trying to run SikuliX +++
[Sikuli-driver] [Bug 1528930] Re: VisionProxy.dll Library Loading Errror on Command LIne
My machine has both 32 bit and 64 bit java installed. I had to manually specify the 64 bit version of java in runsikulix.cmd file. I made following changes: Before: java %PARMS% -jar "%SIKULIX_HOME%%SJAR%.jar" %SIKULI_COMMAND% To set JAVA_HOME=C:\Program Files\Java\jre7 REM java %PARMS% -jar "%SIKULIX_HOME%%SJAR%.jar" %SIKULI_COMMAND% "%JAVA_HOME%\bin\java.exe" %PARMS% -jar "%SIKULIX_HOME%%SJAR%.jar" %SIKULI_COMMAND% -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1528930 Title: VisionProxy.dll Library Loading Errror on Command LIne Status in Sikuli: New Bug description: I am I able to run Sikuli via command line: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 however, I am getting java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I am trying to call Sikuli script via my VBA Exell app: retVal = Shell("C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2",vbNormalFocus) Here I have -Dsikuli.Debug=3 for debugging information Here is the log file of failed execusion: +++ inside CHECKJAVA +++ running this Java +++ inside JAVA_OK_PATH +++ SIKULI_HOME C:\Users\username\Desktop\Sikuli\Run\ +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -Dsikuli.Debug=3 -jar C:\Users\username\Desktop\Sikuli\Run\sikulix.jar -r "\\network est\01 WI Standardization & Automation\Passenger Cabin\WLI_extract.sikuli" -- YT791 [debug] RunTimeINIT: loadOptions: check: C:\Users\username\Desktop\Sikuli\Run [debug] RunTimeINIT: loadOptions: check: C:\Users\username [debug] RunTimeINIT: loadOptions: check: C:\Users\username\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1080 [debug] RunTimeINIT: Monitor 1: (1920, -120) 1600 x 1200 [debug] RunTimeINIT: Monitor 2: (3520, 30) 1680 x 1050 [debug] RunTimeINIT: runs as sikulix.jar in: C:\Users\username\Desktop\Sikuli\Run [debug] RunTimeINIT: exists libs folder at: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 [debug] RunTimeINIT: libs folder empty or has wrong content [debug] RunTimeINIT: now exporting libs [debug] RunTimeINIT: libs to export are at: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 [debug] RunTimeINIT: resourceList: enter [debug] RunTimeINIT: resourceLocation: (class org.sikuli.ide.SikuliIDE) /sikulixlibs/windows/libs32 [debug] RunTimeINIT: resourceList: having jar: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 [debug] RunTimeINIT: files exported: 17 from: /sikulixlibs/windows/libs32 to: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 * show environment for IDE (build 201510051707) user.home: C:\Users\username user.dir (work dir): C:\Users\username\Desktop\Sikuli\Run user.name: username java.io.tmpdir: C:\Users\username\AppData\Local\Temp running 32Bit on Windows (6.1) from a jar java 7-32 version 1.7.0_55-b13 vm 24.55-b03 class 51.0 arch x86 app data folder: C:\Users\username\AppData\Roaming\Sikulix libs folder: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 executing jar: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar *** classpath dump sikulix 0: /C:/Users/username/Desktop/Sikuli/Run/sikulix.jar *** classpath dump end * show environment end [debug] RunTimeIDE: global init: leaving [debug] RunTimeIDE: initIDEbefore: entering [debug] RunTimeIDE: initIDEbefore: leaving [debug] RunTimeIDE: initAPI: entering [debug] RunTimeIDE: initAPI: leaving [debug] init user preferences [debug] IDE: running with Locale: en_US [debug] IDE: Switching to ScriptRunner with option -r, -t or -i [debug] Runner: commandline: -r "\\network\test_extract.sikuli" -- Y11 [debug] --- Sikuli parameters --- [debug] 1: -r [debug] 2: \\network\test_extract.sikuli [debug] --- User parameters --- [debug] 1: Y11 [debug] ScriptingSupport: givenScriptName: \\network\test_extract.sikuli [debug] ScriptingSupport: Trying to run script: \\network\test_extract.py [debug] ScriptingSupport: initScriptingSupport: enter [debug] JythonSupport: init: starting [debug] JythonSupport: init: success [debug] JythonSupport: * Jython sys.path 0: C:\Users\username\Desktop\Sikuli\Run\Lib 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib 2: __classpath__ 3: __pyclasspath__/ [debug] JythonSupport: * Jython sys.path end [debug] Jython: sikuli: Sikuli: starting init [error] RunTi
Re: [Sikuli-driver] [Question #279885]: Running Sikuli Command Line via VBA Shell
Question #279885 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/279885 Status: Open => Solved Chathura confirmed that the question is solved: I added -Dsikuli.Debug=3 toi runsikulix.cmd to see debug of error message: set PARMS=-Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -Dsikuli.Debug=3 I pin point this error message is due to running a 32 bit version java via shell command. My machine has both 32 bit and 64 bit java installed. I had to manually specify the 64 bit version of java in runsikulix.cmd file. I made following changes: Before: java %PARMS% -jar "%SIKULIX_HOME%%SJAR%.jar" %SIKULI_COMMAND% To set JAVA_HOME=C:\Program Files\Java\jre7 REM java %PARMS% -jar "%SIKULIX_HOME%%SJAR%.jar" %SIKULI_COMMAND% "%JAVA_HOME%\bin\java.exe" %PARMS% -jar "%SIKULIX_HOME%%SJAR%.jar" %SIKULI_COMMAND% -- 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] [Bug 1528930] Re: VisionProxy.dll Library Loading Errror on Command LIne
** Description changed: I am I able to run Sikuli via command line: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 however, I am getting java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I am trying to call Sikuli script via my VBA Exell app: retVal = Shell("C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2",vbNormalFocus) Here I have -Dsikuli.Debug=3 for debugging information - Here is the log file: + Here is the log file of failed execusion: + +++ inside CHECKJAVA + +++ running this Java + +++ inside JAVA_OK_PATH + +++ SIKULI_HOME C:\Users\username\Desktop\Sikuli\Run\ + +++ trying to run SikuliX + +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -Dsikuli.Debug=3 -jar C:\Users\username\Desktop\Sikuli\Run\sikulix.jar -r "\\network est\01 WI Standardization & Automation\Passenger Cabin\WLI_extract.sikuli" -- YT791 + [debug] RunTimeINIT: loadOptions: check: C:\Users\username\Desktop\Sikuli\Run + [debug] RunTimeINIT: loadOptions: check: C:\Users\username + [debug] RunTimeINIT: loadOptions: check: C:\Users\username\AppData\Roaming\Sikulix\SikulixStore + [debug] RunTimeINIT: global init: entering as: IDE + [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) + [debug] RunTimeINIT: Monitor 0: (0, 0) 1920 x 1080 + [debug] RunTimeINIT: Monitor 1: (1920, -120) 1600 x 1200 + [debug] RunTimeINIT: Monitor 2: (3520, 30) 1680 x 1050 + [debug] RunTimeINIT: runs as sikulix.jar in: C:\Users\username\Desktop\Sikuli\Run + [debug] RunTimeINIT: exists libs folder at: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 + [debug] RunTimeINIT: libs folder empty or has wrong content + [debug] RunTimeINIT: now exporting libs + [debug] RunTimeINIT: libs to export are at: + jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 + [debug] RunTimeINIT: resourceList: enter + [debug] RunTimeINIT: resourceLocation: (class org.sikuli.ide.SikuliIDE) /sikulixlibs/windows/libs32 + [debug] RunTimeINIT: resourceList: having jar: jar:file:/C:/Users/username/Desktop/Sikuli/Run/sikulix.jar!/sikulixlibs/windows/libs32 + [debug] RunTimeINIT: files exported: 17 from: /sikulixlibs/windows/libs32 to: + C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 + * show environment for IDE (build 201510051707) + user.home: C:\Users\username + user.dir (work dir): C:\Users\username\Desktop\Sikuli\Run + user.name: username + java.io.tmpdir: C:\Users\username\AppData\Local\Temp + running 32Bit on Windows (6.1) from a jar + java 7-32 version 1.7.0_55-b13 vm 24.55-b03 class 51.0 arch x86 + app data folder: C:\Users\username\AppData\Roaming\Sikulix + libs folder: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707 + executing jar: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar + *** classpath dump sikulix + 0: /C:/Users/username/Desktop/Sikuli/Run/sikulix.jar + *** classpath dump end + * show environment end + [debug] RunTimeIDE: global init: leaving + [debug] RunTimeIDE: initIDEbefore: entering + [debug] RunTimeIDE: initIDEbefore: leaving + [debug] RunTimeIDE: initAPI: entering + [debug] RunTimeIDE: initAPI: leaving + [debug] init user preferences + [debug] IDE: running with Locale: en_US + [debug] IDE: Switching to ScriptRunner with option -r, -t or -i + [debug] Runner: commandline: -r "\\network\test_extract.sikuli" -- Y11 + [debug] --- Sikuli parameters --- + [debug] 1: -r + [debug] 2: \\network\test_extract.sikuli + [debug] --- User parameters --- + [debug] 1: Y11 + [debug] ScriptingSupport: givenScriptName: + \\network\test_extract.sikuli + [debug] ScriptingSupport: Trying to run script: + \\network\test_extract.py [debug] ScriptingSupport: initScriptingSupport: enter [debug] JythonSupport: init: starting [debug] JythonSupport: init: success [debug] JythonSupport: * Jython sys.path - 0: C:\Users\username\Desktop\Sikuli\Run\Lib - 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib - 2: __classpath__ - 3: __pyclasspath__/ + 0: C:\Users\username\Desktop\Sikuli\Run\Lib + 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib + 2: __classpath__ + 3: __pyclasspath__/ [debug] JythonSupport: * Jython sys.path end [debug] Jython: sikuli: Sikuli: starting init [error] RunTimeIDE: Problematic lib: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707\VisionProxy.dll (...TEMP...) [error] RunTimeIDE: VisionProxy.dll loaded, but it might be a problem with needed dependent libraries ERROR: ...TEMP...: The specified procedure could not be found [error] RunTimeIDE: *** terminating: problem with native library: VisionProxy.dll [debug] RunTimeIDE: final cleanup [debug] FileManager: deleteFileOrFolder: + C:\Users\username\App
[Sikuli-driver] [Bug 1528930] [NEW] VisionProxy.dll Library Loading Errror on Command LIne
Public bug reported: I am I able to run Sikuli via command line: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 however, I am getting java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I am trying to call Sikuli script via my VBA Exell app: retVal = Shell("C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2",vbNormalFocus) Here I have -Dsikuli.Debug=3 for debugging information Here is the log file: [debug] ScriptingSupport: initScriptingSupport: enter [debug] JythonSupport: init: starting [debug] JythonSupport: init: success [debug] JythonSupport: * Jython sys.path 0: C:\Users\username\Desktop\Sikuli\Run\Lib 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib 2: __classpath__ 3: __pyclasspath__/ [debug] JythonSupport: * Jython sys.path end [debug] Jython: sikuli: Sikuli: starting init [error] RunTimeIDE: Problematic lib: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707\VisionProxy.dll (...TEMP...) [error] RunTimeIDE: VisionProxy.dll loaded, but it might be a problem with needed dependent libraries ERROR: ...TEMP...: The specified procedure could not be found [error] RunTimeIDE: *** terminating: problem with native library: VisionProxy.dll [debug] RunTimeIDE: final cleanup [debug] FileManager: deleteFileOrFolder: what is the TEMP procedure it is referring to? ** Affects: sikuli Importance: Undecided Status: New ** Tags: general library sikulijavaapi visionproxy.dll ** Description changed: I am I able to run Sikuli via command line: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 however, I am getting java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I am trying to call Sikuli script via my VBA Exell app: retVal = Shell("C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2",vbNormalFocus) - Here have -Dsikuli.Debug=3 for debugging information + Here I have -Dsikuli.Debug=3 for debugging information Here is the log file: [debug] ScriptingSupport: initScriptingSupport: enter [debug] JythonSupport: init: starting [debug] JythonSupport: init: success [debug] JythonSupport: * Jython sys.path - 0: C:\Users\username\Desktop\Sikuli\Run\Lib - 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib - 2: __classpath__ - 3: __pyclasspath__/ + 0: C:\Users\username\Desktop\Sikuli\Run\Lib + 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib + 2: __classpath__ + 3: __pyclasspath__/ [debug] JythonSupport: * Jython sys.path end [debug] Jython: sikuli: Sikuli: starting init [error] RunTimeIDE: Problematic lib: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707\VisionProxy.dll (...TEMP...) [error] RunTimeIDE: VisionProxy.dll loaded, but it might be a problem with needed dependent libraries ERROR: ...TEMP...: The specified procedure could not be found [error] RunTimeIDE: *** terminating: problem with native library: VisionProxy.dll [debug] RunTimeIDE: final cleanup [debug] FileManager: deleteFileOrFolder: + + + what is the TEMP procedure it is referring to? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1528930 Title: VisionProxy.dll Library Loading Errror on Command LIne Status in Sikuli: New Bug description: I am I able to run Sikuli via command line: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 however, I am getting java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I am trying to call Sikuli script via my VBA Exell app: retVal = Shell("C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2",vbNormalFocus) Here I have -Dsikuli.Debug=3 for debugging information Here is the log file: [debug] ScriptingSupport: initScriptingSupport: enter [debug] JythonSupport: init: starting [debug] JythonSupport: init: success [debug] JythonSupport: * Jython sys.path 0: C:\Users\username\Desktop\Sikuli\Run\Lib 1: C:\Users\username\Desktop\Sikuli\Run\sikulix.jar\Lib 2: __classpath__ 3: __pyclasspath__/ [debug] JythonSupport: * Jython sys.path end [debug] Jython: sikuli: Sikuli: starting init [error] RunTimeIDE: Problematic lib: C:\Users\username\AppData\Roaming\Sikulix\SikulixLibs_201510051707\VisionProxy.dll (...TEMP...) [error] RunTimeIDE: VisionProxy.dll loaded, but it might be a problem with needed de
[Sikuli-driver] [Question #279885]: Running Sikuli Command Line via VBA Shell
New question #279885 on Sikuli: https://answers.launchpad.net/sikuli/+question/279885 I able to run Sikuli via command line: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 however, I am getting java.util.prefs.WindowsPreferences (init) WARNING: could not open/create prefs root node Software\JavaSoft\Prefs at root 0x8002. Windows RegCreateKeyEx(...) returned error code 5. I am trying to call Sikuli script via my VBA Exell app: retVal = Shell("C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2",vbNormalFocus) command windows pops with with error message shown above. By the way, I do not have admin right to the machine. I need to be able to integrate Sikuli script into my VBA macro. -- 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] [Bug 1528358] [NEW] Display Overlay Not Refreshing in with Highlight()
Public bug reported: Display overlay does not refreshing in with when used with Region.highlight() method. This is in version 1.1.1 (using installation sikulixsetup-1.1.1-20151126.001204-18-forsetup.jar). This bug only happens when I tried to kill a running Sikuli session with Alt+Shift+C. Only option to remove this annoying refresh bug is to close Sikuli down and open it again. match.highlight(1, "green") print match.getX() print match.getY() myregion_primscreen = Region(match.getX(),match.getY(),65,17) myregion_primscreen.highlight(1,"red") matchstr=myregion_primscreen.text() sometimes the green and sometime red overlay boxes appear on screen. ** Affects: sikuli Importance: Undecided Status: New ** Tags: region.highlight -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1528358 Title: Display Overlay Not Refreshing in with Highlight() Status in Sikuli: New Bug description: Display overlay does not refreshing in with when used with Region.highlight() method. This is in version 1.1.1 (using installation sikulixsetup-1.1.1-20151126.001204-18-forsetup.jar). This bug only happens when I tried to kill a running Sikuli session with Alt+Shift+C. Only option to remove this annoying refresh bug is to close Sikuli down and open it again. match.highlight(1, "green") print match.getX() print match.getY() myregion_primscreen = Region(match.getX(),match.getY(),65,17) myregion_primscreen.highlight(1,"red") matchstr=myregion_primscreen.text() sometimes the green and sometime red overlay boxes appear on screen. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1528358/+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] [Question #279508]: Multi Part Image Pattern Matching
New question #279508 on Sikuli: https://answers.launchpad.net/sikuli/+question/279508 img0=Pattern('%d.png' % 0).similar(.70) #0 img1=Pattern('%d.png' % 1).similar(.70) #1 img2=Pattern('%d.png' % 2).similar(.70) #2 img9=Pattern('%d.png' % 9).similar(.70) #9 then use "combine images" to find all: matches = mineArea.findAll(Pattern('%d.png' % i).similar(.70)) while matches.hasNext(): what kind of pattern can I use? I need to be able to combine any digit to create own number with more than 3 digits to do matching on screen assuming spacing between digits are close to be match image. -- 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 #279450]: Region.Find("image text") Fails to Find Text
New question #279450 on Sikuli: https://answers.launchpad.net/sikuli/+question/279450 I am trying to find text on a Region using it Find method. Settings.OcrTextSearch = True h=findAll(crosspt) while h.hasNext(): t=h.next() tregion=Region(t.getX(),t.getY(),50,50) # new region where text of "120" sits. tregion.highlight(2, "yellow") icons=tregion.find("120") the tregion.find says looking for a file 120.png. I want is look for text "120" instead of file 120.png. -- 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 #279421]: OCR custom font Training and Installation
New question #279421 on Sikuli: https://answers.launchpad.net/sikuli/+question/279421 I tried Sikuli OCR and text recognition is very poor to useless. I wanted to include my own English fonts with Tesseract training. How would I go about creating my own training set and let Sikuli to use that training data for text recognition? -- 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 #279421]: OCR custom font Training and Installation
Question #279421 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/279421 Description changed to: I tried Sikuli OCR and text recognition is very poor to useless. I used: myregion=Region(t.x,t.y, 200, 200) f=myregion.find("170") f is emply meaning OCR text find fails to find 170 in custom myregion area. I wanted to include my own English fonts with Tesseract training. How would I go about creating my own training set and let Sikuli to use that training data for text recognition? -- 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 #279251]: dragDrop does not work
Question #279251 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/279251 Status: Answered => Solved Chathura 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
[Sikuli-driver] [Question #279251]: dragDrop does not work
New question #279251 on Sikuli: https://answers.launchpad.net/sikuli/+question/279251 I was trying to drag horizontal slider using t= find(image) dragDrop(t, t.offset(Location(100, 0)) It did not work. I had to write my own drag drop function. mouseMove(t) hover(t) wait(.3) mouseDown(Button.LEFT) mouseMove(t.offset(Location(100,0))) mouseUp(Button.LEFT) mouseMove(t) # reset mouse position to before move why is the dragDrop function not doing this in 1.1.0? -- 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 #277479]: SiKuli Unable to Pass Arguments via Sys.arg
Question #277479 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/277479 Status: Answered => Solved Chathura confirmed that the question is solved: Hi, Raiman, I got the argument passing to work. I had to use double dash "--" instead of single dash "-" in the command line. in the code: import sys for arg in sys.argv: print arg Command is: C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -- arg1 arg2 note double dash above. Thank you 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 #277479]: SiKuli Unable to Pass Arguments via Sys.arg
Question #277479 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/277479 Chathura 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 #276722]: How to Convert Sikuli Script to Standalone Python Script
Question #276722 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/276722 Chathura gave more information on the question: Raiman, what version on has those runtime features implemented in 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 #276722]: How to Convert Sikuli Script to Standalone Python Script
Question #276722 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/276722 Status: Answered => Open Chathura is still having a problem: Can you point to "exe-packing is the packaging into a jar, which is simply possible in various ways with SikuliX" docs? 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
[Sikuli-driver] [Question #277479]: SiKuli Unable to Pass Arguments via Sys.arg
New question #277479 on Sikuli: https://answers.launchpad.net/sikuli/+question/277479 I am trying to pass arguments via commandline I can launch Sikuli scripts to run via SiKuli Unable to Pass Arguments C:\pathtosikuli\runsikulix.cmd -r C:\Sikuli\scripts\mysikulscript.sikuli -w arg1 arg2 alternatively you might use: java -jar C:\pathtosikuli\sikulix.jar -r C:\Sikuli\scripts\mysikulscript.sikuli -w arg1 arg2 Scripts loads and runs file but after complete execution I cannot pass arg1 and arg2. I tried passing arguments via: import sys for arg in sys.argv: print arg this prints only: C:\Sikuli\scripts\mysikulscript.sikuli do I need to be able to pass in arg1 and arg2 I also tried: import getopt from optparse import optionparser parser = optionparser() parser.add_option("-w", "--foo", help="set foo option") parser.add_option("-b", "--bar", help="set bar option") (options, args) = parser.parse_args() print "options: %s" % options print "args: %s" % args but i am getting import error: cannot import name optionparser I also tried import getopt, sys try: opts, args = getopt.getopt(sys.argv[1:], “ho:v”, [“help”, “output=”]) except getopt.GetoptError, err: # print help information and exit: print str(err) # will print something like “option -a not recognized” usage() sys.exit(2) output = None verbose = False for o, a in opts: if o == “-v”: verbose = True elif o in (“-h”, “–help”): usage() sys.exit() elif w in (“-w”, “–output”): output = a else: assert False, “unhandled option” Still does not work. -- 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 #276722]: How to Convert Sikuli Script to Standalone Python Script
Question #276722 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/276722 Status: Needs information => Open Chathura gave more information on the question: Hi Raiman, I use bbfreeze to convert .py scripts to standalone .exe in windows 7 machine. It works great for pure python script. Since Sikuli .py are jython version of python, I am not sure even to get it working. I wrote following pure python script: import org.sikuli.script.SikulixForJython from sikuli.sikuli import * import sys importPath = r"C:\Users\uername\Desktop\Sikuli\app_test" if not importPath in sys.path: sys.path.append(importPath) def test(): popup("works!") wait(10) pass def launch(): App.open("C:\Program Files\Myprogram\app.exe") test() launch() I am getting following error message at line 1: ImportError: No module named org.sikuli.script.SikulixForJython my Jython works in command line. My Jython version is 2.2.1 on java1.7_55. I am using PyCharm IDE running Python 2.7 _32bit version. -- 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 #276722]: How to Convert Sikuli Script to Standalone Python Script
Question #276722 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/276722 Status: Answered => Open Chathura is still having a problem: Can you show me a working sikuli pure python example with correct imports for click()? -- 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 #276725]: Detecting Certain Text and x, y locations of those text
New question #276725 on Sikuli: https://answers.launchpad.net/sikuli/+question/276725 I an image i want to be able to detecting Certain Text string and x, y locations of those text. all I know is we can define a region like myregion_primscreen = Region(0,0,1080,1920) get all OCR text but no idea where the text x,y values going to be. print myregion_primscreen.text() -- 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 #276722]: How to Convert Sikuli Script to Standalone Python Script
New question #276722 on Sikuli: https://answers.launchpad.net/sikuli/+question/276722 I wanted to convert my python I wanted to convert following psduo python code into stand alone Python code with correct imports: print getNumberScreens() print getBounds() click("1449256116692.png") doubleClick("1449256144784.png") doubleClick("1449256178824.png") doubleClick("1449256193974.png") wait(1) click(Pattern("1449257220351.png").exact().targetOffset(0,1)) click(Pattern("1449257220351.png").exact().targetOffset(0,1)) wait(1) click(Pattern("1449256244357.png").exact().targetOffset(0,6)) type('textpatter*') click("1449256977173.png") myregion_primscreen = selectRegion() print myregion_primscreen.text() How would I do this? -- 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