[Sikuli-driver] [Question #677950]: Need help setting up Sikulix 1.1.4 on Linux RHEL 7.3
New question #677950 on Sikuli: https://answers.launchpad.net/sikuli/+question/677950 Need Linux commands to install sikuli.jar , OpenCV and Tesseract on Linux RHEL 7.3. As I am very new to Linux. Thank 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 #677859]: [DOCS] paste(): parameter description wrong
Question #677859 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677859 Status: Open => Answered RaiMan proposed the following answer: thanks for finding - has to be revised. the textual description is correct though. -- 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 #677859]: [DOCS] paste(): parameter description wrong
Question #677859 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677859 Summary changed to: [DOCS] paste(): parameter description wrong -- 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 #677873]: [1.1.4] IntelliJ IDEA: SikuliX shutdown hook is blocking my app from exiting
Question #677873 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677873 Status: Open => Needs information RaiMan requested more information: Yes, SikuliX adds a JVM shutdown hook, where some cleanup actions are done. The implementation was revised during the last few weeks. Might be that your usage of SikuliX is another special situation, that has to be seen by the hook implementation in case. Could you give me some details, how you are using sikulixapi.jar (as Maven dep or project library). please add -Dsikuli.Debug=3 to the java commandline and paste the relevant 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 #677873]: [1.1.4] IntelliJ IDEA: SikuliX shutdown hook is blocking my app from exiting
Question #677873 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677873 Summary changed to: [1.1.4] IntelliJ IDEA: SikuliX shutdown hook is blocking my app from exiting -- 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 1812578] [NEW] [1.1.4] Region::findWord/findLine throw class cast exception when not found --- should return null as Match --- workaround
Public bug reported: workaround until fixed catch the class cast exception, which means not found in this buggy situation. --- 1.1.4-SNAPSHOT-2019-01-16_07:30/Windows10.0/Java8(64)1.8.0_191-b12 I used this code: r = Region(530,348,83,50) r.findWord("f1") and I got this error: [error] script [ Untitled ] stopped with error at line --unknown-- [error] Error caused by: Traceback (most recent call last): File "C:\Users\Test\AppData\Local\Temp\Sikulix_967257492\sikuli-6407310615782564146.py", line 2, in r.findWord("f1") at org.sikuli.script.Region.findWord(Region.java:2758) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) java.lang.ClassCastException: java.lang.ClassCastException: org.sikuli.script.Finder cannot be cast to org.sikuli.script.Match ** Affects: sikuli Importance: Undecided Status: New ** Summary changed: - [1.1.4] Region::findWord/findLine throw class cast exception when not found --- should return null as Match + [1.1.4] Region::findWord/findLine throw class cast exception when not found --- should return null as Match --- workaround ** Description changed: + workaround until fixed + catch the class cast exception, which means not found in this buggy situation. + + --- + 1.1.4-SNAPSHOT-2019-01-16_07:30/Windows10.0/Java8(64)1.8.0_191-b12 I used this code: r = Region(530,348,83,50) r.findWord("f1") and I got this error: - [error] script [ Untitled ] stopped with error at line --unknown-- [error] Error caused by: Traceback (most recent call last): File "C:\Users\Test\AppData\Local\Temp\Sikulix_967257492\sikuli-6407310615782564146.py", line 2, in r.findWord("f1") at org.sikuli.script.Region.findWord(Region.java:2758) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) java.lang.ClassCastException: java.lang.ClassCastException: org.sikuli.script.Finder cannot be cast to org.sikuli.script.Match -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1812578 Title: [1.1.4] Region::findWord/findLine throw class cast exception when not found --- should return null as Match --- workaround Status in Sikuli: New Bug description: workaround until fixed catch the class cast exception, which means not found in this buggy situation. --- 1.1.4-SNAPSHOT-2019-01-16_07:30/Windows10.0/Java8(64)1.8.0_191-b12 I used this code: r = Region(530,348,83,50) r.findWord("f1") and I got this error: [error] script [ Untitled ] stopped with error at line --unknown-- [error] Error caused by: Traceback (most recent call last): File "C:\Users\Test\AppData\Local\Temp\Sikulix_967257492\sikuli-6407310615782564146.py", line 2, in r.findWord("f1") at org.sikuli.script.Region.findWord(Region.java:2758) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) java.lang.ClassCastException: java.lang.ClassCastException: org.sikuli.script.Finder cannot be cast to org.sikuli.script.Match To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1812578/+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 #677880]: Output/stdout from python script in Sikuli IDE was cut
Question #677880 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677880 Status: Open => Answered RaiMan proposed the following answer: shouldn't you wait for subprocess completion? Please check wether the simple read does so. The termination of the script after the print might happen too fast and the subprocess is killed. BTW: There is a feature, to run PowerShell snippets from within SikuliX script. I would highly appreciate, if you would give it a try and feedback. see: https://sikulix-2014.readthedocs.io/en/latest/scripting.html#running-scripts-and-snippets-from-within-other-scripts-and-run-scripts-one-after-the-other ... towards the end: runScript(snippet) -- 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 #677925]: findWord does not work
Question #677925 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677925 Status: Open => Answered RaiMan proposed the following answer: Is a bug - thank you. created one. Don't know when it will be fixed, so try the workaround. -- 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 #677925]: findWord does not work
Question #677925 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/677925 Linked to bug: #1812578 https://bugs.launchpad.net/bugs/1812578 "[1.1.4] Region::findWord/findLine throw class cast exception when not found --- should return null as Match" -- 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