Re: [Sikuli-driver] [Question #698298]: App.close error
Question #698298 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698298 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #698298]: App.close error
New question #698298 on SikuliX: https://answers.launchpad.net/sikuli/+question/698298 Imac Big Sur 11.5 Sikuli download icon sikulixide-2.0.5.jar (md5)SikuliX IDE for all systems Java openjdk version "11.0.10" 2021-01-19 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode) sometimes a crash mostly runs ok v_Result = App.close(v_Application) [error] script [ Generator_Run ] stopped with error in line 15848 [error] java.lang.ArrayIndexOutOfBoundsException ( java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697737]: Copy Pattern Object
Question #697737 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/697737 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Thanx just what I wanted -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #697737]: Copy Pattern Object
New question #697737 on SikuliX: https://answers.launchpad.net/sikuli/+question/697737 I have images which I would like to list. and would like to replace the path of the image with some text v_User_Path = "Some stuff" so I tried v_Test = v_Image.replace(v_User_Path,"YourPath") Result AttributeError ( 'Pattern' object has no attribute 'replace' is it possible to do this or is the from a Pattern Object -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 1928745] [NEW] [error] Error caused by: Traceback (most recent call last):
Public bug reported: Imac Sikulix 2.0.5 Java 11.0.0.10+9 First IDE Ask Question and Report Bug gives a capture of null/null/null Crash result : [error] script [ Generator ] stopped with error in line 5817 [error] Error caused by: Traceback (most recent call last): File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 5817, in Processing_Procedure() File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 4263, in Processing_Procedure Edit_Select() File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 1330, in Edit_Select Images() File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 660, in Images Images_Test(v_Procedure,v_Array,selected) File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 1020, in Images_Test v_Found,v_Matched,v_Find_All,v_Find_All_Coords = Test_Image_Exists(v_Testing_Image,v_Matching) File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 1217, in Test_Image_Exists v = exists(v_Image_p,g_Speed) ] at org.opencv.core.Mat.n_rowRange(Native Method) at org.opencv.core.Mat.rowRange(Mat.java:571) at org.sikuli.script.Finder$FindResult2.next(Finder.java:1544) at org.sikuli.script.Finder.next(Finder.java:460) at org.sikuli.script.Region.doFind(Region.java:2841) at org.sikuli.script.Region.access$200(Region.java:29) at org.sikuli.script.Region$RepeatableFind.run(Region.java:3057) at org.sikuli.script.Region$Repeatable.repeat(Region.java:3002) at org.sikuli.script.Region.doExists(Region.java:2344) at org.sikuli.script.Region.exists(Region.java:2309) at jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) org.opencv.core.CvException: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(4.3.0) /Users/jason/Projects/openpnp/opencv/opencv/opencv-4.3.0/modules/core/src/matrix.cpp:424: error: (-215:Assertion failed) 0 <= _rowRange.start && _rowRange.start <= _rowRange.end && _rowRange.end <= m.rows in function 'Mat' ] ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to SikuliX. https://bugs.launchpad.net/bugs/1928745 Title: [error] Error caused by: Traceback (most recent call last): Status in SikuliX: New Bug description: Imac Sikulix 2.0.5 Java 11.0.0.10+9 First IDE Ask Question and Report Bug gives a capture of null/null/null Crash result : [error] script [ Generator ] stopped with error in line 5817 [error] Error caused by: Traceback (most recent call last): File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 5817, in Processing_Procedure() File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 4263, in Processing_Procedure Edit_Select() File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 1330, in Edit_Select Images() File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 660, in Images Images_Test(v_Procedure,v_Array,selected) File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 1020, in Images_Test v_Found,v_Matched,v_Find_All,v_Find_All_Coords = Test_Image_Exists(v_Testing_Image,v_Matching) File "/Users/jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli/Generator.py", line 1217, in Test_Image_Exists v = exists(v_Image_p,g_Speed) ] at org.opencv.core.Mat.n_rowRange(Native Method) at org.opencv.core.Mat.rowRange(Mat.java:571) at org.sikuli.script.Finder$FindResult2.next(Finder.java:1544) at org.sikuli.script.Finder.next(Finder.java:460) at org.sikuli.script.Region.doFind(Region.java:2841) at org.sikuli.script.Region.access$200(Region.java:29) at org.sikuli.script.Region$RepeatableFind.run(Region.java:3057) at org.sikuli.script.Region$Repeatable.repeat(Region.java:3002) at org.sikuli.script.Region.doExists(Region.java:2344) at org.sikuli.script.Region.exists(Region.java:2309) at jdk.internal.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Re: [Sikuli-driver] [Question #696257]: [2.0.5] macOS: IDE: not really usable with Java 8 since macOS 11.2.3 --- using Java 11 works
Question #696257 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696257 Jeff_Vallis gave more information on the question: as Suggested I downloaded Java 11 from AdoptOpenJDK today my Mac wanted me to update Java 8 System Preferences > Java --- still showing that I iMac is using Java 8 and wants me to upgrade any Idea how to stop this -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696257]: [2.0.5] macOS: IDE: not really usable with Java 8 since macOS 11.2.3 --- using Java 11 works
Question #696257 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696257 Status: Solved => Open Jeff_Vallis is still having a problem: One more silly thing which I can live with Using Java 11 when you run Sikuli - if while its loading you move the mouse [error] Mouse: not useable (blocked) As I said I can live with this mark as fixed if you feel its ok -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696257]: Mouse not useable
Question #696257 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696257 Status: Answered => Open Jeff_Vallis is still having a problem: All running fine now on 2.0.5 with Java 11 Thank for working out the problem. Regards Jeff -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696257]: Mouse not useable
Question #696257 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696257 Jeff_Vallis posted a new comment: java -version openjdk version "11.0.10" 2021-01-19 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.10+9) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.10+9, mixed mode) no other actions - previous setup valid Ran IDE - no error Ran IDE again - no error ( Previously this gave an error ) Ran script - no errors I am wondering now if setup was not required when moving from 2.0.4 to 2.0.5 -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696257]: Mouse not useable
Question #696257 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696257 Jeff_Vallis gave more information on the question: Additional Video This is what happens running 2.0.5 after a Restart Runs ok first time Failes on subsequent tries This is fine with the IDE as it can just be ignored however running a script aborts with the invalid message https://www.youtube.com/watch?v=ci5MrzBJYVs -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696257]: Mouse not useable
Question #696257 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696257 Jeff_Vallis gave more information on the question: my setup https://www.youtube.com/watch?v=P0HXoXUTHFE https://www.youtube.com/watch?v=sFr7ngymKPg I was just about to do a third video showing what happens after doing the setup and the Restarting -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696257]: Mouse not useable
Question #696257 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696257 Status: Answered => Open Jeff_Vallis is still having a problem: Info on my Java /usr/libexec/java_home -V Matching Java Virtual Machines (1): 1.8.281.09 (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home jeff@Jeffs-iMac ~ % However you did not answer my last question on you setup you instruct when you want to run the SikuliX IDE from a Terminal using Java 8 first in SysPrefs remove all entries with the name java (using - button) then use the + button to add java again: in the file dialog navigate to the respective java executable (/bin/java) Result The only place I found Java was in Full Disk Access - Java 8 Update so I deleted it but could not add it as I am unable to find it -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696257]: Mouse not useable
Question #696257 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696257 Status: Answered => Open Jeff_Vallis is still having a problem: Install Notes https://github.com/RaiMan/SikuliX1/wiki/Allow-SikuliX-actions-on-macOS What does this mean ? when you want to run the SikuliX IDE from a Terminal using Java 8 first in SysPrefs remove all entries with the name java (using - button) I Presume this means Security and Privacy then use the + button to add java again: in the file dialog navigate to the respective java executable (/bin/java) What Does this mean - do I need to add something in Security and Privacy if so under which section whatever the reply is I have no root /bin/java e.g. pwd ; ls -l /bin total 9336 -rwxr-xr-x 1 root wheel 121104 1 Jan 2020 [ -r-xr-xr-x 1 root wheel 1296640 1 Jan 2020 bash -rwxr-xr-x 1 root wheel 121968 1 Jan 2020 cat -rwxr-xr-x 1 root wheel 107552 1 Jan 2020 chmod -rwxr-xr-x 1 root wheel 123232 1 Jan 2020 cp -rwxr-xr-x 1 root wheel 1104640 1 Jan 2020 csh -rwxr-xr-x 1 root wheel 277408 1 Jan 2020 dash -rwxr-xr-x 1 root wheel 139264 1 Jan 2020 date -rwxr-xr-x 1 root wheel 122160 1 Jan 2020 dd -rwxr-xr-x 1 root wheel 121840 1 Jan 2020 df -rwxr-xr-x 1 root wheel 120848 1 Jan 2020 echo -rwxr-xr-x 1 root wheel 205648 1 Jan 2020 ed -rwxr-xr-x 1 root wheel 121504 1 Jan 2020 expr -rwxr-xr-x 1 root wheel 120864 1 Jan 2020 hostname -rwxr-xr-x 1 root wheel 121232 1 Jan 2020 kill -r-xr-xr-x 1 root wheel 2552352 1 Jan 2020 ksh -rwxr-xr-x 1 root wheel 329344 1 Jan 2020 launchctl -rwxr-xr-x 1 root wheel 105136 1 Jan 2020 link -rwxr-xr-x 1 root wheel 105136 1 Jan 2020 ln -rwxr-xr-x 1 root wheel 157360 1 Jan 2020 ls -rwxr-xr-x 1 root wheel 104752 1 Jan 2020 mkdir -rwxr-xr-x 1 root wheel 106176 1 Jan 2020 mv -rwxr-xr-x 1 root wheel 291152 1 Jan 2020 pax -rwsr-xr-x 1 root wheel 173568 1 Jan 2020 ps -rwxr-xr-x 1 root wheel 120832 1 Jan 2020 pwd -rwxr-xr-x 1 root wheel 106000 1 Jan 2020 rm -rwxr-xr-x 1 root wheel 104368 1 Jan 2020 rmdir -rwxr-xr-x 1 root wheel 120912 1 Jan 2020 sh -rwxr-xr-x 1 root wheel 120784 1 Jan 2020 sleep -rwxr-xr-x 1 root wheel 138656 1 Jan 2020 stty -rwxr-xr-x 1 root wheel 120464 1 Jan 2020 sync -rwxr-xr-x 1 root wheel 1104640 1 Jan 2020 tcsh -rwxr-xr-x 1 root wheel 121104 1 Jan 2020 test -rwxr-xr-x 1 root wheel 106000 1 Jan 2020 unlink -rwxr-xr-x 1 root wheel 120752 1 Jan 2020 wait4path -rwxr-xr-x 1 root wheel 1331248 1 Jan 2020 zsh or /Users/Jeff/bin/java pwd ; ls -l /Users/jeff total 0 drwx--@ 4 jeff staff 128 22 Dec 09:59 Applications drwx--+ 11 jeff staff 352 1 Apr 06:43 Desktop drwx--@ 16 jeff staff 512 8 Mar 10:59 Documents drwx--+ 11 jeff staff 352 26 Mar 08:50 Downloads drwx--@ 81 jeff staff 2592 1 Feb 09:24 Library drwx-- 5 jeff staff 160 13 Jan 13:07 Movies drwx--+ 5 jeff staff 160 25 Dec 07:57 Music drwx--+ 14 jeff staff 448 4 Mar 11:08 Pictures drwxr-xr-x+ 4 jeff staff 128 21 Dec 06:25 Public -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696257]: Mouse not useable
New question #696257 on SikuliX: https://answers.launchpad.net/sikuli/+question/696257 I see that getting here from IDE did not cop what I am using to Paste here Imac - From About SikulixIDE-2.0.5 build 2021-03-03_09:10 [error] Mouse: not useable (blocked) See: https://github.com/RaiMan/SikuliX1/wiki/Allow-SikuliX-actions-on-macOS Cant see what I need to do from that page for the mouse -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696257]: Mouse not useable
Question #696257 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696257 Jeff_Vallis gave more information on the question: Where can I post screen shots so you can see that Terminal is allowed in Accessibility Screen Recording -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696153]: Font for select -Combo
Question #696153 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696153 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Great and I was trying to replace the spaces with Unicode - going in the wrong direction again Thank Jeff -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696153]: Font for select -Combo
Question #696153 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/696153 Status: Answered => Open Jeff_Vallis is still having a problem: Nearly there It doesn't deal with spaces as I expected - Example items = [] items.append("{ 1490} My_Actions >> Connection Error") items.append("{ 180} My_Actions Type Login") items.append("{ 287} My_Instructions >> Test Bank Reload if Failed") items.append("{ 280} My_Actions Bank") items.append("{ 1930} My_Actions Set Focus Location Top Left") items.append("{ 149} My_Instructions Login") items.append("{ 219} My_Actions Close All") items.append("{ 3241} My_Actions Image List to Close") items.append("{ 149} My_Instructions Login") items.append("{ 1930} My_Actions Set Focus Location Top Left") items.append("{ 490} My_Actions > System Maintenace Reward") items.append("{ 494} My_Actions >> System Maintenace Reward Claim") items.append("{ 2084} My_Actions Reward for Waiting") items.append("{ 2085} My_Actions Reward for Waiting Claim") items.append("{ 275} My_Actions Screen Reset Hover and Scroll") newItems = ["" + item for item in items] select("select sthg", "my selection", newItems) items2 = [] for i in range(len(items)): items2.append(items[i].replace(" ","_")) newItems = ["" + item for item in items2] select("select sthg", "my selection", newItems) -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #696153]: Font for select -Combo
New question #696153 on SikuliX: https://answers.launchpad.net/sikuli/+question/696153 User Interactions https://sikulix-2014.readthedocs.io/en/latest/interaction.html I am using the Combo Box - select command Can I set the font for the data I am displaying to a fixed width font to make it easier to read. The Data is a bit like a table of items Item 1 Desc Quan Item 1 Desc Quan etc -- You received this question notification because your team Sikuli Drivers is an answer contact for SikuliX. ___ 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 #694520]: Tesseract
Question #694520 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694520 Status: Answered => Open Jeff_Vallis is still having a problem: It would have done if I had read it properly Tesseract now working ok You have told me before that I need items at the top of my script does it matter what order they are in I now have :- # -*- coding: utf-8 -*- import java.lang.System as JS JS.setProperty("jna.library.path", "/usr/local/lib") from sikuli import * import Generator_Global import datetime import time import os import re import os.path from os import path Thy reason I reformatted my Mac is :- In Dec 2019 I got a new Mac and set it up from the Time Machine Backup of my previous Machine and of course getting 10 years of Rubbish This time I did not dot that just loaded Big Sur and set it up again without all the Rubbish It now seems to be running faster My main problem for doing this was that Drag and Drop was not working and I felt that my Mac setup may be the cause But it is still not working consistently. It may or it may not try to do the drag drop e.g. the dragregion is found from an image on the screen Drag_Drop_From_To dragregion 956 449 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 Drag_Drop_From_To dragregion 956 449 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 so it didn't move dragregion unchanged Drag_Drop_From_To dragregion 956 449 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 same again so it didn't move dragregion unchanged Drag_Drop_From_To dragregion 956 449 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 same again so it didn't move dragregion unchanged Drag_Drop_From_To dragregion 956 449 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 same again so it didn't move dragregion unchanged Drag_Drop_From_To dragregion 956 449 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 same again so it didn't move dragregion unchanged Drag_Drop_From_To dragregion 956 449 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 same again so it didn't move dragregion unchanged Drag_Drop_From_To dragregion 956 449 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 same again so it didn't move dragregion unchanged Drag_Drop_From_To dragregion 956 449 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 same again so it didn't move dragregion unchanged v_Wait (1second) is a seconds to wait between Drag and Drop I do Settings.MoveMouseDelay = v_Mouse_Delay (set at 3) before trying the Drag and Drop in the same run : Drag_Drop_From_To dragregion 997 356 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 Drag_Drop_From_To dragregion 997 356 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 so it didn't move dragregion unchanged Drag_Drop_From_To dragregion 1016 342 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 Partial move so it moved a bit dragregion instructed it to move to 1104 272 and it moved to 1016 342 Drag_Drop_From_To dragregion 1042 322 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 Partial move so it moved a bit dragregion instructed it to move to 1104 272 and it moved to 1042 322 Drag_Drop_From_To dragregion 1042 322 dropregion 1104 272 v_Wait,v_Mouse_Delay 1 3 same again so it didn't move dragregion unchanged I am still messing about with this I fell sure that I have focus before the drag and and drop but am now looking for a safe image on screen that I can click just before doing the drag drop then I will play again with different waits and mouse speeds If you have any suggestions I would be pleased to hear them if not just mark this as solved as the tesseract problem no longer exists -- 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 #694520]: Tesseract
Question #694520 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694520 Status: Answered => Open Jeff_Vallis is still having a problem: May have changed since start of this item Formated and reinstalled Big Sir version 11.1 2.0.4-2020-03-14_08:01/Mac10.16/Java8(64)1.8.0_271-b09 So from a clean install Brew - Installed jython jruby tesseract ran IDE Terminal Last login: Tue Dec 22 16:34:19 on ttys000 jeff@Jeffs-iMac ~ % java -jar /Users/Jeff/Documents/SikuliX/sikulixide-2.0.4.jar failed to load message missingjython and ruby which were obviously on my machine bit not found by the IDE used your link and installed the Jython from it link :- https://github.com/RaiMan/SikuliX1/wiki/How-to-make-Jython-ready-in-the-IDE exit from IDE gave the expected error message that I have reported before :- Exception in thread "Thread-0" java.lang.IllegalStateException: Shutdown in progress etc . ran IDE again - loaded setRect to anything v = text() up came a webpage telling me to install tesseract link :- https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-libraries-for-Tess4J-Tesseract-4-OCR again I know its installed so ran the test suggested on the web page tesseract -v web page says result should be and you should get something like this: tesseract 4.1.0 leptonica-1.78.0 libgif 5.1.4 : libjpeg 9c : libpng 1.6.37 : libtiff 4.0.10 : zlib 1.2.11 : libwebp 1.0.3 : libopenjp2 2.3.1 ... I get :- tesseract 4.1.1 leptonica-1.80.0 libgif 5.2.1 : libjpeg 9d : libpng 1.6.37 : libtiff 4.2.0 : zlib 1.2.11 : libwebp 1.1.0 : libopenjp2 2.3.1 Found AVX2 Found AVX Found FMA Found SSE So I conclude that the IDE is not finding it maybe a link needs creating to the location of the Sikuli jar or a PATH needs adding my stuff - env TERM_PROGRAM=Apple_Terminal SHELL=/bin/zsh TERM=xterm-256color TMPDIR=/var/folders/38/md8qlsg10pd0h5cppkrmvw5cgn/T/ TERM_PROGRAM_VERSION=440 TERM_SESSION_ID=9CE7DF99-EDBC-419F-9D4E-634442E38CD7 USER=jeff SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.zi6APYxktM/Listeners PATH=/Users/jeff/.pyenv/shims:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin LaunchInstanceID=2386ABBF-DB5D-4E0B-89E9-FC14E4B20F9E __CFBundleIdentifier=com.apple.Terminal PWD=/Users/jeff LANG=en_GB.UTF-8 XPC_FLAGS=0x0 XPC_SERVICE_NAME=0 PYENV_SHELL=zsh SHLVL=2 HOME=/Users/jeff LOGNAME=jeff SECURITYSESSIONID=186a7 _=/usr/bin/env -- 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 #694520]: Tesseract
New question #694520 on Sikuli: https://answers.launchpad.net/sikuli/+question/694520 2.0.4-2020-03-14_08:01/Mac10.16/Java11(64)11.0.9+11 text - OCR capture was working and is now telling me its not installed so what have I done since it last worked 1. Resinstalled Big Sure 2. Delete and reinstalled XCODE 3. Removed Java 13 which you told me I didn't need what have I tried 1. Checked to see if tesseract is installed tesseract -v tesseract 4.1.1 leptonica-1.80.0 libgif 5.2.1 : libjpeg 9d : libpng 1.6.37 : libtiff 4.1.0 : zlib 1.2.11 : libwebp 1.1.0 : libopenjp2 2.3.1 Found AVX2 Found AVX Found FMA Found SSE it was so brew install tesseract this resulted in loads of Updating Homebrew... ==> Auto-updated Homebrew! result Warning: tesseract 4.1.1 is already installed and up-to-date To reinstall 4.1.1, run `brew reinstall tesseract` % brew reinstall tesseract ==> Downloading https://homebrew.bintray.com/bottles/tesseract-4.1.1.big_sur.bottle.tar.gz Already downloaded: /Users/Jeff/Library/Caches/Homebrew/downloads/29330e92fc356d70995c0bfcb61b1c30d8a9936ba6c7973339b1b1b4b4386ec0--tesseract-4.1.1.big_sur.bottle.tar.gz ==> Reinstalling tesseract ==> Pouring tesseract-4.1.1.big_sur.bottle.tar.gz ==> Caveats This formula contains only the "eng", "osd", and "snum" language data files. If you need any other supported languages, run `brew install tesseract-lang`. ==> Summary /usr/local/Cellar/tesseract/4.1.1: 65 files, 29.7MB So somewhere along the line its all gone wrong or Do I need python 13 and not 11 which is the current -- 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 #694482]: RobotDesktop
New question #694482 on Sikuli: https://answers.launchpad.net/sikuli/+question/694482 IDE 2.0.4-2020-03-14_08:01/Mac10.16/Java11(64)11.0.9+11 Run Direct java -jar /Users/Jeff/Documents/SikuliX/Sikulix-Current.jar -r /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator.sikuli /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator_Global.sikuli [info] runcmd: java -version java -version 0 openjdk version "11.0.9" 2020-10-20 OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.9+11) OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.9+11, mixed mode) [error] RobotDesktop: checkMousePosition: should be L[378,890]@S(0) - but is not! Possible cause in case you did not touch the mouse while script was running: Was using Java 13 now back to Java 11 your reply previously was that Java 13 caused the problem now back to Java 11 which has resulted in my Drag and Drop not working which I am investigating It appears to work on a normal web page but not on a game that is using openGL more to follow -- 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 1904567] Re: Robitdesktop
As you suggested Followed your Link and Installed Java 11 Now OK -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1904567 Title: Robitdesktop Status in Sikuli: Opinion Bug description: 2.0.4-2020-03-14_08:01/Mac10.16/Java13(64)13.0.1+9 Upgraded to Big sur Log showing [error] RobotDesktop: checkMousePosition: should be L[672,643]@S(0) - but is not! Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1904567/+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 1904567] [NEW] Robitdesktop
Public bug reported: 2.0.4-2020-03-14_08:01/Mac10.16/Java13(64)13.0.1+9 Upgraded to Big sur Log showing [error] RobotDesktop: checkMousePosition: should be L[672,643]@S(0) - but is not! Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1904567 Title: Robitdesktop Status in Sikuli: New Bug description: 2.0.4-2020-03-14_08:01/Mac10.16/Java13(64)13.0.1+9 Upgraded to Big sur Log showing [error] RobotDesktop: checkMousePosition: should be L[672,643]@S(0) - but is not! Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1904567/+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 #694009]: Next Release
Question #694009 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/694009 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #694009]: Next Release
New question #694009 on Sikuli: https://answers.launchpad.net/sikuli/+question/694009 Running 2.0.4-2020-03-14_08:01/Mac10.15.7/Java13(64)13.0.1+9 When will have the next release with the Bug Fixes you can see my version is March 2020 Still suffering from Sikuli Exit with Exception in thread "Thread-0" java.lang.IllegalStateException: Shutdown in progress at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66) at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:213) at java.prefs/java.util.prefs.MacOSXPreferencesFile.timer(MacOSXPreferencesFile.java:357) at java.prefs/java.util.prefs.MacOSXPreferencesFile.markChanged(MacOSXPreferencesFile.java:291) at java.prefs/java.util.prefs.MacOSXPreferencesFile.addNode(MacOSXPreferencesFile.java:367) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:115) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:86) at java.prefs/java.util.prefs.MacOSXPreferences.getUserRoot(MacOSXPreferences.java:59) at java.prefs/java.util.prefs.MacOSXPreferencesFactory.userRoot(MacOSXPreferencesFactory.java:31) at java.prefs/java.util.prefs.Preferences.userRoot(Preferences.java:457) at java.prefs/java.util.prefs.Preferences.userNodeForPackage(Preferences.java:371) at org.sikuli.basics.PreferencesUser.(PreferencesUser.java:53) at org.sikuli.basics.PreferencesUser.get(PreferencesUser.java:57) at org.sikuli.script.support.RunTime.cleanUp(RunTime.java:1350) at org.sikuli.script.support.RunTime.runShutdownHook(RunTime.java:1364) at org.sikuli.script.support.RunTime.access$000(RunTime.java:42) at org.sikuli.script.support.RunTime$3.run(RunTime.java:1056) -- 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 #693662]: VNCScreen.capture doesnt work
Question #693662 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693662 Jeff_Vallis posted a new comment: May or May not help My Screen Shot Function - please don't Laugh def Screen_Shot_Set_and_Copy_Procedure(v_Dir,Screen_Shot_File,Need_a_Copy,x,y,w,h): screenshotsDir = Get_Location(v_Dir) import shutil import os print "Screen_Shot_Set_and_Copy",x,y,w,h setRect(x,y,w,h) some_region = SCREEN # for whole screen someRegion = App.focusedWindow() # for the frontmost windo img = capture(some_region) my_file = Screen_Shot_File print "Sub_Take_Screen_Shot_and_Copy() "+screenshotsDir + my_file + ".png" localtime = time.localtime(time.time()) timestring = time.strftime ('%m%d%H%M%S') my_file = my_file + ".png" shutil.move(img, os.path.join(screenshotsDir, my_file)) if Need_a_Copy == 1: my_copy = my_file + " copy " + timestring + ".png" shutil.copy(os.path.join(screenshotsDir, my_file), os.path.join(screenshotsDir, my_copy)) print "Sub_Take_Screen_Shot_and_Copy() ",screenshotsDir, my_copy -- 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 #692649]: Image Matching
Question #692649 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/692649 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #692649]: Image Matching
New question #692649 on Sikuli: https://answers.launchpad.net/sikuli/+question/692649 2.0.4-2020-03-14_08:01/Mac10.15.6/Java13(64)13.0.1+9 Is there anyway to find out what the matching level is from a exists or find without looping through from matching 0.70 to 0.99 also is v_Matching 1.00 the correct syntax for exact match v_Image = Pattern(v_Image).similar(v_Matching) -- 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 #690975]: import problem
New question #690975 on Sikuli: https://answers.launchpad.net/sikuli/+question/690975 2.0.4-2020-03-14_08:01/Mac10.15.4/Java13(64)13.0.1+9 I seem to be having problem with import of sub module if I have a main with x = "£" both load ok if I have the same in sub module I get [error] script [ Generator ] stopped with error in line 2 [error] SyntaxError ( !!WHILE IMPORTING!! Non-ASCII character in file '/Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Generator/Code/Generator_Run.sikuli/Generator_Run.py', but no encoding declared; see http://www.python.org/peps/pep-0263.html for details ) [error] --- Traceback --- error source first line: module ( function ) statement 2: main ( ) import Generator_Run Main :- import Generator_Global import Generator_Run import Generator_Selects import datetime import time import os x = "£" etc... Generator_Run :- from sikuli import * import Generator_Global import datetime import time import os import re import os.path from os import path x = "£" etc... Put this at the start of both scripts to find out why I was having a problem with replacing "£" in the imported script when it was ok in the main script. -- 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 #690369]: find()
Question #690369 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/690369 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #690369]: find()
New question #690369 on Sikuli: https://answers.launchpad.net/sikuli/+question/690369 https://sikulix-2014.readthedocs.io/en/latest/screen.html explains find(Image) does find still allow find(Image,speed) if so is the default speed still 3 and what is the minimum - I have always used 0.2 and what is the maximum -- 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 #690340]: 2.0.5
New question #690340 on Sikuli: https://answers.launchpad.net/sikuli/+question/690340 Any Idea when 2.0.5 will be released Waiting for the fix on https://bugs.launchpad.net/sikuli/+bug/1871026 -- 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 1871026] Re: [2.0.4] IDE: on exit: Exception in ShutDownHook --- can be ignored --- fixed in 2.0.5
ok -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1871026 Title: [2.0.4] IDE: on exit: Exception in ShutDownHook --- can be ignored --- fixed in 2.0.5 Status in Sikuli: New Bug description: Installed 2.0.4-2020-03-14_08:01/Mac10.15.3/Java13(64)13.0.1+9 Tried 3 Script Files Script ran ok on exit(0) Result Exception in thread "Thread-0" java.lang.IllegalStateException: Shutdown in progress at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66) at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:213) at java.prefs/java.util.prefs.MacOSXPreferencesFile.timer(MacOSXPreferencesFile.java:357) at java.prefs/java.util.prefs.MacOSXPreferencesFile.markChanged(MacOSXPreferencesFile.java:291) at java.prefs/java.util.prefs.MacOSXPreferencesFile.addNode(MacOSXPreferencesFile.java:367) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:115) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:86) at java.prefs/java.util.prefs.MacOSXPreferences.getUserRoot(MacOSXPreferences.java:59) at java.prefs/java.util.prefs.MacOSXPreferencesFactory.userRoot(MacOSXPreferencesFactory.java:31) at java.prefs/java.util.prefs.Preferences.userRoot(Preferences.java:457) at java.prefs/java.util.prefs.Preferences.userNodeForPackage(Preferences.java:371) at org.sikuli.basics.PreferencesUser.(PreferencesUser.java:53) at org.sikuli.basics.PreferencesUser.get(PreferencesUser.java:57) at org.sikuli.script.support.RunTime.cleanUp(RunTime.java:1350) at org.sikuli.script.support.RunTime.runShutdownHook(RunTime.java:1364) at org.sikuli.script.support.RunTime.access$000(RunTime.java:42) at org.sikuli.script.support.RunTime$3.run(RunTime.java:1056) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1871026/+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 1871026] Re: Exception in thread
So changed first line in script to exit(0) so that script did nothing ran : java -jar /Users/Jeff/Documents/SikuliX/Sikulix-Current.jar -r /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Command_File.sikuli result :- [info] Exit code: 0 Exception in thread "Thread-0" java.lang.IllegalStateException: Shutdown in progress at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66) at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:213) at java.prefs/java.util.prefs.MacOSXPreferencesFile.timer(MacOSXPreferencesFile.java:357) at java.prefs/java.util.prefs.MacOSXPreferencesFile.markChanged(MacOSXPreferencesFile.java:291) at java.prefs/java.util.prefs.MacOSXPreferencesFile.addNode(MacOSXPreferencesFile.java:367) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:115) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:86) at java.prefs/java.util.prefs.MacOSXPreferences.getUserRoot(MacOSXPreferences.java:59) at java.prefs/java.util.prefs.MacOSXPreferencesFactory.userRoot(MacOSXPreferencesFactory.java:31) at java.prefs/java.util.prefs.Preferences.userRoot(Preferences.java:457) at java.prefs/java.util.prefs.Preferences.userNodeForPackage(Preferences.java:371) at org.sikuli.basics.PreferencesUser.(PreferencesUser.java:53) at org.sikuli.basics.PreferencesUser.get(PreferencesUser.java:57) at org.sikuli.script.support.RunTime.cleanUp(RunTime.java:1350) at org.sikuli.script.support.RunTime.runShutdownHook(RunTime.java:1364) at org.sikuli.script.support.RunTime.access$000(RunTime.java:42) at org.sikuli.script.support.RunTime$3.run(RunTime.java:1056) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1871026 Title: [2.0.4] IDE: on exit: Exception in ShutDownHook --- can be ignored --- fixed in 2.0.5 Status in Sikuli: New Bug description: Installed 2.0.4-2020-03-14_08:01/Mac10.15.3/Java13(64)13.0.1+9 Tried 3 Script Files Script ran ok on exit(0) Result Exception in thread "Thread-0" java.lang.IllegalStateException: Shutdown in progress at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66) at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:213) at java.prefs/java.util.prefs.MacOSXPreferencesFile.timer(MacOSXPreferencesFile.java:357) at java.prefs/java.util.prefs.MacOSXPreferencesFile.markChanged(MacOSXPreferencesFile.java:291) at java.prefs/java.util.prefs.MacOSXPreferencesFile.addNode(MacOSXPreferencesFile.java:367) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:115) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:86) at java.prefs/java.util.prefs.MacOSXPreferences.getUserRoot(MacOSXPreferences.java:59) at java.prefs/java.util.prefs.MacOSXPreferencesFactory.userRoot(MacOSXPreferencesFactory.java:31) at java.prefs/java.util.prefs.Preferences.userRoot(Preferences.java:457) at java.prefs/java.util.prefs.Preferences.userNodeForPackage(Preferences.java:371) at org.sikuli.basics.PreferencesUser.(PreferencesUser.java:53) at org.sikuli.basics.PreferencesUser.get(PreferencesUser.java:57) at org.sikuli.script.support.RunTime.cleanUp(RunTime.java:1350) at org.sikuli.script.support.RunTime.runShutdownHook(RunTime.java:1364) at org.sikuli.script.support.RunTime.access$000(RunTime.java:42) at org.sikuli.script.support.RunTime$3.run(RunTime.java:1056) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1871026/+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 1871026] [NEW] Exception in thread
Public bug reported: Installed 2.0.4-2020-03-14_08:01/Mac10.15.3/Java13(64)13.0.1+9 Tried 3 Script Files Script ran ok on exit(0) Result Exception in thread "Thread-0" java.lang.IllegalStateException: Shutdown in progress at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66) at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:213) at java.prefs/java.util.prefs.MacOSXPreferencesFile.timer(MacOSXPreferencesFile.java:357) at java.prefs/java.util.prefs.MacOSXPreferencesFile.markChanged(MacOSXPreferencesFile.java:291) at java.prefs/java.util.prefs.MacOSXPreferencesFile.addNode(MacOSXPreferencesFile.java:367) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:115) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:86) at java.prefs/java.util.prefs.MacOSXPreferences.getUserRoot(MacOSXPreferences.java:59) at java.prefs/java.util.prefs.MacOSXPreferencesFactory.userRoot(MacOSXPreferencesFactory.java:31) at java.prefs/java.util.prefs.Preferences.userRoot(Preferences.java:457) at java.prefs/java.util.prefs.Preferences.userNodeForPackage(Preferences.java:371) at org.sikuli.basics.PreferencesUser.(PreferencesUser.java:53) at org.sikuli.basics.PreferencesUser.get(PreferencesUser.java:57) at org.sikuli.script.support.RunTime.cleanUp(RunTime.java:1350) at org.sikuli.script.support.RunTime.runShutdownHook(RunTime.java:1364) at org.sikuli.script.support.RunTime.access$000(RunTime.java:42) at org.sikuli.script.support.RunTime$3.run(RunTime.java:1056) ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1871026 Title: Exception in thread Status in Sikuli: New Bug description: Installed 2.0.4-2020-03-14_08:01/Mac10.15.3/Java13(64)13.0.1+9 Tried 3 Script Files Script ran ok on exit(0) Result Exception in thread "Thread-0" java.lang.IllegalStateException: Shutdown in progress at java.base/java.lang.ApplicationShutdownHooks.add(ApplicationShutdownHooks.java:66) at java.base/java.lang.Runtime.addShutdownHook(Runtime.java:213) at java.prefs/java.util.prefs.MacOSXPreferencesFile.timer(MacOSXPreferencesFile.java:357) at java.prefs/java.util.prefs.MacOSXPreferencesFile.markChanged(MacOSXPreferencesFile.java:291) at java.prefs/java.util.prefs.MacOSXPreferencesFile.addNode(MacOSXPreferencesFile.java:367) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:115) at java.prefs/java.util.prefs.MacOSXPreferences.(MacOSXPreferences.java:86) at java.prefs/java.util.prefs.MacOSXPreferences.getUserRoot(MacOSXPreferences.java:59) at java.prefs/java.util.prefs.MacOSXPreferencesFactory.userRoot(MacOSXPreferencesFactory.java:31) at java.prefs/java.util.prefs.Preferences.userRoot(Preferences.java:457) at java.prefs/java.util.prefs.Preferences.userNodeForPackage(Preferences.java:371) at org.sikuli.basics.PreferencesUser.(PreferencesUser.java:53) at org.sikuli.basics.PreferencesUser.get(PreferencesUser.java:57) at org.sikuli.script.support.RunTime.cleanUp(RunTime.java:1350) at org.sikuli.script.support.RunTime.runShutdownHook(RunTime.java:1364) at org.sikuli.script.support.RunTime.access$000(RunTime.java:42) at org.sikuli.script.support.RunTime$3.run(RunTime.java:1056) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1871026/+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 #689702]: OCR Useage
Question #689702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689702 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Downloaded and 2.0.4 now 2.0.4-2020-03-14_08:01/Mac10.15.3/Java13(64)13.0.1+9 ran setRect(349,252,117,16) highlight(1) v = text() print v Result - Web page Loaded https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-libraries-for-Tess4J-Tesseract-4-OCR Followed Instruction :- brew install tesseract tesseract -v Result :- tesseract 4.1.1 leptonica-1.79.0 libgif 5.2.1 : libjpeg 9d : libpng 1.6.37 : libtiff 4.1.0 : zlib 1.2.11 : libwebp 1.1.0 : libopenjp2 2.3.1 Found AVX2 Found AVX Found FMA Found SSE Ran again : with regions on the Web Page Loaded x1 = Region(562,529,117,17) setRect(x1.x,x1.y,x1.w,x1.h) highlight(1) v = text() print "^ " * 40 print v print "^ " * 40 x1 = Region(171,616,649,22) setRect(x1.x,x1.y,x1.w,x1.h) highlight(1) v = text() print "^ " * 40 print v print "^ " * 40 exit(0) Result :- [log] highlight R[562,529 117x17]@S(0) for 1.0 secs [log] highlight R[171,616 649x22]@S(0) for 1.0 secs ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ libtiff 4.0.10 ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ This might work as well with other package managers like MacPorts, Finch, ..., but is not tested. ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ [info] Exit code: 0 So without testing my actual code it appears to be ok. -- 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 #689702]: OCR Useage
Question #689702 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689702 Jeff_Vallis posted a new comment: Forgot again :- 2.0.1-2019-11-22_16:54/Mac10.15.3/Java13(64)13.0.1+9 -- 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 #689702]: OCR Useage
New question #689702 on Sikuli: https://answers.launchpad.net/sikuli/+question/689702 How do I use OCR have found no Examples So I tried setRect(349,252,117,16) highlight(1) v = text() print v Result [error] java.lang.NoClassDefFoundError ( java.lang.NoClassDefFoundError: Could not initialize class net.sourceforge.tess4j.Tesseract1 ) -- 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 1858435] Re: Combo to Front
You can do the above without me supplying a screen shot as its just any browser -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1858435 Title: Combo to Front Status in Sikuli: New Bug description: https://answers.launchpad.net/sikuli/+question/272494 Combo not "ALWAYS" coming to front and workaround above not working To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1858435/+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 1858435] Re: Combo to Front
Snippet g_MoveMouseDelay = 1 Settings.MoveMouseDelay = g_MoveMouseDelay # = """ INSTRUCTIONS Open Google Search for sikuli guide set screen big enough """ # = setRect(1,30,1234,821) highlight(1) # = """ INSTRUCTIONS set Image to first Item in the display results Sikuli Guide — Sikuli X 1.0 documentation """ # = v_Image = "v_Image.png" v_Image_1 = Pattern(v_Image).similar(0.90) if 1 == 1: v_Combo_Header = "Click Back and Select Item" ; v_Items = ("Click v_Image_1","Exit") #selected = select("Select Item", ("Click v_Image_1","Exit")) selected = select(v_Combo_Header, options = v_Items ) if selected == "Exit": exit(0) if exists(v_Image_1): # Get Focus click(Location(72, 297)) click(v_Image_1) print "Clicked" else: print "Start Test Failed" exit(0) for i in range(10): print "Loop",i v_Combo_Header = "DO I HAVE FOCUS This Time ? Click Back and Select Item" ; v_Items = ("Click v_Image_1","Exit") print v_Items selected = select(v_Combo_Header, options = v_Items ) if selected == "Exit": exit(0) if exists(v_Image_1): # Get Focus click(Location(72, 297)) click(v_Image_1) else: print "Test Failed" exit(0) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1858435 Title: Combo to Front Status in Sikuli: New Bug description: https://answers.launchpad.net/sikuli/+question/272494 Combo not "ALWAYS" coming to front and workaround above not working To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1858435/+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 1858435] Re: Combo to Front
2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1858435 Title: Combo to Front Status in Sikuli: New Bug description: https://answers.launchpad.net/sikuli/+question/272494 Combo not "ALWAYS" coming to front and workaround above not working To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1858435/+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 1858435] [NEW] Combo to Front
Public bug reported: https://answers.launchpad.net/sikuli/+question/272494 Combo not "ALWAYS" coming to front and workaround above not working ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1858435 Title: Combo to Front Status in Sikuli: New Bug description: https://answers.launchpad.net/sikuli/+question/272494 Combo not "ALWAYS" coming to front and workaround above not working To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1858435/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #687773]: Run Script with Debug from Command Line
New question #687773 on Sikuli: https://answers.launchpad.net/sikuli/+question/687773 I have found in Documentation -d 3 or -v sets the debug level First what is the difference second how do I use it My Script without debug which just give prints and basic commands to standard output is export Run_Sikuli="java -jar /Users/Jeff/Documents/SikuliX/Sikulix-Current.jar" export My_Location=/Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings export Run_Main=$My_Location/Code/Vikings_Main.sikuli export Run_This=$Run_Sikuli" -r "$Run_Main echo $Run_This #If I wand to capture the standard output I add export My_Output=" > "$My_Location/Reports/Staandard_Output.txt export Run_This_Full=$Run_Sikuli" -r "$Run_Main$My_Output echo $Run_This_Full where do I add the d -3 or the -v -- 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 1858192] [NEW] Combo Box not Clearing
Public bug reported: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 Script def Combo_One(Combo_Header,items): selected = select(Combo_Header, options = items) return selected Loop Displays a multi selection ( 4 or more Items ) v_Select = Combo_One("Is Image on Screen ",("No","Yes","Display","Copy Existing","Exit")) do something Displays a multi selection again ( 4 or more Items ) Randomly it will leave a combo box on screen that is inactive and can only be dragged out of the way ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1858192 Title: Combo Box not Clearing Status in Sikuli: New Bug description: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 Script def Combo_One(Combo_Header,items): selected = select(Combo_Header, options = items) return selected Loop Displays a multi selection ( 4 or more Items ) v_Select = Combo_One("Is Image on Screen ",("No","Yes","Display","Copy Existing","Exit")) do something Displays a multi selection again ( 4 or more Items ) Randomly it will leave a combo box on screen that is inactive and can only be dragged out of the way To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1858192/+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 #687647]: Drag and Drop
Question #687647 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687647 Jeff_Vallis posted a new comment: Thanx TestMechanic I just produced exactly the same code maybe not as pretty as yours and posted a bug that Drag and Drop is not working https://bugs.launchpad.net/sikuli/+bug/1858107 -- 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 1858107] [NEW] Drag and Drop Not working
Public bug reported: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 Mac OS 10.15.2 Drag and Drop not working Work around def Test_Mouse_Down(): x,y = Get_Mouse_Location("Position Mouse in Safe Location to Try Mouse Down : Make sure this has Focus then press return") ; dragLocation = Location(x,y) ; dropLocation = Location(x,y-50) Get_Focus() # get focus hover(Location(x,y)) print "Do a Mouse Down" mouseDown(Button.LEFT) wait(2) mouseMove(Location(x,y-30)) wait(2) mouseUp(Button.LEFT) Drag and Drop was working on my Old 2009 Imac using release 1.1.3 but cannot make it work on my New Imac using above release I did try to install 1.1.3 on this machine to compare the results of my test script https://answers.launchpad.net/sikuli/+question/687698 but unfortunately its not supported so I cannot provide more info. MyFull Test Script to assist you in Fixing this Bug. import os Home_Directory = os.environ['HOME'] print "Home_Directory",Home_Directory def Screen_Shot_and_Copy(screenshotsDir,Screen_Shot_File): import shutil import os some_region = SCREEN # for whole screen someRegion = App.focusedWindow() # for the frontmost windo img = capture(some_region) my_file = Screen_Shot_File print "Sub_Take_Screen_Shot_and_Copy() "+screenshotsDir + my_file + ".png" localtime = time.localtime(time.time()) timestring = time.strftime ('%m%d%H%M%S') my_file = my_file + ".png" shutil.move(img, os.path.join(screenshotsDir, my_file)) def Get_Mouse_Location(v_Desc): popup(v_Desc) #"Position Mouse in Safe Loaction to Drag From Make sure this has Focus then press return") getmouseLoc = Env.getMouseLocation() x = getmouseLoc.getX() y = getmouseLoc.getY() return x,y def Get_Focus(): click(Location(134, 114)) # get focus def Testing_Drag(dragLocation,dropLocation,v_Mouse_Delay,v_Wait): global g_MoveMouseDelay print "Drag",dragLocation.x,dragLocation.y,"to drop",dropLocation.x,dropLocation.y,"v_Mouse_Delay",v_Mouse_Delay,"Wait",v_Wait Get_Focus() # get focus Settings.MoveMouseDelay = v_Mouse_Delay # What Mouse Speed works hover(dragLocation) drag(dragLocation) wait(v_Wait) # Wait between Drag and Drop dropAt(dropLocation) wait(1) # Wait for drop to finish def Call_Drag_Drop(v_It,dragLocation,dropLocation): global g_MoveMouseDelay v_Try = 0 # Tried diff MoveMouseDelay - worked fine with delay of 5 on 1.1.3 v_Try_Start = 4 # No good try longer MoveMouseDelay between Drag and Drop v_Try_Start = 8 v_Try_Start = int(input("Start Mouse Delay","8")) v_No_Trys = int(input("No. of Incrementing 1sec Delays from "+str(v_Try_Start),"6")) v_No_Waits = int(input("No. of Incrementing 0.5sec Waits between Drag and Drop Starting with 1.5 ","3")) while v_Try < v_No_Trys : # Increasing MoveMouseDelays v_Try = v_Try + 1 for hh in range(v_No_Waits): # Increasing Waits between Drag and Drop Settings.MoveMouseDelay = g_MoveMouseDelay setRect(621,398,828,837) if exists(v_It): v_pos = find(v_It) else: print "Get start right" highlight(5) exit(0) v_Wait = 1.5+(0.5*hh) ; v_Mouse_Delay = v_Try+v_Try_Start Testing_Drag(dragLocation,dropLocation,v_Mouse_Delay,v_Wait) # some fails open a building - try to close it if exists("1577951818153.png"): click("1577951818153.png") setRect(416,398,862,396) if exists(v_It): v_pos2 = find(v_It) if v_pos.x <> v_pos2.x or v_pos.y <> v_pos2.y: print v_pos print v_pos2 popup("Moved") exit(0) else: print "Not found" exit(0) Settings.MoveMouseDelay = g_MoveMouseDelay v_Try = 200 def Test_Mouse_Down(): x,y = Get_Mouse_Location("Position Mouse in Safe Location to Try Mouse Down : Make sure this has Focus then press return") ; dragLocation = Location(x,y) ; dropLocation = Location(x,y-50) Get_Focus() # get focus hover(Location(x,y)) print "Do a Mouse Down" mouseDown(Button.LEFT) wait(2) mouseMove(Location(x,y-30)) wait(2) mouseUp(Button.LEFT) def Combo_Action(Combo_Header,v_Actions): #sikulixToFront() selected = select(Combo_Header, options = v_Actions) if selected == "Nothing Selected": popup("You did not select an item") print("You did not select an item") exit(0) return selected v_Selected = "" while v_Selected<>"Exit": v_Selected = Combo_Action("Testing What",("Drag and Drop","Mouse Down","Exit")) print v_Selected if v_Selected == "Mouse Down": Test_Mouse_Down() if v_Selected == "Drag and Drop":
[Sikuli-driver] [Bug 1857799] Re: Image Size
Have finally setup my Google Drive again on my New Imac Link to Sikuli Script This should give the Actual Sikuli Script I am Running https://drive.google.com/drive/folders/1-_gJ4tps_4zAC40hKIyvlcipeiopsGHv?usp=sharing -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1857799 Title: Image Size Status in Sikuli: New Bug description: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 setRect Smaller than size of image in exists e.g. highlight R[733,836 39x47]@S(0) for 1.0 secs image size is over 50x50 - bigger than the 39x47 above at java.base/java.lang.reflect.Method.invoke(Method.java:567) org.opencv.core.CvException: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.2) /Users/raimundhocke/SikuliX/OpenCV/opencv-3.4.2/modules/imgproc/src/templmatch.cpp:1107: error: (-215:Assertion failed) _img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width in function 'matchTemplate' ] To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1857799/+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 #687698]: Sikuli Version 1
Question #687698 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687698 Jeff_Vallis gave more information on the question: Install File : [debug (01/01/20 08:11:24)] Debug: setLogFile: /Users/Jeff/Documents/SikuliX_1/SikuliX-1.1.3-SetupLog.txt [debug (01/01/20 08:11:24)] RunSetup: ... starting with no args given [debug (01/01/20 08:11:24)] RunSetup: Setup: 1.1.3 2018-07-11_08:19 in folder: /Users/Jeff/Documents/SikuliX_1 [debug (01/01/20 08:11:24)] RunSetup: RunningSystem: Mac OSX 10.15.2 [debug (01/01/20 08:11:24)] RunSetup: parent of jar/classes: /Users/Jeff/Documents/SikuliX_1 [debug (01/01/20 08:11:24)] RunSetup: RunningJava: Java 8 (x86_64) 1.8.0_231-b11 [debug (01/01/20 08:11:24)] init user preferences [debug (01/01/20 08:11:53)] RunSetup: popAsk: The following file(s) will be downloaded to /Users/Jeff/Documents/SikuliX_1 --- Native support libraries for Mac OSX (sikulixlibs...) --- Package 1 --- sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar (IDE/Scripting) sikulixsetupAPI-1.1.3-20180711.082046-40-forsetup.jar (Java API) - with Jython - creating Mac application Only click NO, if you want to terminate setup now! Click YES even if you want to use local copies in Downloads! [debug (01/01/20 08:12:00)] RunSetup: popAsk: You have for Mac native libs /Users/Jeff/Library/Application Support/Sikulix/SikulixDownloads/sikulixlibsmac-1.1.1.jar Click YES, if you want to use this for setup processing ... or click NO, to ignore it and download a fresh copy [debug (01/01/20 08:12:16)] RunSetup: Copied from Downloads: sikulixlibsmac [debug (01/01/20 08:12:16)] FileManager: download to string from: https://oss.sonatype.org/content/groups/public/com/sikulix/sikulixsetupIDE/1.1.3-SNAPSHOT/maven-metadata.xml, [debug (01/01/20 08:12:16)] RunSetup: getMavenJar: sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar [debug (01/01/20 08:12:17)] FileManager: Downloading sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar having 23010 KB [debug (01/01/20 08:12:20)] FileManager: downloaded 23010 KB to: /Users/Jeff/Library/Application Support/Sikulix/SikulixDownloads_201807110819/sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar [debug (01/01/20 08:12:20)] FileManager: download time: 3 [debug (01/01/20 08:12:23)] RunSetup: Copied from Downloads: sikulix [debug (01/01/20 08:12:23)] RunSetup: popAsk: If you click YES, you will get Jython version 2.7.0 (recommended) ... but in rare cases there might be issues with UTF-8/Unicode that usually appear on startup when UTF-8 characters are present somewhere in the system environment If you encounter such problems with Jython 2.7.0 run setup again and click NO to get Jython a 2.5.4 version [debug (01/01/20 08:12:29)] RunSetup: popAsk: You have for Jython 2.7 /Users/Jeff/Library/Application Support/Sikulix/SikulixDownloads/jython-standalone-2.7.1.jar Click YES, if you want to use this for setup processing ... or click NO, to ignore it and download a fresh copy [debug (01/01/20 08:12:35)] RunSetup: Copied from Downloads: Jython [debug (01/01/20 08:12:35)] RunSetup: Download ended [debug (01/01/20 08:12:35)] RunSetup: Downloads for selected options: sikulixlibsmac-1.1.1.jar sikulixsetupIDE-1.1.3-20180711.082119-40-forsetup.jar sikulixsetupAPI-1.1.3-20180711.082046-40-forsetup.jar jython-standalone-2.7.1.jar [debug (01/01/20 08:12:35)] RunSetup: adding needed stuff to sikulix.jar [debug (01/01/20 08:12:35)] FileManager: buildJar: sikulixtemp.jar [debug (01/01/20 08:12:35)] FileManager: buildJar: adding: sikulix.jar [debug (01/01/20 08:12:39)] FileManager: buildJar: adding: sikulixjython.jar [debug (01/01/20 08:12:49)] FileManager: buildJar: adding: sikulixlibsmac.jar [debug (01/01/20 08:12:55)] FileManager: buildJar: completed [debug (01/01/20 08:12:55)] RunSetup: renaming sikulixtemp.jar to target jar: sikulix.jar [debug (01/01/20 08:12:56)] RunSetup: making the Mac application Sikulix.app [debug (01/01/20 08:12:56)] RunTimeSETUP: resourceList: enter [debug (01/01/20 08:12:56)] RunTimeSETUP: resourceLocation: (class org.sikuli.setup.RunSetup) /macapp [debug (01/01/20 08:12:56)] RunTimeSETUP: resourceList: having jar: jar:file:/Users/Jeff/Documents/SikuliX_1/sikulixsetup-1.1.3.jar!/macapp [debug (01/01/20 08:12:56)] RunTimeSETUP: files exported: 6 from: macapp to: /Users/Jeff/Documents/SikuliX_1/SikuliX.app [debug (01/01/20 08:12:57)] RunSetup: processing commandfiles [debug (01/01/20 08:12:57)] RunTimeSETUP: exists libs folder at: /Users/Jeff/Library/Application Support/Sikulix/SikulixLibs_201807110819 [debug (01/01/20 08:12:57)] RunTimeSETUP: addToClasspath: file:/Users/Jeff/Documents/SikuliX_1/SikuliX.app/Contents/Java/sikulix.jar [debug (01/01/20 08:12:57)] RunSetup: Jython: Trying to run functional test: running script statements via SikuliScript [debug (01/01/20 08
Re: [Sikuli-driver] [Question #687698]: Sikuli Version 1
Question #687698 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687698 Jeff_Vallis gave more information on the question: Java - only 1 java installed Jeff@Jeffs-iMac ~ % /usr/libexec/java_home -V Matching Java Virtual Machines (1): 13.0.1, x86_64: "Java SE 13.0.1" /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home -- 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 #687698]: Sikuli Version 1
New question #687698 on Sikuli: https://answers.launchpad.net/sikuli/+question/687698 1.1.3(2018-07-11_08:19)/Mac10.15.2/Java13(64)13.0.1+9 Having Problems with Version 2 so want to run version 1 to compare problems Downloaded 1.1.3 although from searches there appears to be a version 1.1.4 which I cannot find Extracted in new folder in my Documents Directory ran IDE from there result cannot see any existing sikuli scripts - cannot even see any directories [error] FileManager: Script project /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Do_Drag.sikuli has no script file Do_Drag.xxx [error] IDE: restoreScriptFromSession: Can't load: /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Do_Drag.sikuli [error] FileManager: Script project /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Exists.sikuli has no script file Vikings_Exists.xxx [error] IDE: restoreScriptFromSession: Can't load: /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Exists.sikuli [error] FileManager: Script project /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Get_Image_Both.sikuli has no script file Get_Image_Both.xxx [error] IDE: restoreScriptFromSession: Can't load: /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Get_Image_Both.sikuli [error] FileManager: Script project /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Main.sikuli has no script file Vikings_Main.xxx [error] IDE : restoreScriptFromSession: Can't load: /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Main.sikuli [error] FileManager: Script project /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Sub_Utils.sikuli has no script file Vikings_Sub_Utils.xxx [error] IDE: restoreScriptFromSession: Can't load: /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Vikings_Sub_Utils.sikuli [info] IDE startup: 42.3 seconds [info] *** BE AWARE: Running on Java 8+ [info] *** Please report problems 1.1.3(2018-07-11_08:19)/Mac10.15.2/Java13(64)13.0.1+9 1.1.3(2018-07-11_08:19)/Mac10.15.2/Java13(64)13.0.1+9 Broken Links :- https://launchpad.net/sikuli/+download download icon sikulixsetup-1.1.3.jar (md5) download and run - see http://sikulix.com This link does not give instructions for 1.1.3 only 2.0.1 -- 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 #687647]: Drag and Drop
Question #687647 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687647 Jeff_Vallis gave more information on the question: if this means anything Running IDE from Terminal IDE no Errors Terminal:- 2019-12-31 09:29:10.246 java[17291:527448] -[NSPersistentUIWindowSnapshotter writeWindowSnapshot:length:width:height:bytesPerRow:toFile:inDirectory:encryptingWithKey:uuid:checksum:fd:]: 0 == ftruncate(fd, fileLength) failed on line 874: No such file or directory 2019-12-31 09:30:38.437 java[17291:527766] -[NSPersistentUIWindowSnapshotter writeWindowSnapshot:length:width:height:bytesPerRow:toFile:inDirectory:encryptingWithKey:uuid:checksum:fd:]: 0 == ftruncate(fd, finalFileSize) failed on line 803: No such file or directory 2019-12-31 09:30:38.440 java[17291:527766] -[NSPersistentUIWindowSnapshotter writeWindowSnapshot:length:width:height:bytesPerRow:toFile:inDirectory:encryptingWithKey:uuid:checksum:fd:]: 0 == ftruncate(fd, fileLength) failed on line 874: No such file or directory after posting above also tried mouseDown(Button.LEFT) #popup("Am I down") wait(0.5) #hover(dropregion) mouseMove(dropregion) wait(0.5) mouseUp(Button.LEFT) you can see the #popup - when active I tried moving mouse it "SEEMED" to drag -- 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 #687647]: Drag and Drop
New question #687647 on Sikuli: https://answers.launchpad.net/sikuli/+question/687647 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 Is Drag and Drop Working def Testing_Drag(dragregion,dropregion,v_Mouse_Delay): global g_MoveMouseDelay global g_Waterfall_This_Location global g_Debug print("Do_Drag ") v_Wait = 1 Settings.MoveMouseDelay = v_Mouse_Delay hover(dragregion) ; print "hover(dragregion) and Drag",dragregion.x,dragregion.y,"v_Mouse_Delay",v_Mouse_Delay print "dropregion",dropregion.x,dropregion.y drag(dragregion) wait(v_Wait) dropAt(dropregion) popup(str(v_Mouse_Delay)) g_MoveMouseDelay = 1 v_Try = 0 # Tried diff speeds - worked fine with delay of 5 on 1.1.3 # Get Focus click(Location(1002, 547)) while v_Try < 100: v_Try = v_Try + 1 Settings.MoveMouseDelay = g_MoveMouseDelay dragregion = Location(1071, 588) dropregion = Location(630, 537) Testing_Drag(dragregion,dropregion,v_Try+4) v_Try = 200 -- 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] [Bug 1857799] Image Size
Image is 694 Bytes So instead of Mac Mail I have used Gmail in Browser and attached ruler image below Image is captured within Sikuli using a function that I wrote years ago :- def Screen_Shot_Set_and_Copy(screenshotsDir,Screen_Shot_File,Need_a_Copy,x,y,w,h): print "Screen_Shot_Set_and_Copy",x,y,w,h SETRECT(x,y,w,h) Screen_Shot_and_Copy(screenshotsDir,Screen_Shot_File,Need_a_Copy) def Screen_Shot_and_Copy(screenshotsDir,Screen_Shot_File,Need_a_Copy): import shutil import os some_region = SCREEN # for whole screen someRegion = App.focusedWindow() # for the frontmost windo img = capture(some_region) my_file = Screen_Shot_File print "Sub_Take_Screen_Shot_and_Copy() "+screenshotsDir + my_file + ".png" localtime = time.localtime(time.time()) timestring = time.strftime ('%m%d%H%M%S') my_file = my_file + ".png" shutil.move(img, os.path.join(screenshotsDir, my_file)) if Need_a_Copy == 1: my_copy = my_file + " copy " + timestring + ".png" shutil.copy(os.path.join(screenshotsDir, my_file), os.path.join(screenshotsDir, my_copy)) print "Sub_Take_Screen_Shot_and_Copy() ",screenshotsDir, my_copy There is another bug but my guess it is not repeatable with simple script. It involves Combo boxes Its not real code so i am not concerned I am going through my Images and popping up a combo box asking if an image is on the screen if exists fails ( indicating I need to replace it ) Simple answer Yes / No if answer is yes print image name so I can get a list of what to deal with So it loops through Opens Combo on screen I click the Yes or No then it should close the combo It doesn't always close the combo - leaves an inactive combo on screen cannot do anything with them they appear dead - so I have been dragging the dead combo of to the side to carry on No chance of getting a small bit of code to do this. On Sun, Dec 29, 2019 at 3:35 PM RaiMan wrote: > I cannot find the mentioned image Ruler.png as attachement in this mail. > > apparently, the image is larger than the restricted area. > Did you capture it with the Mac tools? > > If yes: you have to use SikuliX’s resize feature for Retina images (I am > sure I mentioned that already before) > > Raimund aka RaiMan > > BTW: you should really start to use the ImagePath feature instead of using > absolute image filenames. > > > On 29. Dec 2019, at 15:03, Jeff_Vallis wrote: > > > > image > > > > > > > > in the IDE > > v_Image = > "/Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Data/Images_Mac/Ruler.png" > # Location of the above ruler > > > > setRect(733,836,39,47) > > highlight(1) > > if exists(v_Image): > >print "^ " * 40 > >print "Found" > > print "Done" > > exit(0) > > > > result > > > > > > [log] highlight R[733,836 39x47]@S(0) for 1.0 secs > > [error] script [ sikulitemp-6882804543996897290 ] stopped with error in > line 4 > > [error] Error caused by: Traceback (most recent call last): > > File > "/var/folders/8k/9ksc02xj1kq3jm3xs_wx2tz8gn/T/Sikulix_408720900/SikulixIDETempTab1577627846866/sikulitemp-6882804543996897290.py", > line 4, in > >if exists(v_Image): > > … more] > > > org.opencv.core.CvException: CvException [org.opencv.core.CvException: > cv::Exception: OpenCV(3.4.2) > /Users/raimundhocke/SikuliX/OpenCV/opencv-3.4.2/modules/imgproc/src/templmatch.cpp:1107: > error: (-215:Assertion failed) _img.size().height <= _templ.size().height > && _img.size().width <= _templ.size().width in function 'matchTemplate' > > ] > > > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1857799 > > Title: > Image Size > > Status in Sikuli: > New > > Bug description: > 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 > > setRect Smaller than size of image in exists > e.g. > highlight R[733,836 39x47]@S(0) for 1.0 secs > image size is over 50x50 - bigger than the 39x47 above > > at java.base/java.lang.reflect.Method.invoke(Method.java:567) > org.opencv.core.CvException: CvException [org.opencv.core.CvException: > cv::Exception: OpenCV(3.4.2) > /Users/raimundhocke/SikuliX/OpenCV/opencv-3.4.2/modules/imgproc/src/templmatch.cpp:1107: > error: (-215:Assertion failed) _img.size().height <= _templ.size().height > && _img.size().width <= _templ.size().width in function 'matchTemplate' > ] > > To manage notifications about this bug go to: > https://bugs.launchpad.ne
Re: [Sikuli-driver] [Bug 1857799] Image Size
image in the IDE v_Image = "/Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Data/Images_Mac/Ruler.png" # Location of the above ruler setRect(733,836,39,47) highlight(1) if exists(v_Image): print "^ " * 40 print "Found" print "Done" exit(0) result [log] highlight R[733,836 39x47]@S(0) for 1.0 secs [error] script [ sikulitemp-6882804543996897290 ] stopped with error in line 4 [error] Error caused by: Traceback (most recent call last): File "/var/folders/8k/9ksc02xj1kq3jm3xs_wx2tz8gn/T/Sikulix_408720900/SikulixIDETempTab1577627846866/sikulitemp-6882804543996897290.py", line 4, in if exists(v_Image): ] at org.opencv.imgproc.Imgproc.matchTemplate_1(Native Method) at org.opencv.imgproc.Imgproc.matchTemplate(Imgproc.java:2616) at org.sikuli.script.Finder$Finder2.doFindMatch(Finder.java:898) at org.sikuli.script.Finder$Finder2.doFind(Finder.java:868) at org.sikuli.script.Finder$Finder2.find(Finder.java:617) at org.sikuli.script.Finder.find(Finder.java:280) at org.sikuli.script.Region.runFinder(Region.java:2905) at org.sikuli.script.Region.doFind(Region.java:2841) at org.sikuli.script.Region.access$300(Region.java:23) at org.sikuli.script.Region$RepeatableFind.run(Region.java:3122) at org.sikuli.script.Region$Repeatable.repeat(Region.java:3073) at org.sikuli.script.Region.exists( Region.java:2385) at org.sikuli.script.Region.exists(Region.java:2409) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) org.opencv.core.CvException: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.2) /Users/raimundhocke/SikuliX/OpenCV/opencv-3.4.2/modules/imgproc/src/templmatch.cpp:1107: error: (-215:Assertion failed) _img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width in function 'matchTemplate' ] I cannot reproduce in my existing code now that I have changed to setRect to region of main screen Regards Jeff > On 29 Dec 2019, at 08:58:40, RaiMan wrote: > > I need a code snippet and the image used. > > You could add a zip file here. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1857799 > > Title: > Image Size > > Status in Sikuli: > New > > Bug description: > 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 > > setRect Smaller than size of image in exists > e.g. >highlight R[733,836 39x47]@S(0) for 1.0 secs >image size is over 50x50 - bigger than the 39x47 above > > at java.base/java.lang.reflect.Method.invoke(Method.java:567) > org.opencv.core.CvException: CvException [org.opencv.core.CvException: > cv::Exception: OpenCV(3.4.2) > /Users/raimundhocke/SikuliX/OpenCV/opencv-3.4.2/modules/imgproc/src/templmatch.cpp:1107: > error: (-215:Assertion failed) _img.size().height <= _templ.size().height && > _img.size().width <= _templ.size().width in function 'matchTemplate' > ] > > To manage notifications about this bug go to: > https://bugs.launchpad.net/sikuli/+bug/1857799/+subscriptions ** Attachment added: "Ruler.png" https://bugs.launchpad.net/bugs/1857799/+attachment/5316232/+files/Ruler.png -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1857799 Title: Image Size Status in Sikuli: New Bug description: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 setRect Smaller than size of image in exists e.g. highlight R[733,836 39x47]@S(0) for 1.0 secs image size is over 50x50 - bigger than the 39x47 above at java.base/java.lang.reflect.Method.invoke(Method.java:567) org.opencv.core.CvException: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.2) /Users/raimundhocke/SikuliX/OpenCV/opencv-3.4.2/modules/imgproc/src/templmatch.cpp:1107: error: (-215:Assertion failed) _img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width in function 'matchTemplate' ] To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1857799/+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 1857799] [NEW] Image Size
Public bug reported: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 setRect Smaller than size of image in exists e.g. highlight R[733,836 39x47]@S(0) for 1.0 secs image size is over 50x50 - bigger than the 39x47 above at java.base/java.lang.reflect.Method.invoke(Method.java:567) org.opencv.core.CvException: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.2) /Users/raimundhocke/SikuliX/OpenCV/opencv-3.4.2/modules/imgproc/src/templmatch.cpp:1107: error: (-215:Assertion failed) _img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width in function 'matchTemplate' ] ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1857799 Title: Image Size Status in Sikuli: New Bug description: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 setRect Smaller than size of image in exists e.g. highlight R[733,836 39x47]@S(0) for 1.0 secs image size is over 50x50 - bigger than the 39x47 above at java.base/java.lang.reflect.Method.invoke(Method.java:567) org.opencv.core.CvException: CvException [org.opencv.core.CvException: cv::Exception: OpenCV(3.4.2) /Users/raimundhocke/SikuliX/OpenCV/opencv-3.4.2/modules/imgproc/src/templmatch.cpp:1107: error: (-215:Assertion failed) _img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width in function 'matchTemplate' ] To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1857799/+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 #687520]: Exists
Question #687520 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687520 Status: Answered => Open Jeff_Vallis is still having a problem: Both Once in finder Then terminal cp On Thu, 26 Dec 2019 at 10:47, RaiMan wrote: > Your question #687520 on Sikuli changed: > https://answers.launchpad.net/sikuli/+question/687520 > > RaiMan requested more information: > surely not solved. > > How do you do the copy ? > > -- > To answer this request for more information, you can either reply to > this email or enter your reply at the following page: > https://answers.launchpad.net/sikuli/+question/687520 > > You received this question notification because you asked the question. > -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 1857600] Re: Orphan Delimiter
[error] EditorPane: DeleteImagesOnSave: No images deleted, caused by orphan string delimiter (" or ') in line 3760 [error] EditorPane: cleanBundle aborted (uncomplete_string_error) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1857600 Title: Orphan Delimiter Status in Sikuli: New Bug description: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 Orphan string delimiter )" or ') in line 3760 this was on saving a script in the IDE my script file has 3318 lines so I have a problem finding there error line To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1857600/+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 1857600] [NEW] Orphan Delimiter
Public bug reported: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 Orphan string delimiter )" or ') in line 3760 this was on saving a script in the IDE my script file has 3318 lines so I have a problem finding there error line ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1857600 Title: Orphan Delimiter Status in Sikuli: New Bug description: 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 Orphan string delimiter )" or ') in line 3760 this was on saving a script in the IDE my script file has 3318 lines so I have a problem finding there error line To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1857600/+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 #687424]: [2.0.x] Mac: screen captures with Retina resolution --- not possible currently
Question #687424 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687424 Jeff_Vallis posted a new comment: 1.I am on a Retina Display 2.Image Captured by Sikuli - is OK 3.copy of Image Captured by Sikuli - is not OK sounds like its not just the IMac Capture Tool - Copy changes image as well if you agree please mark solved -- 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 #687520]: Exists
Question #687520 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687520 Jeff_Vallis gave more information on the question: More info: There is something going on that I cant work out and I dont think that it is Sikuli IDE v_Image = IDE Screen Shot Finder Show Package Contents copy the image paste to my saved images v_Image2 = the above saved image location exists(v_Image) - OK exists(v_Image2) - fails used find(v_Image) to get coords x,y,h,w and used img = capture(some_region) to get and save an image to my saved image location v_image3 = the above capture exists(v_Image3) - works ok so in terminal copied v_Image3 to v_Image2 exists(v_Image2) - still fails so it appears that the Imac is some how preventing to image from matching or Imac Copy is doing something to the Image. Any help would be useful otherwise if you think that its not a Sikuli problem Just Close this Question -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #687520]: Exists
New question #687520 on Sikuli: https://answers.launchpad.net/sikuli/+question/687520 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 having trouble with exists not finding external image with absolute path So I thought that there must be something wrong with the image did exists using a screen shot in the ide and exists worked ok in finder - show package contents - copied image - saved image to my image directory - /Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Data/Images_Mac/Ruler.png added another exists with the path above of the copied image - not working Code: if 1 == 1: setRect(8,102,1400,915) v_Image = "/Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Data/Images_Mac/Ruler.png" print "^ " * 40 print exists(v_Image) v_Image = "1577259194316.png" # this is the embedded image print exists(v_Image) print "= " * 40 exit(0) output :- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ None M[1350,551 55x39]@S(0) S:0.77 C:1377,570 [188 msec] = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -- 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 #687406]: Error Image Path
Question #687406 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687406 Jeff_Vallis gave more information on the question: to Clarify This is a Bug in the IDE work around # do not have a string that contains ".png" v_dot = "." ; v_png = "png" v_Sikuli_Image = "/home/jeff/SikuliScripts_Linux/Subs/Images/Sikuli"+v_dot+v_png This is my Guess When Loading a script in the IDE - the IDE "APPEARS" to looks up all items that end with ".png" and if not found then reports them as a an Error (see below) It cannot evaluate when loading what it is reading, it can only do this at Runtime The Items that I have reported as Errors are Either on an If Test that do not execute at Runtime or are not the full path of the image as it is preceded by a string that is not available until Runtime. These errors do not effect Runtime and removal of these from the IDE output is only a NICE TO HAVE I am reporting my Opinions on the new version 2 releases If my Opinion is just a distraction then please advise e.g. Another Item I have encountered and re-coded is wheel(Location(865, 568), WHEEL_DOWN, 25) and wheel(Location(865, 568), WHEEL_UP, 25) seemed to be reversed between Linux and Imac [error] ImagePath: find: not there: Date_Time.png [error] ImagePath: find: not there: Summary_Quan.png [error] ImagePath: find: not there: _Quan.png [error] ImagePath: find: not there: Date_Time.png [error] ImagePath: find: not there: Consumption_Exceeds.png [error] ImagePath: find: not there: Summary_Desc.png [error] ImagePath: find: not there: Summary_Quan.png [error] ImagePath: find: not there: Summary_Result.png plus many more -- 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 #687406]: Error Image Path
Question #687406 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687406 Status: Answered => Open Jeff_Vallis is still having a problem: No it’s not when running it’s when you first load the script in the IDE On Sat, Dec 21, 2019 at 6:42 PM RaiMan wrote: > Your question #687406 on Sikuli changed: > https://answers.launchpad.net/sikuli/+question/687406 > > Status: Open => Answered > > RaiMan proposed the following answer: > If I understand right: > The problem comes up, when running on Mac and > if g_Running_Version == "Mac" > > does not end up as True. > So you get your Linux image file names. > > So you have to find out, why > g_Running_Version > does not contain "Mac" at this place. > > or use > Settings.isMac() > to decide, wether you are on macOS. > > -- > If this answers your question, please go to the following page to let us > know that it is solved: > https://answers.launchpad.net/sikuli/+question/687406/+confirm?answer_id=2 > > If you still need help, you can reply to this email or go to the > following page to enter your feedback: > https://answers.launchpad.net/sikuli/+question/687406 > > You received this question notification because you asked the 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 #687406]: Error Image Path
Question #687406 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687406 Status: Needs information => Open Jeff_Vallis gave more information on the question: Home_Directory = os.environ['HOME'] print "Home_Directory",Home_Directory if Home_Directory == "/Users/Jeff": g_Running_Version = "Mac" Sent from my iPad > On Dec 21, 2019, at 10:03 AM, RaiMan > wrote: > > Your question #687406 on Sikuli changed: > https://answers.launchpad.net/sikuli/+question/687406 > >Status: Open => Needs information > > RaiMan requested more information: > How do you set a value for g_Running_Version? > > -- > To answer this request for more information, you can either reply to > this email or enter your reply at the following page: > https://answers.launchpad.net/sikuli/+question/687406 > > You received this question notification because you asked the question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #687406]: Error Image Path
New question #687406 on Sikuli: https://answers.launchpad.net/sikuli/+question/687406 2.0.1-2019-11-22_16:54/Mac10.15.2/Java13(64)13.0.1+9 When I open a script in the IDE I get many Errors regarding ImagePath e.g. [error] ImagePath: find: File does not exist: /home/jeff/SikuliScripts_Linux/Code/Data/Images/Ruler.png [error] ImagePath: find: File does not exist: /home/jeff/SikuliScripts_Linux/Subs/Images/Sikuli.png There is maybe 40 of these errors listed all to do with where the Images are stored on different machines Why do I get these The Code that is causing this is :- if g_Running_Version == "Mac": v_Image = "/Users/Jeff/Documents/Sikuli_Live/SikuliScripts/Vikings/Code/Data/Images_Mac/Ruler.png" g_This_Ruler = Pattern(v_Image).similar(.9) else: g_This_Ruler = "/home/jeff/SikuliScripts_Linux/Code/Data/Images/Ruler.png" The IDE does not know that g_Running_Version = "Mac" on this machine and will not process this line -- 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 #687335]: Sikuli 2 Run Script from Command Line
Question #687335 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/687335 Status: Answered => Open Jeff_Vallis is still having a problem: Tried to Understand the above link Could be much simpler for us simpletons and failed I am trying to replace version 1.1.3 of command /home/jeff/Sikuli/runsikulix -r /My_Location/My_Script.sikuli > My_Results.txt e.g. with the command to run version 2 with the same results where the standard output goes to My_Results.txt can you point me in the right direction please -- 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 #687335]: Sikuli 2 Run Script from Command Line
New question #687335 on Sikuli: https://answers.launchpad.net/sikuli/+question/687335 The first Answered Question I look at links to : http://sikuli.org/docx/faq/command-line.html Page does not Load 2.0.1-2019-11-22_16:54/Mac10.15.2/Java8(64)1.8.0_231-b11 New Imac so decided to move from 1.1.4 to your version 2 Have downloaded the Ide which runs but have not tested yet but How do I run a script from the command line. (I know that my scripts have more output than the IDE on 1.1.3 could handle so need to run from terminal) Regards Jeff -- 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 1833356] Re: [1.1.3] findAll fails but image exists
perhaps you are not running in exactly the same environment as me or different version of sikuli 1.1.3(2018-07-05_16:27)/Mac10.13.6/Java8(64)1.8.0_25-b17 I can produce this bug on this machine and also on my Linux Laptop and because the image on the laptop is different icrashes at a different degree of matching but I always get in output Image exists @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ sikuli bug image exists but findAll Fails @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ Exists sikuli bug findAll failed -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: [1.1.3] findAll fails but image exists Status in Sikuli: Invalid Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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 1833356] Re: [1.1.3] findAll fails but image exists
Now on holiday for 2 weeks -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: [1.1.3] findAll fails but image exists Status in Sikuli: Invalid Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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 1833356] Re: [1.1.3] findAll fails but image exists
Disagree Bug Exists 1.1.3(2018-07-05_16:27)/Mac10.13.6/Java8(64)1.8.0_25-b17 workaround code def Test_findAll(v_Image): v_Array = [] ; v_Result = 0 if exists(v_Image,0.2): print "Image exists" else: print "Not Found" return v_Result,v_Array try: v = findAll(v_Image) v_Array = list(v) v_Result = 1 print "findAll successful" print len(v_Array),"Items" except: v_Array = [] if str(sys.exc_info()[0]).find("FindFailed",0)>0: print "@ " * 40 print "sikuli bug image exists but findAll Fails" print "@ " * 40 v_Result = 2 else: print "$ " * 40 print("Oops! unknown error",sys.exc_info()[0],"occured.") print "$ " * 40 v_Result = 3 finally: return v_Result,v_Array def Find_All(v_Image): v_Result,v_Array = Test_findAll(v_Image) #print "v_Result,v_Array",v_Result,len(v_Array) if v_Result == 0: print "Not Exists" if v_Result == 1: print "Exists and finAll successful" exit(0) if v_Result == 2: print "Exists sikuli bug findAll failed" if v_Result == 3: print "findAll Other Error force Crash" print "findAll Other Error force Crash", 1/0 #print "Next but exit" ; exit(0) #v_Image_p = "Close X big Region.png" v_Image_p = "Close X big Region.png" sx = 16 ; sy = 292 ; sw = 1076 ; sh = 443 setRect(sx,sy,sw,sh) g_Find_Matching = 0.75 for i in range(20): print "^ " * 40 ,"Try with matching", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All(v_Image) g_Find_Matching = g_Find_Matching - 0.01 output ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try with matching 0.75 Not Found Not Exists ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try with matching 0.74 Not Found Not Exists ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try with matching 0.73 Not Found Not Exists ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try with matching 0.72 Not Found Not Exists ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try with matching 0.71 Not Found Not Exists ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try with matching 0.7 Image exists @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ sikuli bug image exists but findAll Fails @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ Exists sikuli bug findAll failed ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try with matching 0.69 Image exists @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ sikuli bug image exists but findAll Fails @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ Exists sikuli bug findAll failed ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try with matching 0.68 Image exists @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ sikuli bug image exists but findAll Fails @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ @ Exists sikuli bug findAll failed ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try with matching 0.67 Image exists findAll successful 1 Items Exists and finAll successful [info] Exit code: 0 ** Attachment added: "Screen" https://bugs.launchpad.net/sikuli/+bug/1833356/+attachment/5276040/+files/Ghost_Invader.png -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: [1.1.3] findAll fails but image exists Status in Sikuli: Invalid Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to :
[Sikuli-driver] [Bug 1833356] Re: [1.1.3] findAll fails but image exists
and the image ** Attachment added: "Close X big Region.png" https://bugs.launchpad.net/sikuli/+bug/1833356/+attachment/5276041/+files/Close%20X%20big%20Region.png -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: [1.1.3] findAll fails but image exists Status in Sikuli: Invalid Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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] [Bug 1833356] Re: [1.1.3] findAll fails but image exists
The screen. This could contain a close button or many close buttons if a pop up window called another pop up window hence the code if exists find them all and keep closing till the pop ups are gone or in the actual code it has tried 20 times to prevent an infinite loop. The problem. Exists finds a match. The match it finds is on the screen it’s not a close button it’s a % which in pixels must be very similar. You can see from the test code that I wrote that I found what it was matching by using find which also found the match and positioning the cursor at that position. After which I did a pop up to see the match and then it did the findall which crashes On Wed, Jun 19, 2019 at 9:01 AM RaiMan wrote: > the screen shot does not contain any close button. > > ** Summary changed: > > - findAll Fails > + [1.1.3] findAll fails but image exists > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1833356 > > Title: > [1.1.3] findAll fails but image exists > > Status in Sikuli: > New > > Bug description: > Code > def Find_All_Close_X(v_Image): > if exists(v_Image,0.2): > v_Pos = find(v_Image) > print "v_Pos",v_Pos > hover(Location(v_Pos.x,v_Pos.y)) > print "hovering",v_Pos.x,v_Pos.y > popup("Found and hovering") > v_Result = findAll(v_Image) > else: > print "Not Found" > v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big > Region.png" > sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 > setRect(sx,sy,sw,sh) > g_Find_Matching = 0.85 > for i in range(20): > print "^ " * 40 ,"Try", g_Find_Matching > v_Image = Pattern(v_Image_p).similar(g_Find_Matching) > > Find_All_Close_X(v_Image) > g_Find_Matching = g_Find_Matching - 0.01 > > To manage notifications about this bug go to: > https://bugs.launchpad.net/sikuli/+bug/1833356/+subscriptions > -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: [1.1.3] findAll fails but image exists Status in Sikuli: Opinion Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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 1833356] Re: [1.1.3] findAll fails but image exists
Mail sent -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: [1.1.3] findAll fails but image exists Status in Sikuli: Opinion Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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 1833356] Re: [1.1.3] findAll fails but image exists
Any update on this. My work around at present is very slow and doesn't always succeed Work around if Exists with no matching findAll with no matching setRect for each foundAll see if exists with matching for same image : if so add to an array I think that my work around doesn't always work as my GUESS is that findAll has a limit of 100 items Just out of interest what I am trying to do is find a white number 1 in a green circle with a yellow border. Pity I cant match circles as well as rectangles So my image is just the number 1 on green background there are a lot of white number 1's on the screen and a lot of boxes many of which are rectangles trying to find white number 1 with no matching find both sides of rectaangles as well as number 1 and many times findAll returns 100 matches and none of them is number 1 with matching at 0.90 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: [1.1.3] findAll fails but image exists Status in Sikuli: Opinion Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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 1833356] Re: [1.1.3] findAll fails but image exists
While you at it is there any chance that you can get the logging changed If I Hover - and maybe Drag and Drop I get the following [error] RobotDesktop: checkMousePosition: should be L(1048,274)@S(0)[0,0 1920x1080] but after move is L(1166,681)@S(0)[0,0 1920x1080] Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. It seems like its now aware of the mouse movement Its just annoying and not a big thing (Its been going from when I first started using Sikuli) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: [1.1.3] findAll fails but image exists Status in Sikuli: Opinion Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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 1833356] Re: [1.1.3] findAll fails but image exists
Thanx Perhaps I should have said that the image should not match but on exist and find it matches the % image on the screen at 0.81 which is something I can deal with. What I need and I imagine all users need is for matching to be consistant on exist find and findAll and if exists or find gets a match then findAll has the same result. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: [1.1.3] findAll fails but image exists Status in Sikuli: Opinion Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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 1833356] Re: findAll Fails
Image ** Attachment added: "Close X big Region.png" https://bugs.launchpad.net/sikuli/+bug/1833356/+attachment/5271516/+files/Close%20X%20big%20Region.png -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: findAll Fails Status in Sikuli: New Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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 1833356] Re: findAll Fails
Have been fighting this for ages findAll fails at similiar 0.80 I added this bit of code to try to debug ## v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") ### my results :- ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try 0.85 Not Found ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try 0.84 Not Found ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try 0.83 Not Found ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try 0.82 Not Found ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ ^ Try 0.81 v_Pos M[457,191 8x11]@S(S(0)[0,0 1366x768]) S:0.82 C:461,196 [80 msec] hovering 457 191 [error] script [ FindFailed ] stopped with error in line 19 [error] FindFailed ( /home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png: (8x11) seen at (457, 191) with 0.82 in S(0)[0,0 1366x768] E:Y, T:3.0 ) [error] --- Traceback --- error source first line: module ( function ) statement 8: main ( Find_All_Close_X ) v_Result = findAll(v_Image) [error] --- Traceback --- end -- 1.1.3(2018-06-07_14:48)/Linux4.15.0-48-generic/Java8(64)1.8.0_201-b09 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: findAll Fails Status in Sikuli: New Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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 1833356] [NEW] findAll Fails
Public bug reported: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 ** Affects: sikuli Importance: Undecided Status: New ** Attachment added: "This is the Screen" https://bugs.launchpad.net/bugs/1833356/+attachment/5271512/+files/Nanny_Post_Farming_Incomplete.png -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1833356 Title: findAll Fails Status in Sikuli: New Bug description: Code def Find_All_Close_X(v_Image): if exists(v_Image,0.2): v_Pos = find(v_Image) print "v_Pos",v_Pos hover(Location(v_Pos.x,v_Pos.y)) print "hovering",v_Pos.x,v_Pos.y popup("Found and hovering") v_Result = findAll(v_Image) else: print "Not Found" v_Image_p = "/home/jeff/SikuliScripts_Linux/Subs/Vikings/Close X big Region.png" sx = 422 ; sy = 132 ; sw = 505 ; sh = 270 setRect(sx,sy,sw,sh) g_Find_Matching = 0.85 for i in range(20): print "^ " * 40 ,"Try", g_Find_Matching v_Image = Pattern(v_Image_p).similar(g_Find_Matching) Find_All_Close_X(v_Image) g_Find_Matching = g_Find_Matching - 0.01 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1833356/+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 #680730]: Upgrade to 1.1.4
Question #680730 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/680730 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Thanx Reply BTW: you should upgrade to the latest Java 8 Comment Currently running 1.1.3(2018-07-05_16:27)/Mac10.13.6/Java8(64)1.8.0_25-b17 Presumed (wrongly I guess) that I needed to Upgrade to 1.1.4 to keep uptodate Thanx for your response -- 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 #680730]: Upgrade to 1.1.4
New question #680730 on Sikuli: https://answers.launchpad.net/sikuli/+question/680730 1.1.3(2018-07-05_16:27)/Mac10.13.6/Java8(64)1.8.0_25-b17 Before Downloading 1.1.4 Can I use it in parallel with my current 1.1.3 Installation Where does it install itself and what is it named My Application folder already contains Folder Sikuli File SikuliX_1_1_3.app Is any changes required to Scripts written in 1.1.3 Is there changes to running from the command line e.g /Applications/Sikuli/runsikulix -r /$My_Location/Code/Vikings_Main_Post.sikuli How dp you run the IDE Thanx in advance -- 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 1817853] Re: [1.1.3] findAll Fail
Solved In between hover and findAll I had a popup box with a message of what value the similar test "x1" was using when I added a 5 second wait after the popup the findAll worked ok Must be something to do with the script running faster than the refresh as the popup was hiding the rectangle that I was testing Removal of the popup - findAll works ok -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1817853 Title: [1.1.3] findAll Fail Status in Sikuli: Opinion Bug description: 1.1.3(2018-06-07_14:48)/Linux4.15.0-36-generic/Java8(64)1.8.0_191-b12 v_Image2 = Pattern(v_Image).similar(x1) if exists(v_Image2,0.2) and v_test == 0: v_Pos = find(v_Image2) hover(Location(v_Pos.x,v_Pos.y)) v_Result = list(findAll(v_Image2)) I added the find and hover to see if the find work - it did the error was on the findAll I have an image and I am looping on x1 to check what similiarity matches and how many many matches = len(v_Result) [error] FindFailed ( /home/jeff/SikuliScripts_Linux/Subs/Vikings_Troops/Quantity Box.png: (4x11) seen at (221, 272) with 0.77 in S(0)[0,0 1366x768] E:Y, T:3.0 ) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1817853/+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 1817853] [NEW] findAll Fail
Public bug reported: 1.1.3(2018-06-07_14:48)/Linux4.15.0-36-generic/Java8(64)1.8.0_191-b12 v_Image2 = Pattern(v_Image).similar(x1) if exists(v_Image2,0.2) and v_test == 0: v_Pos = find(v_Image2) hover(Location(v_Pos.x,v_Pos.y)) v_Result = list(findAll(v_Image2)) I added the find and hover to see if the find work - it did the error was on the findAll I have an image and I am looping on x1 to check what similiarity matches and how many many matches = len(v_Result) [error] FindFailed ( /home/jeff/SikuliScripts_Linux/Subs/Vikings_Troops/Quantity Box.png: (4x11) seen at (221, 272) with 0.77 in S(0)[0,0 1366x768] E:Y, T:3.0 ) ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1817853 Title: findAll Fail Status in Sikuli: New Bug description: 1.1.3(2018-06-07_14:48)/Linux4.15.0-36-generic/Java8(64)1.8.0_191-b12 v_Image2 = Pattern(v_Image).similar(x1) if exists(v_Image2,0.2) and v_test == 0: v_Pos = find(v_Image2) hover(Location(v_Pos.x,v_Pos.y)) v_Result = list(findAll(v_Image2)) I added the find and hover to see if the find work - it did the error was on the findAll I have an image and I am looping on x1 to check what similiarity matches and how many many matches = len(v_Result) [error] FindFailed ( /home/jeff/SikuliScripts_Linux/Subs/Vikings_Troops/Quantity Box.png: (4x11) seen at (221, 272) with 0.77 in S(0)[0,0 1366x768] E:Y, T:3.0 ) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1817853/+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 1631720] Re: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10
for example my Sikuli is installed in Applications and my Script is in a desktop folder /Users/Jeff/Desktop/SikuliScripts/Vikings/Code from Command Line enter (This comment box makes below look like 2 lines - it is one line continuous) /Applications/Sikuli/runsikulix -r /Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1631720 Title: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10 Status in Sikuli: Fix Committed Bug description: * RaiMan tested and confirmed after about 40 seconds runtime, the type command pauses about 10 seconds at key release for each following single character/key. This is the same problem as we had with click actions with OSX 10.10. It was caused by some strange behavior of the Java Robot deep inside. At this time, type() was not yet affected. But now it seems to be. this is my test script, that recovers from the situation with an intermediate highlight. # TextEdit must be running with an open text window switchApp("textedit") x = "asdfghjklyxcvbnmqwertzuiop" type("a", Key.CMD) type(Key.BACKSPACE) wait(1) start = time.time() for i in range(50): type(str(int(time.time() - start)) + " ") for c in x: lap = time.time() type(c) if time.time()-lap > 1: getCenter().grow(50).highlight(2) type("\n") After detecting the extended delay, the problem is fixed by the highlight. -- After Upgrade to Sierra the Type Command seems very Slow Is anyone else finding this or is it just my old Mac struggling To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1631720/+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 #678079]: Store Image in Memory
Question #678079 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/678079 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Thanks masuo, that solved my question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #678079]: Store Image in Memory
New question #678079 on Sikuli: https://answers.launchpad.net/sikuli/+question/678079 I have been storing an area of screen as an image (imageA.pnd) and then checking its position - first to see if clicking scroll bar has moved the item and where is its new position. I then take the image again still using (imageA.pnd) The second time I do this I believe that it is using the first image and not the second image. e.g. if exists(imageA.pnd) ) and find(imageA.pnd) This could be the result of the speed that my old machine is running at or maybe once it has read an image it caches it and doesnt Is there a way that I can store an image in memory and use it in exist and find if I didn't need the new position I could use a Region Change test -- 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 1631720] Re: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10
If you are running from the IDE then yes I have the same problem Run your Script from the Command Line -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1631720 Title: [1.1.1] macOS Sierra 10.12: type() gets very slow after about 40 sec runtime - fixed 2016-10-10 Status in Sikuli: Fix Committed Bug description: * RaiMan tested and confirmed after about 40 seconds runtime, the type command pauses about 10 seconds at key release for each following single character/key. This is the same problem as we had with click actions with OSX 10.10. It was caused by some strange behavior of the Java Robot deep inside. At this time, type() was not yet affected. But now it seems to be. this is my test script, that recovers from the situation with an intermediate highlight. # TextEdit must be running with an open text window switchApp("textedit") x = "asdfghjklyxcvbnmqwertzuiop" type("a", Key.CMD) type(Key.BACKSPACE) wait(1) start = time.time() for i in range(50): type(str(int(time.time() - start)) + " ") for c in x: lap = time.time() type(c) if time.time()-lap > 1: getCenter().grow(50).highlight(2) type("\n") After detecting the extended delay, the problem is fixed by the highlight. -- After Upgrade to Sierra the Type Command seems very Slow Is anyone else finding this or is it just my old Mac struggling To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1631720/+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 1793066] Re: ImageMissing
Did the same a second time today Loaded Script > Save as etc and worked ok Please Close -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1793066 Title: ImageMissing Status in Sikuli: New Bug description: 1.1.3(2018-07-05_16:27)/Mac10.13.6/Java8(64)1.8.0_25-b17 [error] RunTimeIDE: ImageMissing: 1487926029591-1.png [error] script [ Sub_Login ] stopped with error in line 1106 [error] java.lang.ThreadDeath ( java.lang.ThreadDeath ) [error] --- Traceback --- error source first line: module ( function ) statement 570: main ( Sub_Close_Tynon_Browser ) File "/Users/Jeff/Desktop/SikuliScripts/Sub_Login.sikuli/Sub_Login.py", line 71, in Close_Tab [error] --- Traceback --- end -- Image not missing I can see it in the IDE - I can change the Matching on it Reason for it being named 1487926029591-1.png long reason in the IDE saved the script in the parent directory of the original script at this stage is was called 1487926029591.png in both versions ran script got same error as above with [error] RunTimeIDE: ImageMissing: 1487926029591.png In the IDE created a new file changed existing if exists to a remark by inserting # in front copied the if exists("1487926029591.png"): print "" into new file : saved file : ran ok copied from the new file back to the main file it renamed itself to main file as if exists("1487926029591-1.png"): click(getLastMatch()) as expected so now I have 2 lines first with remark and second with if statement both showing the image in finder - show package contents of main script includes 1487926029591-1.png today at 06:50:05 685 bytes PNG image 1487926029591.png yesterday at 07:12:33 685 bytes PNG image ( this date time shows on all the other images and is the time I did the save as ) so execute from terminal running SikuliX: /Applications/Sikuli/SikuliX.app/Contents/Java/sikulix.jar -r /Users/Jeff/Desktop/SikuliScripts/Sub_Login.sikuli.sikuli [error] FileManager: Not a valid Sikuli script project: To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1793066/+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 1793066] [NEW] ImageMissing
Public bug reported: 1.1.3(2018-07-05_16:27)/Mac10.13.6/Java8(64)1.8.0_25-b17 [error] RunTimeIDE: ImageMissing: 1487926029591-1.png [error] script [ Sub_Login ] stopped with error in line 1106 [error] java.lang.ThreadDeath ( java.lang.ThreadDeath ) [error] --- Traceback --- error source first line: module ( function ) statement 570: main ( Sub_Close_Tynon_Browser ) File "/Users/Jeff/Desktop/SikuliScripts/Sub_Login.sikuli/Sub_Login.py", line 71, in Close_Tab [error] --- Traceback --- end -- Image not missing I can see it in the IDE - I can change the Matching on it Reason for it being named 1487926029591-1.png long reason in the IDE saved the script in the parent directory of the original script at this stage is was called 1487926029591.png in both versions ran script got same error as above with [error] RunTimeIDE: ImageMissing: 1487926029591.png In the IDE created a new file changed existing if exists to a remark by inserting # in front copied the if exists("1487926029591.png"): print "" into new file : saved file : ran ok copied from the new file back to the main file it renamed itself to main file as if exists("1487926029591-1.png"): click(getLastMatch()) as expected so now I have 2 lines first with remark and second with if statement both showing the image in finder - show package contents of main script includes 1487926029591-1.png today at 06:50:05 685 bytes PNG image 1487926029591.png yesterday at 07:12:33 685 bytes PNG image ( this date time shows on all the other images and is the time I did the save as ) so execute from terminal running SikuliX: /Applications/Sikuli/SikuliX.app/Contents/Java/sikulix.jar -r /Users/Jeff/Desktop/SikuliScripts/Sub_Login.sikuli.sikuli [error] FileManager: Not a valid Sikuli script project: ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1793066 Title: ImageMissing Status in Sikuli: New Bug description: 1.1.3(2018-07-05_16:27)/Mac10.13.6/Java8(64)1.8.0_25-b17 [error] RunTimeIDE: ImageMissing: 1487926029591-1.png [error] script [ Sub_Login ] stopped with error in line 1106 [error] java.lang.ThreadDeath ( java.lang.ThreadDeath ) [error] --- Traceback --- error source first line: module ( function ) statement 570: main ( Sub_Close_Tynon_Browser ) File "/Users/Jeff/Desktop/SikuliScripts/Sub_Login.sikuli/Sub_Login.py", line 71, in Close_Tab [error] --- Traceback --- end -- Image not missing I can see it in the IDE - I can change the Matching on it Reason for it being named 1487926029591-1.png long reason in the IDE saved the script in the parent directory of the original script at this stage is was called 1487926029591.png in both versions ran script got same error as above with [error] RunTimeIDE: ImageMissing: 1487926029591.png In the IDE created a new file changed existing if exists to a remark by inserting # in front copied the if exists("1487926029591.png"): print "" into new file : saved file : ran ok copied from the new file back to the main file it renamed itself to main file as if exists("1487926029591-1.png"): click(getLastMatch()) as expected so now I have 2 lines first with remark and second with if statement both showing the image in finder - show package contents of main script includes 1487926029591-1.png today at 06:50:05 685 bytes PNG image 1487926029591.png yesterday at 07:12:33 685 bytes PNG image ( this date time shows on all the other images and is the time I did the save as ) so execute from terminal running SikuliX: /Applications/Sikuli/SikuliX.app/Contents/Java/sikulix.jar -r /Users/Jeff/Desktop/SikuliScripts/Sub_Login.sikuli.sikuli [error] FileManager: Not a valid Sikuli script project: To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1793066/+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 1789365] [NEW] openapp Failing New Thread Crashes IDE
Public bug reported: 1.1.3(2018-06-07_14:48)/Linux4.15.0-29-generic/Java8(64)1.8.0_181-b13 # openApp("Google Chrome") sometimes fails # so run command to open in new thread seems to work all the time # Run this in IDE and it Closes the IDE and on Reload this script is not loaded def Thread_Run_Command_Failing(v_Command): # This will be Threaded run(v_Command) def Run_Command_Failing(v_Command): import thread thread.start_new_thread(Thread_Run_Command_Failing, (v_Command, )) cmd = "google-chrome" print "@" * 80 print cmd print "@" * 80 Run_Command_Failing(cmd) print "#" * 80 print "Executes in command line with runsikulix ok" print "#" * 80 # /home/jeff/Sikuli/runsikulix -r /home/jeff/SikuliScripts_Linux/Code/New_Thread.sikuli # Have no idea why openApp("Google Chrome") sometimes fails to load its not timing as I wait upto 120 seconds with an exists check ** Affects: sikuli Importance: Undecided Status: New -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1789365 Title: openapp Failing New Thread Crashes IDE Status in Sikuli: New Bug description: 1.1.3(2018-06-07_14:48)/Linux4.15.0-29-generic/Java8(64)1.8.0_181-b13 # openApp("Google Chrome") sometimes fails # so run command to open in new thread seems to work all the time # Run this in IDE and it Closes the IDE and on Reload this script is not loaded def Thread_Run_Command_Failing(v_Command): # This will be Threaded run(v_Command) def Run_Command_Failing(v_Command): import thread thread.start_new_thread(Thread_Run_Command_Failing, (v_Command, )) cmd = "google-chrome" print "@" * 80 print cmd print "@" * 80 Run_Command_Failing(cmd) print "#" * 80 print "Executes in command line with runsikulix ok" print "#" * 80 # /home/jeff/Sikuli/runsikulix -r /home/jeff/SikuliScripts_Linux/Code/New_Thread.sikuli # Have no idea why openApp("Google Chrome") sometimes fails to load its not timing as I wait upto 120 seconds with an exists check To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1789365/+subscriptions ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #672667]: Exists Multiple Images
New question #672667 on Sikuli: https://answers.launchpad.net/sikuli/+question/672667 What is the fastest way to determine if any one of say 30 images appear in a region. At present I loop through all the images with exists(Image,0.2) Is there a better way. n.b. Random number of images - if it fails to find one then my code takes a snapshot of the image and adds it to the list to find. So code starts off with no images to find and expands with the snapshots. for loop Image = the file name of the snapshot taken if exists(Image,0.2): return image info not found so take a snapshot -- 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 #672459]: Java stack overflow
Question #672459 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672459 Status: Open => Solved Jeff_Vallis confirmed that the question is solved: Its a bug in the game play not Oython or 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 #672459]: Java stack overflow
Question #672459 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672459 Jeff_Vallis gave more information on the question: I have concluded that this must be a bug on the Website and cannot get round it. If no one has any suggestions - please close this quesry -- 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 #672459]: Java stack overflow
Question #672459 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672459 Jeff_Vallis gave more information on the question: Lets restate the Problem Script Login to Game Do Stuff Loop of maybe 20 Do Something Number of Times varies before the Website not the Sikuli Script Reponds with see your browser JavaScript console for more info: The error was: UncaughtRangeError: Maximu call stack size exceeded The Games Support Team replied with - you have to many tabs open on the browser. Which I haven't but can't admit that I am automating it with Sikuli in Sikuli - when the message appears I call Call_Size_Exceeded which calls Print_Trace def Print_Trace: traceback.print_stack() result:- :: traceback.print_stack() :: File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 2199, in Do_I_Run_Auto() ; exit(0) File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 1584, in Do_I_Run_Auto Main_Menu() File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 2085, in Main_Menu Run_Main_Process() File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 2001, in Run_Main_Process Run_Main_Process_Selected(selected) File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 1877, in Run_Main_Process_Selected v_Which_Screen = "Drag Top Left" ; Set_Locations(v_Which_Screen,0) File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 739, in Set_Locations v_Result = Load_Location_Range(v_Which_Screen,"Read") File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 564, in Load_Location_Range v_Result = Load_Location_Single(v_Which_Screen,v_Screen_Item,v_Check_Waterfall,v_Do_What) File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 640, in Load_Location_Single v_Button_Result = Close_X(0.2) File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 161, in Close_X Call_Size_Exceeded() File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 2146, in Call_Size_Exceeded Print_Trace() File "/Users/Jeff/Desktop/SikuliScripts/Vikings/Code/Vikings_Main.sikuli/Vikings_Main.py", line 2172, in Print_Trace traceback.print_stack() :: So the code in Sikuli is not over flowing but is causing the java game to over flow -- 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 #672459]: Java stack overflow
Question #672459 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672459 Jeff_Vallis gave more information on the question: 1.1.3(2018-07-05_16:27)/Mac10.13.6/Java8(64)1.8.0_25-b17 The only thing I can think is that some of the functions return on if statements eg def Call(): do some thing do some thing if some thing: return do some thing do some thing if some thing: return do some thing do some thing if some thing: return do some thing do some thing < no return function just ends > I really need to find out how to print the call stack and see if I can work it out -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #672459]: Java stack overflow
Question #672459 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/672459 Jeff_Vallis gave more information on the question: Yep that is what I thought but its not in a loop Trying to find a way to clear the call stack any ideas -- 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 #672459]: Java stack overflow
New question #672459 on Sikuli: https://answers.launchpad.net/sikuli/+question/672459 Game site. Running normally works fine. Running Sikuli doing the same as above,after a while I get java stack exceeds maximum size see the java console, from the site that I am running not from Sikuli. Thought it could be because the code is split into many modules that are included into main script when run. So to test I recoded all modules it with no sub modules into one script but it has same outcome. ( so now it’s 4,000 lines of code ) Running on IMac Any suggestions on how I can find out what is causing it would be appreciated -- 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 #671488]: Exist - Location
Question #671488 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/671488 Status: Answered => Solved Jeff_Vallis confirmed that the question is solved: Update getLastmatch() needs to be getLastMatch() Thanks for the pointer to it Syntax is To access these attributes use region.getLastMatch() or region.getLastMatches() respectively. but that was easy to find with google -- 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 #671488]: Exist - Location
New question #671488 on Sikuli: https://answers.launchpad.net/sikuli/+question/671488 1.1.3(2018-06-07_14:48)/Linux4.15.0-29-generic/Java8(64)1.8.0_181-b13 My Problem is either a bad Graphics Card or Low Memory A screen display after some tiome will develop vertical lines My Script does if exists(Image): v_Location = find(Image) so that I can obtain the x and y cords of v_Location My Problem is that sometimes the exists finds the image while the find fails with an error including :Last seen at ( and the location of the exists (I think) Can I obtain the coords of the location from the exists by somehow using getLastMatch() I know its not a bug just an old laptop that I am running Linux on - smae code runs fine on my MAC -- 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