Re: [Sikuli-driver] [Question #271638]: Source of selenium4sikuli extension
Question #271638 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271638 Status: Open => Answered RaiMan proposed the following answer: I have the jar from MavenCentral. There should also be the sources. But you should also look into the Selenium docs/pages. -- 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 #271642]: How to build Sikuli IDE and sikuli API 1.1.0 from Source code
Question #271642 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271642 Status: Open => Answered RaiMan proposed the following answer: - download the repo content (https://github.com/RaiMan/SikuliX-2014) with one of the available options (recommended: make a fork, clone to your NetBeans workspace and use the git-features provided by NetBeans) - open the project in NetBeans (it is a multi-module Maven project) - run a (first time will be lengthy due to the download of the dependencies from Maven central) - from within Netbeans you can run and debug the module IDE (main class is org.sikuli.ide.Sikulix) To get the IDE (sikulix.jar) and API (sikulixapi.jar) for normal use outside of NetBeans, you have to run Setup (main class org.sikuli.setup.RunSetup) from inside NetBeans. The produced artifacts will be in /Setup. additional info: https://github.com/RaiMan/SikuliX-2014/wiki/More-information-related-to-the-Maven-aspects-in-this-project -- 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 #258391]: steps on Compiling Sikuli IDE from Source via Eclipse or Netbeans
Question #258391 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/258391 Status: Open => Solved RaiMan changed the question status: see answer to your other 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 #271593]: [1.1.0] How to get better results when working with OCR
Question #271593 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271593 Status: Open => Answered RaiMan proposed the following answer: - correct transscription to Java: Image imgForOCR= Image.create(screen.capture(new Screen().selectRegion())).convertImageToGrayscale(img).resize(factor); System.out.println(imgForOCR.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
Re: [Sikuli-driver] [Question #271680]: [error] ResourceLoaderBasic: check: libs dir is empty, has wrong content or is outdated [action] ResourceLoaderBasic: check: Please wait! Trying to extract libs
Question #271680 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271680 Status: Open => Needs information RaiMan requested more information: This is not a terminating error, just the information, that the libs folder content is recreated. What is you problem? -- 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 #271654]: steps to build sikuli API jar from source
Question #271654 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271654 Status: Open => Needs information RaiMan requested more information: sikulixapi.jar cannot be built from source directly. Why do you want to do that? -- 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 #271703]: Once custom targerOffset is used then image is like updated with targetOffset used
Question #271703 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271703 Status: Open => Answered RaiMan proposed the following answer: the correct way is: img = "POLICY_source_rule_centos_smc5.10.0.png" p1 = Pattern(img) p2 = Pattern(img).targetOffset() or p2 = Pattern(p1).targetOffset() targetOffset() by design changes the respective settings of the given Pattern object. -- 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 #271608]: How can I highlight and copy a certain text?
Question #271608 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271608 Status: Open => Needs information RaiMan requested more information: what system? -- 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 #271640]: Click each record in a indeterminant list
Question #271640 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271640 RaiMan proposed the following answer: not that easy. you have to somehow find out the geometry of the list: - somehow find the first line or something above - somehow find the last line or something below - calculate the height of the list using these 2 matches Then loop through the lines by successively calculating the next click point (you have to know the height of one line for that) -- 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 #271660]: java.lang.UnsatisfiedLinkError happens when i try to use App.open()
Question #271660 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271660 Status: Open => Invalid RaiMan changed the question status: I have to check and fix. Therefor made it a bug. -- 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 #271660]: Status of bug #1498949 changed to 'Fix Committed' in Sikuli
Bug #1498949 status changed in Sikuli: New => Fix Committed https://bugs.launchpad.net/sikuli/+bug/1498949 "[1.1.0] OSX 10.10: sikulixapi in Eclipse project: java.lang.UnsatisfiedLinkError: org.sikuli.natives.MacUtil._openApp" This bug is linked to #271660. java.lang.UnsatisfiedLinkError happens when i try to use App.open() https://answers.launchpad.net/sikuli/+question/271660 -- 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 #271660]: java.lang.UnsatisfiedLinkError happens when i try to use App.open()
Question #271660 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271660 Linked to bug: #1498949 https://bugs.launchpad.net/bugs/1498949 "[1.1.0] OSX 10.10: sikulixapi in Eclipse project: java.lang.UnsatisfiedLinkError: org.sikuli.natives.MacUtil._openApp" -- 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 1498949] [NEW] [1.1.0] OSX 10.10: sikulixapi in Eclipse project: java.lang.UnsatisfiedLinkError: org.sikuli.natives.MacUtil._openApp
Public bug reported: Use Sikuli in IDE Eclipse on OS X 10.10.5 Try to use App.open("Google Chrome"); Next error happens: java.lang.UnsatisfiedLinkError: org.sikuli.natives.MacUtil._openApp(Ljava/lang/String;)Z at org.sikuli.natives.MacUtil._openApp(Native Method) at org.sikuli.natives.MacUtil.open(MacUtil.java:126) at org.sikuli.script.App.open(App.java:425) at org.sikuli.script.App.open(App.java:416) POM.xml ... com.sikulix sikulixapi 1.1.0-SNAPSHOT ... com.sikulix com.sikulix https://oss.sonatype.org/content/groups/public default true always ... The question is how can I fix it? ** Affects: sikuli Importance: High Assignee: RaiMan (raimund-hocke) Status: Fix Committed ** Changed in: sikuli Status: New => Fix Committed ** Changed in: sikuli Importance: Undecided => High ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None => 1.1.0 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1498949 Title: [1.1.0] OSX 10.10: sikulixapi in Eclipse project: java.lang.UnsatisfiedLinkError: org.sikuli.natives.MacUtil._openApp Status in Sikuli: Fix Committed Bug description: Use Sikuli in IDE Eclipse on OS X 10.10.5 Try to use App.open("Google Chrome"); Next error happens: java.lang.UnsatisfiedLinkError: org.sikuli.natives.MacUtil._openApp(Ljava/lang/String;)Z at org.sikuli.natives.MacUtil._openApp(Native Method) at org.sikuli.natives.MacUtil.open(MacUtil.java:126) at org.sikuli.script.App.open(App.java:425) at org.sikuli.script.App.open(App.java:416) POM.xml ... com.sikulix sikulixapi 1.1.0-SNAPSHOT ... com.sikulix com.sikulix https://oss.sonatype.org/content/groups/public default true always ... The question is how can I fix it? To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1498949/+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 #271642]: How to build Sikuli IDE and sikuli API 1.1.0 from Source code
Question #271642 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271642 RaiMan proposed the following answer: With the actual 1.1.0, the libs dir is no longer in the folder where the jar is. On each machine it is in one place: /libs see: http://sikulix-2014.readthedocs.org/en/latest/basicinfo.html#sikulix-system-specifics -- 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 #271642]: How to build Sikuli IDE and sikuli API 1.1.0 from Source code
Question #271642 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271642 RaiMan proposed the following answer: sikulixapi.jar cannot be built from sources. You either use it inside Netbeans as a project reference or as a Maven dependency or you run setup to create a ready-to-use sikulixapi.jar. -- 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 #271722]: [1.1.0] How to control the inner timing of dragDrop()
Question #271722 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271722 Summary changed to: [1.1.0] How to control the inner timing of dragDrop() -- 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 #271722]: [1.1.0] How to control the inner timing of dragDrop()
Question #271722 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271722 Status: Open => Answered RaiMan proposed the following answer: If mouse actions generally work with your target app/GUI, the this is usually a timing problem (the sequence of mouse actions done by SikuliX are too fast). a drag drop in terms of basic mouse actions is like this: # dragDrop(from, to) hover(from) wait(beforeMouseDown) mouseDown(Button.LEFT) wait(beforeDrag) hover(to) wait(beforeDrop) mouseUp() the wait times beforeMouseDown, beforeDrag, beforeDrop can be adjusted, to fulfill the GUI's requirements. Usually small values between 0.2 and 0.5 are sufficient. I just revised the dragDrop() in version 1.1.0. Beginning with tomorrow's build the following is available: - the timing parameters beforeMouseDown, beforeDrag, beforeDrop in the standard are 0.3 seconds each - using Settings.beforeMouseDown, Settings.beforeDrag, Settings.beforeDrop they can individually be set for the next following dradDrop() (after completion of the dragDrop they will be reset to the default value) example: Settings.beforeMouseDown = 0.4 Settings.beforeDrag = 0.5 Settings.beforeDrop = 0.1 dragDrop(from, to) the values are used accordingly with drag() and dropAt() also. The docs will be revised tomorrow also. -- 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 1498949] Re: [1.1.0] Windows/Mac: problem with App class after 2015-09-19: native xxxUtil libs where no longer loaded (unsatisfied link errors)
problem is fixed in tomorrows build. ** Summary changed: - [1.1.0] OSX 10.10: sikulixapi in Eclipse project: java.lang.UnsatisfiedLinkError: org.sikuli.natives.MacUtil._openApp + [1.1.0] Windows/Mac: problem with App class after 2015-09-19: native xxxUtil libs where no longer loaded (unsatisfied link errors) ** Summary changed: - [1.1.0] Windows/Mac: problem with App class after 2015-09-19: native xxxUtil libs where no longer loaded (unsatisfied link errors) + [1.1.0] Windows/Mac: problem with App class after 2015-09-19: native xxxUtil libs where no longer loaded (unsatisfied link errors) --- fixed 2015-09-25+ -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1498949 Title: [1.1.0] Windows/Mac: problem with App class after 2015-09-19: native xxxUtil libs where no longer loaded (unsatisfied link errors) --- fixed 2015-09-25+ Status in Sikuli: Fix Committed Bug description: Use Sikuli in IDE Eclipse on OS X 10.10.5 Try to use App.open("Google Chrome"); Next error happens: java.lang.UnsatisfiedLinkError: org.sikuli.natives.MacUtil._openApp(Ljava/lang/String;)Z at org.sikuli.natives.MacUtil._openApp(Native Method) at org.sikuli.natives.MacUtil.open(MacUtil.java:126) at org.sikuli.script.App.open(App.java:425) at org.sikuli.script.App.open(App.java:416) POM.xml ... com.sikulix sikulixapi 1.1.0-SNAPSHOT ... com.sikulix com.sikulix https://oss.sonatype.org/content/groups/public default true always ... The question is how can I fix it? To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1498949/+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 #271749]: String Manipulation
Question #271749 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271749 Status: Open => Answered RaiMan proposed the following answer: searching: Python substring brings up: http://pythoncentral.io/how-to-get-a-substring-from-a-string-in-python-slicing-strings/ -- 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 #271751]: Where to get sikuli-script.jar to run Jython .py from Java
Question #271751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271751 Description changed to: Hi, Where to get sikuli-script.jar to run Jython .py from Java? I am getting the following error as seen below, Exception in thread "main" Traceback (most recent call last): File "", line 1, in File "D:\Jars\sikuli-setup.jar\Lib\sikuli\__init__.py", line 5, in java.lang.NoClassDefFoundError: sikuli (wrong name: Sikuli) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) more at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206) at org.sikuli.scriptrunner.JythonScriptRunner.executeScriptHeader(JythonScriptRunner.java:589) at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:152) at runsikuli.main(runsikuli.java:38) java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: sikuli (wrong name: 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 #271751]: Where to get sikuli-script.jar to run Jython .py from Java
Question #271751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271751 Status: Open => Answered RaiMan proposed the following answer: does not work in 1.0.1 you have to use 1.1.0 see the docs -- 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 #271757]: [1.1.0] Robot Framework + Sikuli problem: UnsatisfiedLinkError: org.sikuli.natives.WinUtil.getHwnd(II)J --- fixed 2015-09-25+
Question #271757 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271757 Summary changed to: [1.1.0] Robot Framework + Sikuli problem: UnsatisfiedLinkError: org.sikuli.natives.WinUtil.getHwnd(II)J --- fixed 2015-09-25+ -- 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 #271757]: Robot Framework + Sikuli problem: UnsatisfiedLinkError: org.sikuli.natives.WinUtil.getHwnd(II)J
Question #271757 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271757 Status: Open => Answered RaiMan proposed the following answer: see bug 1498949 should work with today's nightly again -- 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 1498949] Re: [1.1.0] Windows/Mac: problem with App class after 2015-09-19: native xxxUtil libs where no longer loaded (unsatisfied link errors) --- fixed 2015-09-25+
** Changed in: sikuli Importance: High => Critical -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1498949 Title: [1.1.0] Windows/Mac: problem with App class after 2015-09-19: native xxxUtil libs where no longer loaded (unsatisfied link errors) --- fixed 2015-09-25+ Status in Sikuli: Fix Committed Bug description: Use Sikuli in IDE Eclipse on OS X 10.10.5 Try to use App.open("Google Chrome"); Next error happens: java.lang.UnsatisfiedLinkError: org.sikuli.natives.MacUtil._openApp(Ljava/lang/String;)Z at org.sikuli.natives.MacUtil._openApp(Native Method) at org.sikuli.natives.MacUtil.open(MacUtil.java:126) at org.sikuli.script.App.open(App.java:425) at org.sikuli.script.App.open(App.java:416) POM.xml ... com.sikulix sikulixapi 1.1.0-SNAPSHOT ... com.sikulix com.sikulix https://oss.sonatype.org/content/groups/public default true always ... The question is how can I fix it? To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1498949/+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 #271754]: Could someone point to Sikuli1.0.1 Source Backup?
Question #271754 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271754 Status: Open => Answered RaiMan proposed the following answer: Sources for 1.0.1 are no longer available, because the build process is too complicated. I do not want to support this any more. Use version 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 #271642]: How to build Sikuli IDE and sikuli API 1.1.0 from Source code
Question #271642 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271642 Status: Open => Answered RaiMan proposed the following answer: class file: org.sikuli.ide.SikuliIDE starting at line 1685 -- 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 #271751]: Where to get sikuli-script.jar to run Jython .py from Java
Question #271751 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271751 Status: Open => Needs information RaiMan requested more information: please tell exactly what you have and what you are trying. -- 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 #271593]: [1.1.0] How to get better results when working with OCR
Question #271593 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271593 Status: Open => Answered RaiMan proposed the following answer: sorry, but I am talking about the class org.sikuli.script.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
Re: [Sikuli-driver] [Question #271844]: sikuli and monkeyrunner
Question #271844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271844 Status: Open => Answered RaiMan proposed the following answer: Surely you can do that. ... but I do not have any guides for that. google: sikuli monkeyrunner reveals some 1000 entries -- 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 #271844]: sikuli and monkeyrunner
Question #271844 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271844 RaiMan proposed the following answer: --- seems there is no good one ... agreed if you are talking about guides/tutorials, but ... -- this looks promising: https://github.com/imsardine/sikuli-monkey -- and this directly runs on the device: https://sikulix.wordpress.com/2015/09/19/ankulua-game-automation-sikulix-like-scripting-on-android/ 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 #271593]: [1.1.0] How to get better results when working with OCR
Question #271593 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271593 Status: Open => Answered RaiMan proposed the following answer: --- javadocs according to the 1.1.0 nightly build page the javadocs are here: http://nightly.sikuli.de/docs/index.html this should work (sorry for misleading about Image.create(ScreenImage)) Image imgForOCR= new Image.(screen.capture(new Screen().selectRegion())).convertImageToGrayscale(img).resize(3); -- 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 1500420] Re: [1.0.1] Sikuli IDE Crashes if Previously Opened File is Missing --- fixed in 1.1.0
fixed in 1.1.0 ** Summary changed: - Sikuli IDE Crashes if Previously Opened File is Missing + [1.0.1] Sikuli IDE Crashes if Previously Opened File is Missing --- fixed in 1.1.0 ** Changed in: sikuli Status: New => Won't Fix -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1500420 Title: [1.0.1] Sikuli IDE Crashes if Previously Opened File is Missing --- fixed in 1.1.0 Status in Sikuli: Won't Fix Bug description: 1. Sikuli IDE 1.0.1 2. Windows 7 Professional 64-bit Service Pack 1 3. Steps: * Open couple of files in Sikuli IDE * Close IDE * Delete .py & .html files from one of .sikuli folders opened in step 1 * Start IDE -> IDE won't start Command line output with debug level set to 3: [debug] Running on Java 8 (1.8.0_60-b27) [debug] --- Sikuli parameters --- [debug] 1: -d [debug] 2: 3 [debug] init user preferences [debug] locale: en_US [debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013160242 [debug] ResourceLoaderBasic: check: we are running on arch: amd64 [debug] ResourceLoaderBasic: check: using Java at: C:/Program Files/Java/jre1.8. 0_60/ [debug] ResourceLoaderBasic: check: Exists Environment.SIKULIX_HOME? YES: D:/Sik uliX/libs [debug] ResourceLoaderBasic: checkLibsDir: D:/SikuliX/libs [debug] ResourceLoaderBasic: loadLib: WinUtil [debug] ResourceLoaderBasic: loadLib: Found: WinUtil [debug] ResourceLoaderBasic: loadLib: Now loaded: WinUtil [debug] ResourceLoaderBasic: checkLibsDir: Using libs at: D:\SikuliX\libs [debug] ResourceLoaderBasic: check: Using this as OCR directory (tessdata) too [debug] Screen: initScreens: basic initialization (2 Screen(s) found) [debug] *** monitor configuration (primary: 0) *** [debug] Screen 0: S(0)[0,0 1920x1080] [debug] Screen 1: S(1)[1920,0 1920x1080] [debug] *** end monitor configuration *** [debug] [I18N] menuShowThumbs [debug] SikuliX Jython Support Build: 1.0.1 12SEP2013160248 Log File: [debug (9/28/15 2:15:24 PM)] restore session: 3434.sikuli [error (9/28/15 2:15:24 PM)] FileManager: Script folder 3434.sikuli does not contain a script file named 3434.xxx [error (9/28/15 2:15:24 PM)] Terminating SikuliX after a fatal error! Sorry, but it makes no sense to continue! Problem can be resolved by deleting complete folder or editing registry entry HKCU/Software/JavaSoft/Prefs/org/sikuli/basics where recent files are stored and removing the file that creates problem from the value variable. Same problem can be reproduced with opened IDE and attempt to open empty "some_name.sikuli" folder - Sikuli would crash. I've run into this issue by accident when switching git branches (where in the other branch empty sikuli folder somehow existed but sikuli files weren't committed yet). Sorry if this bug already exists, I've run the search but couldn't find the same issue. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1500420/+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 #271852]: I had SikuliX 1.1 working with no issues, but now I'm recieving the error below
Question #271852 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271852 Status: Open => Answered RaiMan proposed the following answer: use runsikuli.cmd -d 3 -c and paste the debug output -- 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 #271852]: I had SikuliX 1.1 working with no issues, but now I'm recieving the error below
Question #271852 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271852 Status: Open => Needs information RaiMan requested more information: looks good (until it crashes ;-) Are you on a 32-Bit Java from beginning? Is it a 32-Bit or 64-Bit Windows? -- 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 #271852]: I had SikuliX 1.1 working with no issues, but now I'm recieving the error below
Question #271852 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271852 Status: Open => Answered RaiMan proposed the following answer: Ok, then you should uninstall the 32-Bit Java (if you do not need it for other purposes) and install/use the Java 64-Bit version for use with SikuliX. The other option is, to check whether there is any possibility, that the jintellitype.dll is found in any other place, than in C:\Users\staffos\AppData\Roaming\Sikulix\SikulixLibs_201509280100 Only to be sure, you should check, whether this folder contains a file named 1.1-MadeForSikuliX32W.txt -- 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 #271857]: Sikuli with Lettuce
Question #271857 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271857 Status: Open => Answered RaiMan proposed the following answer: to activate the SikuliX features in any Jython script, that is not run by the SikuliX-IDE, you have to add from sikuli import * near the top of the script (before any other imports). If you run a script from IDE neither # -*- coding: utf-8 -*- nor from sikuli import * is needed in the main script, but only in scripts, that are imported (if relevant). ... and the feature to add the sites.txt contained paths to sys.path is a SikuliX feature. -- 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 #185791]: How to run "Sikuli On Virtual Machines"
Question #185791 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/185791 RaiMan posted a new comment: @David --- VNC no docs - you have to look into the sources. Sorry, but it is a contribution and I cannot help you. --- run server see http://sikuli.com/support -- 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 #271904]: OCR manually improve
Question #271904 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271904 Status: Open => Answered RaiMan proposed the following answer: principally yes ;-) You have to dive into the teaching of Tesseract (on the Tesseract page). The teaching of new fonts usually ends up in some additional traineddata and option files, that have to be incorporated into SikuliX's tessdata folder. Currently it is only possible, to switch between languages. Come back, when you have decided for a concept. ... and if this is not suitable for you: it is always possible to install Tesseract (for the teaching you have to do that anyway) and use the Tesseract command from inside SikuliX. -- 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 #271912]: Images lost in script
Question #271912 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271912 Status: Open => Answered RaiMan proposed the following answer: Supposing "latest version" means latest nightly build of 1.1.0. --- I accidentally lost my images Any idea when and how that happened? --- I managed to recover all the images How did you do that? Are you using a normal script folder .sikuli, that contains a .py file and all the images? --- and so it returns to normal I have no idea, how the Pattern("1443553021333.png").exact() was created by your "recovery". This is usually created, when clicking on an image in the IDE and push the similarity to 0.99. Nevertheless, the image thumbnails should be shown in the IDE. If .exact() is not suitable for an image, then either use Preview to reset it to 0.7, or edit the .py file in an external editor and use find/replace changing Pattern("1443553021333.png").exact() to Pattern("1443553021333.png") or even in 2 steps to "1443553021333.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 #271920]: Getting "ConfigParser.NoSectionError" while trying to read input from a file
Question #271920 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271920 Status: Open => Answered RaiMan proposed the following answer: look into the docs of ConfigParser -- 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 #185791]: How to run "Sikuli On Virtual Machines"
Question #185791 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/185791 RaiMan posted a new comment: @daluu Thanks for the pointer. I will have a look at it and probably support it in SikuliX version 2. -- 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 #185791]: How to run "Sikuli On Virtual Machines"
Question #185791 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/185791 RaiMan posted a new comment: @David The "remote server" feature is 1.0.1 only. The new server is experimental and information about is on http://sikulix.com/support (sorry for the typo before) -- 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 #271928]: type(xxx, Key.DELETE) don't delete highlighted text
Question #271928 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271928 Status: Open => Answered RaiMan proposed the following answer: type(, Key.DELETE) would position the cursor somewhere in the middle of the text and then delete the character next to it. To select the text, you have to simulate the respective keys, that select a text and then issue the delete: e.g. doubleClick() type(Key.DELETE) or if the text is already selected simply type(Key.DELETE) -- 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 #271928]: type(xxx, Key.DELETE) don't delete highlighted text
Question #271928 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271928 RaiMan proposed the following answer: Be aware: type(someTarget, someKeys) is resolved in a sequence of click(someTarget) type(someKeys) and hence resets an existing selection. -- 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 #271912]: Images lost in script
Question #271912 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271912 Status: Open => Answered RaiMan proposed the following answer: 1. take care, that all the images are in a separate backup folder. 2. make a folder myscript.sikuli containing your script file named myscript.py (you may choose what you want as myscript, but .sikuli and .py must have the same name. 3. now COPY the images from the backup folder to the myscript.sikuli folder 4. open the script in the IDE 5. images shown with their filename and not with their thumbnail where not found in the folder. make your decision, how to deal with it. 6. repair what is needed with each image using Preview (rename, similarity, target offset) 7. save the script and you are back. Be aware: all images (files .png) that are not referenced in the script with their filename (even in comments) are deleted at time of script save from the .sikuli folder (this is why a backup folder in your case makes sense until back again). Image filenames starting with a _ (underscore) are never deleted. You might switch between thumbnail and plain text view using ctrl-T (menu view). -- 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 #271722]: [1.1.0] How to control the inner timing of dragDrop()
Question #271722 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271722 Status: Needs information => Answered RaiMan proposed the following answer: @Nikki in comment #1 i said this: I just revised the dragDrop() in version 1.1.0. Beginning with tomorrow's build the following is available: - the timing parameters beforeMouseDown, beforeDrag, beforeDrop in the standard are 0.3 seconds each - using Settings.beforeMouseDown, Settings.beforeDrag, Settings.beforeDrop they can individually be set for the next following dradDrop() (after completion of the dragDrop they will be reset to the default value) example: Settings.beforeMouseDown = 0.4 Settings.beforeDrag = 0.5 Settings.beforeDrop = 0.1 dragDrop(from, to) the values are used accordingly with drag() and dropAt() also. The docs will be revised tomorrow also. this was on 2015-09-24 so the mentioned "tomorrow" would be 2015-09-25 you are still running 2015-09-05. So please upgrade to the latest nightly build and experiment with the revised dragDrop() -- 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 #271943]: Simple trading bot
Question #271943 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271943 Status: Open => Answered RaiMan proposed the following answer: I do not want to crash your enthusiasm, but before thinking of any game related tactics (which in the end will be some calculations and decisions (if ... elif ... elif ... else)), you have to solve the visual challenge: identify the items (skin) and evaluate their type and prices. Anything ready about this? General comment on further support: Why is it necessary, to trade with weapons? Wouldn't it be sufficient to trade with goods of normal life or any gadgets? I have decided for me personally to not support any war games, ego-shooters or similar trash. What you do with your free time is yours, but I will not continue to help you with that. -- 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 #271943]: Simple trading bot
Question #271943 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271943 RaiMan requested more information: ... and how do you think, you can "identify the price" ? -- 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 #271976]: Execute sikuli scripts via network
Question #271976 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271976 Status: Open => Answered RaiMan proposed the following answer: Sorry, not possible this way. You either need some VNC/RDP based solution or at least sikulixapi.jar must be available on the target machine (at least for the time of installation). In the first case the script runs on the server working on a real window (RDP) or a virtual screen (VNC) that shows what is happening on the target machine. In the latter case, you need the SikuliX API and a scripting engine to run the scripts. With JavaScript, only the sikulixapi.jar is needed, since Java contains the scripting engine for JavaScript. For Python scripts you additionally need the Jython engine and for Ruby scripts the Ruby engine, either packed together as sikulix.jar or separately available besides sikulixapi.jar. But I do not understand, why you want to use SikuliX for that. There are tons of installer packages available, that support any unattended installation of everything. -- 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 #271968]: How can I avoid: “ZipFile instance has no attribute '__exit__''” when extracting a zip file?
Question #271968 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271968 Status: Open => Answered RaiMan proposed the following answer: SikuliX will never be able to "recognize" any Python interpreter (C-Python). SikuliX Python scripting internally uses the Jython interpreter (Java based), to run the scripts. Apparently you do not use version 1.1.0, which come with the Jython version 2.7, which at least is more compatible in most aspects to Python 2.7. Nevertheless: AttributeError ( ZipFile instance has no attribute '__exit__' ) simply means, that you cannot use with here. try: z = zipfile.ZipFile('test.jar', 'r') z.extractall(r"C:\testfolder") -- 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 #271968]: How to avoid: “ZipFile instance has no attribute '__exit__''” with module zipfile? --- use version 1.1.0 (includes Jython 2.7)
Question #271968 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271968 Summary changed to: How to avoid: “ZipFile instance has no attribute '__exit__''” with module zipfile? --- use version 1.1.0 (includes Jython 2.7) -- 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 #271943]: Simple trading bot
Question #271943 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271943 RaiMan proposed the following answer: Please read through the docs and look for relevant questions here on Sikuli's OCR feature Region.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
Re: [Sikuli-driver] [Question #271968]: Windows: How to avoid: “ZipFile instance has no attribute '__exit__''” with module zipfile? --- use version 1.1.0 (includes Jython 2.7)
Question #271968 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271968 Summary changed to: Windows: How to avoid: “ZipFile instance has no attribute '__exit__''” with module zipfile? --- use version 1.1.0 (includes Jython 2.7) -- 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 #271968]: Windows: How to avoid: “ZipFile instance has no attribute '__exit__''” with module zipfile? --- use version 1.1.0 (includes Jython 2.7)
Question #271968 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271968 Description changed to: * workaround/alternative * after 2015-10-02 this new feature is available: unzip(sourceFile, targetFolder) unzips the content to targetFolder while preserving a zipped folder structure (implemented using the Java builtin support for zip-files) ... also unzips jar files [1] The structure is: .bat file triggers a .py file The bat file reads: start /i /b /wait C:\Sikuli\Downloads\runIDE.cmd -r "C:\automat\end2end.sikuli" The code inside .py is : import zipfile with zipfile.ZipFile('test.jar', 'r') as z: z.extractall(r"C:\testfolder") This code produces: AttributeError ( ZipFile instance has no attribute '__exit__' ) [2] note: The code from "test.py" works when run from python idle. I am running python v2.7.10 note: Other methods (that i tried) from zip module do not return any issues. [3] Full stack trace: Exception in thread "main" java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:485) at org.sikuli.scriptrunner.JythonScriptRunner.findErrorSourceWalkTrace(JythonScriptRunner.ja va:326) at org.sikuli.scriptrunner.JythonScriptRunner.findErrorSource(JythonScriptRunner.java:290) at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:200) at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:162) at org.sikuli.basics.SikuliScript.main(SikuliScript.java:181) at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:212) @ edit : hmm. I believed I found the cause. when running "import sys print sys.version" using the structure mentioned above I get: 2.5.4rc1 (2.5:723492dbab02, Feb 8 2013, 10:13:55) . In python default idle I get: 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)] Therefore, please tell me, how can I get sikuli to recognize 2.7.10 ? Take care -- 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 #271968]: Windows: How to avoid: “ZipFile instance has no attribute '__exit__''” with module zipfile? --- use version 1.1.0 (includes Jython 2.7)
Question #271968 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271968 Status: Answered => Solved RaiMan changed the question status: @George @comment #2 Your hack in the Jython module zipfile might have helped in your situation with the jar file: I could reproduce the problem on Windows 10 with the SikuliX jars and your solution worked in these cases. But after unpacking such a critical jar with 7Zip and re-zipping it with 7Zip, the problem was gone and the unmodified zipfile module did the job. But now with your modification, it did not work anymore with this re-zipped jar. Conclusion: - whether or not you get the decode problem with Jython 2.7 depends on the way, the jar was created. - in cases, where you get the problem, you might either try your hack or use a utility run from inside the script ... or use the new feature unzip(sourceFile, targetFolder) available with tomorrows build. A zip(sourceFolder, targetFile) will follow the next days. (it is implemented using the Java builtin support for zip-files) -- 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 #271968]: Windows: How to avoid: “ZipFile instance has no attribute '__exit__''” with module zipfile? --- use version 1.1.0 (includes Jython 2.7)
Question #271968 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271968 Description changed to: * workaround/alternative * after 2015-10-02 this new feature is available: unzip(sourceFile, targetFolder) unzips the content to targetFolder while preserving a zipped folder structure (implemented using the Java builtin support for zip-files) [1] The structure is: .bat file triggers a .py file The bat file reads: start /i /b /wait C:\Sikuli\Downloads\runIDE.cmd -r "C:\automat\end2end.sikuli" The code inside .py is : import zipfile with zipfile.ZipFile('test.jar', 'r') as z: z.extractall(r"C:\testfolder") This code produces: AttributeError ( ZipFile instance has no attribute '__exit__' ) [2] note: The code from "test.py" works when run from python idle. I am running python v2.7.10 note: Other methods (that i tried) from zip module do not return any issues. [3] Full stack trace: Exception in thread "main" java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Matcher.java:485) at org.sikuli.scriptrunner.JythonScriptRunner.findErrorSourceWalkTrace(JythonScriptRunner.ja va:326) at org.sikuli.scriptrunner.JythonScriptRunner.findErrorSource(JythonScriptRunner.java:290) at org.sikuli.scriptrunner.JythonScriptRunner.runPython(JythonScriptRunner.java:200) at org.sikuli.scriptrunner.JythonScriptRunner.runScript(JythonScriptRunner.java:162) at org.sikuli.basics.SikuliScript.main(SikuliScript.java:181) at org.sikuli.ide.SikuliIDE.main(SikuliIDE.java:212) @ edit : hmm. I believed I found the cause. when running "import sys print sys.version" using the structure mentioned above I get: 2.5.4rc1 (2.5:723492dbab02, Feb 8 2013, 10:13:55) . In python default idle I get: 2.7.10 (default, May 23 2015, 09:44:00) [MSC v.1500 64 bit (AMD64)] Therefore, please tell me, how can I get sikuli to recognize 2.7.10 ? Take care -- 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 #272000]: How to run sikuli script using eclipse
Question #272000 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272000 Status: Open => Answered RaiMan proposed the following answer: When not running scripts from SikuliX-IDE or using SikuliX from command line (either with some external Jython or from within Eclipse/PyDev) you have to tell, where the images are stored. respective features: http://sikulix-2014.readthedocs.org/en/latest/scripting.html#image-search-path-where-sikulix-looks-for-image-files -- 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 #271996]: Can't get observer() to work…
Question #271996 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271996 Status: Open => Answered RaiMan proposed the following answer: Sorry for the inconvenience: I just realized, that the docs are not really up-to-date. So just for you in advance: These are the options you have: --- observe in foreground (script is paused at the observe) someRegion.observe() # observes FOREVER someRegion.observe(time) # observes for the given time --- observe in background (script continues immediately after observe is started) someRegion.observeInBackground(time) # observes for the given time --- this is deprecated someRegion.observe(time, background = True) ... with the additional impact, that someRegion must be a Jython level Region object (in doubt cast using Region(someRegion)) -- 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 #272012]: How to open multiple word document files
Question #272012 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272012 Status: Open => Answered RaiMan proposed the following answer: the base for a solution in a script: http://www.tutorialspoint.com/python/os_listdir.htm -- 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 #272057]: [1.1.0] Multiple Observers threading --- use observeInBackground()
Question #272057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272057 Summary changed to: [1.1.0] Multiple Observers threading --- use observeInBackground() -- 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 #272057]: Multiple Observers threading
Question #272057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272057 Status: Open => Answered RaiMan proposed the following answer: Be sure to have the latest nightly 1.1.0 and looked into the docs about observe (revised yesterday). -- 1. with your threading ... ... since you delegated everything to threads, the main script immediately stops after the last statement, since nothing else to do. add a sufficient wait(someTime), and it should work. -- 2. using the whole screen ... ... is problematic, since it is one "static" Region object and as the error tells you: [error] Region: observe: already running for this region. Only one allowed! so this would solve it: reg1 = SCREEN reg2 = Region(SCREEN) or reg2 = Screen(0) which both create a new Region object for the whole screen -- 3. we have our own threaded observe: observeInBackground() runs in parallel reg1 = Region(76,61,569,635) reg2 = Region(680,66,637,622) addImagePath(r'C:\Sikuli Nightly') def findMario(): reg1.onAppear('Mario_png.PNG', lambda e:popup("Mario Appeared")) reg1.observeInBackground(FOREVER) def findMushroom(): reg2.onAppear('Mushroom2.PNG', lambda e:popup("Mushroomh Appeared")) reg2.observeInBackground(FOREVER) findMario() findMushroom() wait(60) # hoping something happens within 60 seconds 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 #271996]: Can't get observer() to work…
Question #271996 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271996 RaiMan posted a new comment: Thank YOU for this valuable feedback. I will revise the logging of course, to make it more clear. -- 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 #272057]: [1.1.0] Multiple Observers threading --- use observeInBackground()
Question #272057 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272057 RaiMan proposed the following answer: by the way: someRegion.observeInBackground() would be sufficient, since FOREVER is the default -- 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 #271996]: Status of bug #1502783 changed to 'Fix Committed' in Sikuli
Bug #1502783 status changed in Sikuli: New => Fix Committed https://bugs.launchpad.net/sikuli/+bug/1502783 "[1.1.0] Observe: log messages should be revised to be more clear" This bug is linked to #271996. Can't get observer() to work… https://answers.launchpad.net/sikuli/+question/271996 -- 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 #271996]: Can't get observer() to work…
Question #271996 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271996 Linked to bug: #1502783 https://bugs.launchpad.net/bugs/1502783 "[1.1.0] Observe: log messages should be revised to be more clear" -- 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 1502783] [NEW] [1.1.0] Observe: log messages should be revised to be more clear
Public bug reported: *** the comment from the related question: The logging is a bit odd, though. Region.isObserving() often reports false, though there still seem to be observers. Region.stopObserver() also /says/ it stops the observer… then some other logs say the observer isn't stopped, and when I put an observer on another region, it reports "n + 1" observers… i.e., I get a monotonically increasing number of observers. -- This is the 2015-09-25 daily. I have Python code like: leftRegion = changeEvent = leftRegion.onChange() if not leftRegion.observe(True): print "Could not start observer" exit() The program always exits (i.e., the observation can't start), with debug/error messages like: [debug] Region: R[544,943 790x83]@S(0): observer CHANGE : 1443785667124 with: 50 [debug] Region: observe: starting in R[544,943 790x83]@S(0) for 1.0 seconds [debug] Observer: resetting observe states for R[544,943 790x83]@S(0) [debug] Observing: add observer: now running 1 observer(s) [debug] Observer: update result: Patterns: false [debug] Observer: update result: Changes: true [debug] Observer: update result: Patterns: false [debug] Observer: update result: Changes: true [debug] Observer: update result: Patterns: false [debug] Observer: update result: Changes: true [debug] Observer: update result: Patterns: false [debug] Observer: update result: Changes: true [debug] Region: observe: stopped due to timeout in R[544,943 790x83]@S(0) for 1.0 seconds Could not start observer [debug] Sikulix: cleanUp: 0 [info] Exit code: 0 [debug] Exit code: 0 [debug] Sikulix: cleanUp: 0 So the observer can't start… or it does start, but only runs for 1 second? (and what's the "Changes: true" bit? There's nothing changing on the screen at this point.) If I try: leftRegion.observe(FOREVER, True), it tells me the observe functions expects 0-1 arguments, not 2. If I try leftRegion.observe(background=True) (with or without a time arg), it tells me observe doesn't take any keyword arguments: [error] script [ DOFFOptions ] stopped with error in line 235 [error] TypeError ( observe(): takes no keyword arguments ) [error] --- Traceback --- error source first line: module ( function ) statement 60: AssignmentTasks ( collectComplete ) if not leftRegion.observe(FOREVER, background=True): [error] --- Traceback --- end -- [debug] Sikulix: cleanUp: 0 Any ideas? (Oh, and it slows down my mouse too. ;-) ) ** Affects: sikuli Importance: High Assignee: RaiMan (raimund-hocke) Status: Fix Committed ** Changed in: sikuli Status: New => Fix Committed ** Changed in: sikuli Importance: Undecided => High ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None => 1.1.0 ** Description changed: + *** the comment from the related question: + + The logging is a bit odd, though. Region.isObserving() often reports + false, though there still seem to be observers. Region.stopObserver() + also /says/ it stops the observer… then some other logs say the observer + isn't stopped, and when I put an observer on another region, it reports + "n + 1" observers… i.e., I get a monotonically increasing number of + observers. + + -- + This is the 2015-09-25 daily. I have Python code like: - leftRegion = + leftRegion = - changeEvent = leftRegion.onChange() - if not leftRegion.observe(True): - print "Could not start observer" - exit() + changeEvent = leftRegion.onChange() + if not leftRegion.observe(True): + print "Could not start observer" + exit() The program always exits (i.e., the observation can't start), with debug/error messages like: - [debug] Region: R[544,943 790x83]@S(0): observer CHANGE : 1443785667124 with: 50 [debug] Region: observe: starting in R[544,943 790x83]@S(0) for 1.0 seconds [debug] Observer: resetting observe states for R[544,943 790x83]@S(0) [debug] Observing: add observer: now running 1 observer(s) [debug] Observer: update result: Patterns: false [debug] Observer: update result: Changes: true [debug] Observer: update result: Patterns: false [debug] Observer: update result: Changes: true [debug] Observer: update result: Patterns: false [debug] Observer: update result: Changes: true [debug] Observer: update result: Patterns: false [debug] Observer: update result: Changes: true [debug] Region: observe: stopped due to timeout in R[544,943 790x83]@S(0) for 1.0 seconds Could not start o
Re: [Sikuli-driver] [Question #272065]: Sikuli C# Integration Issue - Win32Util.dll: %1 is not a valid Win32 application
Question #272065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272065 Status: Open => Answered RaiMan proposed the following answer: I am sorry, but currently I cannot really help you. I guess the mentioned wrappers are not up to date. You have to ask the responsible developers using their channels. At least with version 1.1.0 there is an experimental run server, that allows to run script snippets without delay. see: http://www.sikulix.com/support.html Better support for C# in SikuliX will only be available in version 2. -- 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 #272070]: What's the best way to run multiple scripts in sequence
Question #272070 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272070 Status: Open => Answered RaiMan proposed the following answer: I Suppose we are talking about pre final version 1.1.0 (http://sikulix.com): if you want to stay with the concept "one-test-is-one-script", then you should have a look at: http://sikulix-2014.readthedocs.org/en/latest/scripting.html#running-scripts-and-snippets-from-within-other-scripts-and-run-scripts-one-after-the-other The other principal way is to use the unittest approach: faq 1804 (HTMLTestRunner is bundled with 1.1.0 already) -- 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 #272071]: I'm new in Jython and Sikuli
Question #272071 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272071 Status: Open => Answered RaiMan proposed the following answer: at least you should have a look at the docs, before using a try-and- error approach. In any case I recommend to use the pre final 1.1.0 (http://sikulix.com) switchApp(myApp) # should bring the window to front wait(2) # give system some time to rearrange the GUI focusWindow = App.focusedWindow() # the frontmost window area as Region img = ("D:\example\workspace\JythonSikuli\src\Images\Knopka_OK_NumberOK.png") focusWindow.click(img) ... to more efficiently act with images: setBundlePath(r"D:\example\workspace\JythonSikuli\src\Images") # somewhere at the beginning ... and later: focusWindow.click("Knopka_OK_NumberOK.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 #272075]: Using multiple hotkeys without popups? Is this possible?
Question #272075 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272075 Status: Open => Needs information RaiMan requested more information: how does your current script look like? What do you mean by hot-keys? -- 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 #272074]: How to Manage image recognition across windows versions ?
Question #272074 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272074 Status: Open => Answered RaiMan proposed the following answer: Currently the only solution is to have a different image set for each environment. This might be helpful: http://sikulix-2014.readthedocs.org/en/latest/scripting.html#image-search-path-where-sikulix-looks-for-image-files -- 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 #272075]: Using multiple hotkeys without popups? Is this possible?
Question #272075 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272075 Status: Open => Answered RaiMan proposed the following answer: ok, I think, I understand your problem. If you want to run a script, that only implements hotkeys and does nothing else, then this is a possible generic structure: shouldRun = True def handler1(event): # do something if the corresponding hotkey is pressed def handler2(event): # do something if the corresponding hotkey is pressed ... more of them if needed def handlerStop(): global shouldRun shouldRun = False Env.addHotkey(Key.NUM1,KeyModifier.CTRL, handler1) Env.addHotkey(Key.NUM2,KeyModifier.CTRL, handler2) ... more of them if needed Env.addHotkey("x",KeyModifier.CTRL + KeyModifier.ALT, handlerStop) # press ctrl-alt-x to stop the script # if you want: popup("hotkeys are active now - click OK") while shouldRun: # keep the script alive until the stop key is pressed wait(1) # if you want: popup("hotkeys will be deactivated after clicking ok") activated hotkeys are auto-inactivated when the script ends. -- 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 1503146] Re: Image export path used in 'shutil.move' command is getting corrupted
see my edit in the description ** Changed in: sikuli Status: New => Won't Fix ** Description changed: + * solution: upgrade to 1.1.0 + + * workaround + + import shutil + images = r'G:\DATAWARE\Sikuli\Screenshots\WebconsoleChecks' + img = capture(SCREEN) + shutil.move(img, os.path.join(images, 'CDS2_COB_WebConsole.png') + + -- + + Version: 1.01; Win 7 Enterprise; 64-bit OS --- - - I am using below script to upload the screen captures to a folder. When ever i close and re open the IDE it getting corrupted and programme is ending with error. + I am using below script to upload the screen captures to a folder. When + ever i close and re open the IDE it getting corrupted and programme is + ending with error. <> import shutil img = capture(SCREEN) shutil.move(img, r'G:\DATAWARE\Sikuli\Screenshots\WebconsoleChecks\CDS2_COB_WebConsole.png') <> <> import shutil img = capture(SCREEN) shutil.move(img, r"CDS2_COB_WebConsole.png") <> I believe this is a defect. If i am wrong please correct me. ** Tags removed: shutil.move ** Summary changed: - Image export path used in 'shutil.move' command is getting corrupted + [1.0.1] IDE: Image export path used in 'shutil.move' command is getting corrupted --- fixed in 1.1.0 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1503146 Title: [1.0.1] IDE: Image export path used in 'shutil.move' command is getting corrupted --- fixed in 1.1.0 Status in Sikuli: Won't Fix Bug description: * solution: upgrade to 1.1.0 * workaround import shutil images = r'G:\DATAWARE\Sikuli\Screenshots\WebconsoleChecks' img = capture(SCREEN) shutil.move(img, os.path.join(images, 'CDS2_COB_WebConsole.png') -- Version: 1.01; Win 7 Enterprise; 64-bit OS --- I am using below script to upload the screen captures to a folder. When ever i close and re open the IDE it getting corrupted and programme is ending with error. <> import shutil img = capture(SCREEN) shutil.move(img, r'G:\DATAWARE\Sikuli\Screenshots\WebconsoleChecks\CDS2_COB_WebConsole.png') <> <> import shutil img = capture(SCREEN) shutil.move(img, r"CDS2_COB_WebConsole.png") <> I believe this is a defect. If i am wrong please correct me. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1503146/+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 #272088]: onAppear with an array of images?
Question #272088 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272088 Status: Open => Answered RaiMan proposed the following answer: Yes, one event for one image (currently ;-) This is the appropriate solution for version 1.1.0+: r = Region(Region(2516,495,694,273)) leftSide = [("left1.png"), ("left2.png"), ("left3.png"), ("left4.png"), ("left5.png"), ("left6.png"), ("left7.png"), ("left8.png"), ("left9.png"), ("left10.png"), ("left11.png")] rightSide = [("right1.png"), ("right2.png"), ("right3.png"), ("right4.png"), ("right5.png"), ("right6.png"), ("right7.png"), ("right8.png"), ("right9.png"), ("right10.png"), ("right11.png"), ("right12.png")] neitherSide = [("center1.png"), ("center2.png"), ("center3.png"), ("center4.png")] def moveLeft(event): type(Key.LEFT) event.repeat(0.2) # continue observation after 0.2 seconds def moveRight(event): type(Key.RIGHT) event.repeat(0.2) # continue observation after 0.2 seconds # register the events with region r # one event == one image for ls in leftSide: r.onAppear(ls, moveRight) for rs in rightSide: r.onAppear(rs, moveLeft) nor rs in neitherSide: r.onAppear(ns, moveRight) # run the observation r.observe(FOREVER) -- 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 #272088]: onAppear with an array of images?
Question #272088 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272088 RaiMan proposed the following answer: Uuups, crazy copy and paste ;-) for ls in leftSide: r.onAppear(ls, moveLeft) for rs in rightSide: r.onAppear(rs, moveRight) for ns in neitherSide: r.onAppear(ns, moveRight) Be aware: Since currently in one observe processing step, all events are checked in sequence, this one step will last about 5 - 10 seconds (about 25 events each about 0.3 seconds). To make it faster, the most recommended approach is to make the region as small as possible. Another possibility is to use a different Region object for each of the image groups left, right and neither, since the observe then could be run in background and would be delegated to 3 subprocesses. rLeft = for ls in leftSide: rLeft.onAppear(ls, moveLeft) # same for left and neither # run the observation rLeft.observeInBackground(FOREVER) # same for left and neither # to keep the script alive wait(FOREVER) -- 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 #272114]: Sikuli : How to press the SHIFT and END KEYSsimultaneously
Question #272114 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272114 Status: Open => Answered RaiMan proposed the following answer: see docs http://sikulix-2014.readthedocs.org/en/latest/index.html -- 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 #272116]: Press SHIFT Key and then END Key to select a list of entries in a table
Question #272116 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272116 Status: Open => Answered RaiMan proposed the following answer: with version 1.1.0 type(Key.END, Key.SHIFT) ... but I guess you first have to select the starting element. SikuliX does not do any magic, it just does what you would do manually. -- 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 #272114]: Sikuli : How to press the SHIFT and END KEYSsimultaneously
Question #272114 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272114 Status: Answered => Invalid RaiMan changed the question status: double -- 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 #272118]: Check if image file exist in getImagePath()
Question #272118 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272118 Status: Open => Answered RaiMan proposed the following answer: Interesting question ;-) Currently no compound feature (could be ImagePath.exists("someImage.png") returning true or false). a workaround: if Image.create("someImage.png").isValid(): print "is on ImagePath" else: print "not found on ImagePath" I will make this a request bug. Thanks for the idea. -- 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 #272118]: Check if image file exist in getImagePath()
Question #272118 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272118 Linked to bug: #1503365 https://bugs.launchpad.net/bugs/1503365 "[request] want to know, whether an image file is on imagepath and get it's absolute filename" -- 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 #272118]: Status of bug #1503365 changed to 'Fix Committed' in Sikuli
Bug #1503365 status changed in Sikuli: New => Fix Committed https://bugs.launchpad.net/sikuli/+bug/1503365 "[request] want to know, whether an image file is on imagepath and get it's absolute filename" This bug is linked to #272118. Check if image file exist in getImagePath() https://answers.launchpad.net/sikuli/+question/272118 -- 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 1503365] [NEW] [request] want to know, whether an image file is on imagepath and get it's absolute filename
Public bug reported: * intended solution img = ImagePath.exists("someImage.png") img is either None/null or the absolute filename current workaround see comment #1 of related question -- a direct usage of Pattern('a') return error] Image: could not be loaded: file:/H:/test.sikuli/a.png [error] Image: Image not valid, but TextSearch is switched off! I would like to be able to check the file 'a.png' exist in the Sikuli Image Paths. How to ? ** Affects: sikuli Importance: High Assignee: RaiMan (raimund-hocke) Status: Fix Committed ** Description changed: + * intended solution + img = ImagePath.exists("someImage.png") + + img is either None/null or the absolute filename + + current workaround see comment #1 of related question + + -- a direct usage of Pattern('a') return error] Image: could not be loaded: file:/H:/test.sikuli/a.png [error] Image: Image not valid, but TextSearch is switched off! I would like to be able to check the file 'a.png' exist in the Sikuli Image Paths. How to ? ** Changed in: sikuli Status: New => Fix Committed ** Changed in: sikuli Importance: Undecided => High ** Changed in: sikuli Assignee: (unassigned) => RaiMan (raimund-hocke) ** Changed in: sikuli Milestone: None => 1.1.1 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1503365 Title: [request] want to know, whether an image file is on imagepath and get it's absolute filename Status in Sikuli: Fix Committed Bug description: * intended solution img = ImagePath.exists("someImage.png") img is either None/null or the absolute filename current workaround see comment #1 of related question -- a direct usage of Pattern('a') return error] Image: could not be loaded: file:/H:/test.sikuli/a.png [error] Image: Image not valid, but TextSearch is switched off! I would like to be able to check the file 'a.png' exist in the Sikuli Image Paths. How to ? To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1503365/+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 1412850] Re: [1.1.0] Mac OSX 10.10: Search (cmd+F) not working in the IDE
** Changed in: sikuli Milestone: 2.0.0 => 1.1.0 ** Changed in: sikuli Importance: Medium => Critical -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1412850 Title: [1.1.0] Mac OSX 10.10: Search (cmd+F) not working in the IDE Status in Sikuli: Fix Committed Bug description: 1.1.0(2015-01-16_01:00nightly)/Mac10.10.1/Java7(x86_64)1.7.0_55-b13 Hello The search in the IDE editor (cmd+F) does not work on my MAC 10.10 while it is working on my macbook pro. Is this normal? Thank you. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1412850/+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 #272000]: How to run sikuli script using eclipse
Question #272000 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272000 Status: Open => Answered RaiMan proposed the following answer: Uuups, are you scripting Python or is it Java, what you are doing? ... not really clear. Supposing it is Python scripting: from sikuli import * addImagePath(r"C:\DeploymentUnit\SikuliX\Images") # guard the backslashes click("DomIcon.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] [Bug 1503146] Re: [1.0.1] IDE: Image export path used in 'shutil.move' command is getting corrupted --- fixed in 1.1.0
shutil.move(img, os.path.join(images, '01_Portal_Home_Screen.png') ... the closing bracket is missing Syntax errors should not lead to a question here ;-) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1503146 Title: [1.0.1] IDE: Image export path used in 'shutil.move' command is getting corrupted --- fixed in 1.1.0 Status in Sikuli: Won't Fix Bug description: * solution: upgrade to 1.1.0 * workaround import shutil images = r'G:\DATAWARE\Sikuli\Screenshots\WebconsoleChecks' img = capture(SCREEN) shutil.move(img, os.path.join(images, 'CDS2_COB_WebConsole.png') -- Version: 1.01; Win 7 Enterprise; 64-bit OS --- I am using below script to upload the screen captures to a folder. When ever i close and re open the IDE it getting corrupted and programme is ending with error. <> import shutil img = capture(SCREEN) shutil.move(img, r'G:\DATAWARE\Sikuli\Screenshots\WebconsoleChecks\CDS2_COB_WebConsole.png') <> <> import shutil img = capture(SCREEN) shutil.move(img, r"CDS2_COB_WebConsole.png") <> I believe this is a defect. If i am wrong please correct me. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1503146/+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 #272151]: How to deploy SikuliX 1.1.0 to many computers?
Question #272151 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272151 Status: Open => Answered RaiMan proposed the following answer: with 1.1.0 you only need the sikulix.jar in some folder on a system. - no need anymore to have anything in %PATH% or environment (the libs are exported automatically at runtime and the path is handled internally) - same goes for %APPDATA%\Roaming\SikuliX - it is dynamically setup at runtime if not there already so simply let your workflow copy sikulix.jar to the place where it need to be and use 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
Re: [Sikuli-driver] [Question #272153]: Is there a way to control/increase wheel() speed?
Question #272153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272153 Status: Open => Answered RaiMan proposed the following answer: the docs should tell you ;-) -- 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 #272151]: How to deploy SikuliX 1.1.0 to many computers?
Question #272151 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272151 RaiMan proposed the following answer: --- Is it possible to store all the files needed by SikuliX in one folder? Not needed to care about anything else than sikulix.jar or sikulixapi.jar. Everything that SikuliX needs is done automatically at runtime. -- 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 #272116]: Press SHIFT Key and then END Key to select a list of entries in a table
Question #272116 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272116 Status: Open => Answered RaiMan proposed the following answer: Sure you are using version 1.1.0 (http://sikulix.com) I just checked: it does what it should: extending the selection to the end -- 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 #272148]: Hit SHIFT Key and then END Key to select records in a table
Question #272148 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272148 Status: Open => Answered RaiMan proposed the following answer: Sure you have version 1.1.0? just checked: no problems -- 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 #271497]: pasting the Chinese characters in textbox of some application will appear garbled
Question #271497 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271497 RaiMan proposed the following answer: To make my test, I just used a normal editor window, to paste outtext. The window then contains exactly the given text. S o you should make such a test on your system, to prove, that SikuliX works as it should. If it works, I have no idea, what your problem is or what you can do. -- 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 1503550] Re: type() types multiple chars with capital
Thanks for the hint, but I did not have any problem with the final version of 1.1.0, which is out now. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1503550 Title: type() types multiple chars with capital Status in Sikuli: New Bug description: This is the 2015-09-25 daily. I need to type a capital "V". I've tried both: type("V") and: type("v", Key.SHIFT) In both cases, my app behaves as if I've typed *both* capital and lower case "v". The only relevant debug is: [debug] TYPE "V" [debug] Region: TYPE "V" Or: [debug] ( Shift ) TYPE "v" [debug] Region: ( Shift ) TYPE "v" (not blocking for me, just fyi…) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1503550/+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 #272154]: [1.1.0] Is there a way to integrate a (background) observer with wheel()?
Question #272154 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272154 Summary changed to: [1.1.0] Is there a way to integrate a (background) observer with wheel()? -- 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 #272154]: [1.1.0] Is there a way to integrate a (background) observer with wheel()?
Question #272154 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272154 Status: Open => Answered RaiMan proposed the following answer: this works with 1.1.0: (tested on OS X 10.11) switchApp("myApp") # bring the app to front r = App.focusedWindow() # the search area imgStop = "imgStop.png" # the stop image to wait for stopAppeared = r.onAppear(imgStop) # no handler needed, since observing stops with first appearance # save a reference to the event r.observeInBackground(FOREVER) # start observation while not r.isObserving(): wait(0.3) # hack currently needed, to use isObserving() r.hover() # move mouse to a point, where wheel is accepted while r.isObserving(): # until observing is stopped wheel(WHEEL_UP, 10) # wheel (might be WHEEL_DOWN on Windows) wait(1) ... and this as a goody on top ;-) m = r.getEvent(stopAppeared).getMatch() hover(m) m.highlight(2) -- 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 #272153]: Is there a way to control/increase wheel() speed?
Question #272153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272153 Status: Open => Answered RaiMan proposed the following answer: have you tried the step parameter? This is the only available option (java.awt.robot::mouseWheel(int howManyNotches)). -- 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 #272153]: Is there a way to control/increase wheel() speed?
Question #272153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272153 Status: Open => Answered RaiMan proposed the following answer: Sorry, I understand your request, but there is no solution from inside SikuliX/Java for that currently. The mentioned delays are ADDING additional waiting times - so surely not what you want ;-) Have ya look into the system setup, whether it is possible to speed up the scrolling there. You might also try to drag the scroll bar, which might speed things up. -- 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 #272164]: SikuliX on sonatype
Question #272164 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272164 Status: Open => Answered RaiMan proposed the following answer: - The approach we are taking is to make Python calls through Jython. could you be a bit more specific about that? It would help me to suggest the right solution. - sikulixapi.jar on MavenCentral/OSSRH ... is only for use in Maven projects as a dependency The artefact itself is not useable. - sikulix.jar can only be produced via setup ... as well as sikulixapi.jar as a useable artefact in non-Maven projects. Version 1.1.0 final is out: 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 #272165]: Issue in installing sikulixsetup1.0.1.jar on windows 7
Question #272165 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272165 Status: Open => Answered RaiMan proposed the following answer: sorry, but this is basic windows commandline knowledge: a pathname containing blanks has to be wrapped into apostrophes. As a general recommendation: do not use any blanks or other special characters in path names, only characters, numbers, underscore or hyphen. runsikulix.cmd -r "C:\Users\njayapal\sikuli scripts.sikuli" BTW: you seem to have downloaded sikulisetup-1.1.0.jar ;-) -- 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 #272154]: [1.1.0] Is there a way to integrate a (background) observer with wheel()?
Question #272154 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272154 RaiMan posted a new comment: SikuliX basically all over the place is constantly searching for some image on the screen (the visual approach) and the workflow waits for this to happen (you might call this polling). observe only means, that the search loop is detached to a thread, which makes the communication a bit more complicated. But still the main workflow waits for some image to appear and has to take care in this case to change the screen in a way, that the hidden image appears. May be reading this is helpful: https://sikulix.wordpress.com/2015/09/18/sikulix-how-does-it-find-images-on-the-screen/ -- 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 1447636] Re: [1.1.0] IDE can't save scripts --- should all be fixed with final 1.1.0
@GCE thanks again for your continued contibution. at least after some fixes and with the final 1.1.0 any save problems should have been gone. syntax problems cannot interfere the save process, since save is a "simple" text file write, that does not involve the interpreter. ** Summary changed: - 1.1 IDE can't save scripts + [1.1.0] IDE can't save scripts --- should all be fixed with final 1.1.0 ** Changed in: sikuli Status: Opinion => Fix Released -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1447636 Title: [1.1.0] IDE can't save scripts --- should all be fixed with final 1.1.0 Status in Sikuli: Fix Released Bug description: Windows 7 64 bit, latest sikuli 1.1 jar file. when trying to save scripts I get: [error] IDE: A non-IOException-problem when trying to save null Error: null What's interesting it does seem to save .py file, but hmtl is empty To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1447636/+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