[Sikuli-driver] [Question #698118]: my script reacts too slow when detecting the image, how to improve it?
New question #698118 on SikuliX: https://answers.launchpad.net/sikuli/+question/698118 I am making a script that make my character do the fishing automatically fishButton = "fishingrod.png" fishAppear = "exclamationMark.png" getFish = Pattern("pullBackFishRod.png").targetOffset(2,0) # region is the top half screen area where I want to check when the exclamation mark will show up Settings.MoveMouseDelay = 0 # this three lines will click on the fishButton to drop the fish road to the sea if exists(fishButton): for x in range(4): click (fishButton) # after the fish rod drop to the sea, I wait for the fish to get hooked, when the fish get hooked, there will be an exclamation mark show up for less than 1 second. # so I wait for the fishAppear image to show up wait(fishAppear, 2 * 60) if exists(fishAppear): for y in range(4): click(getFish) the problem now is: the getFish button only show up for like 1 second after the fish get hooked. When the script detects fishAppear, then it take some time to click on the getFish button, which the getFish button already disappeared. How can I make the script faster but so it can search the fishAppear image faster? Thanks! -- 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 #698118]: my script reacts too slow when detecting the image, how to improve it?
Question #698118 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698118 Description changed to: I am making a script that make my character do the fishing automatically fishButton = "fishingrod.png" fishAppear = "exclamationMark.png" getFish = Pattern("pullBackFishRod.png").targetOffset(2,0) Settings.MoveMouseDelay = 0 # this three lines will click on the fishButton to drop the fish road to the sea if exists(fishButton): for x in range(4): click (fishButton) # after the fish rod drop to the sea, I wait for the fish to get hooked, when the fish get hooked, there will be an exclamation mark show up for about 1 second. # so I wait for the fishAppear image to show up wait(fishAppear, 2 * 60) if exists(fishAppear): for y in range(4): click(getFish) the problem now is: the getFish button only show up for like 1 second after the fish get hooked. When the script detects fishAppear, then it take some time to click on the getFish button, which the getFish button already disappeared. How can I make the script faster but so it can search the fishAppear image faster? Thanks! -- 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 #174000]: How to restart from the start of the loop if something goes wrong
Question #174000 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174000 Description changed to: I am a complete noob in Sikuli. I am currently using AutoHotKey for repeating macro for a facebook game. It infinitely loops. Sometimes because of loading issues, the page will fail to load, but I include commands at the end to close everything and restart over from scratch so that even if it fails to load, the script will run again in the next run. I find that things are very different in Sikuli. If even ONE of the commands fails to load, the entire loop breaks down. I know that some people uses the find commands to make sure that the essential component loads before proceeding, but I would love to be able to tell it to just restart the entire loop from scratch if something goes wrong. Also, I am finding it really hard to get some of the functions working. In particular, I would like to have the script do key strokes such as "Clt+Shift+M". Another command I am having a lot of difficulties with is the "def" command that I see so much of. I heard that it can be used to break up long scripts into little pieces to make it easier to manage long scripts. Any help in relation to the above would be MUCH appreciated. Thank you in advance. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174000]: How to restart from the start of the loop if something goes wrong
New question #174000 on Sikuli: https://answers.launchpad.net/sikuli/+question/174000 I am a complete noob in Sikuli. I am currently using AutoHotKey for repeating macro for a facebook game. It infinitely loops. Sometimes because of loading issues, the page will fail to load, but I include commands at the end to close everything and restart over from scratch so that even if it fails to load, the script will run again in the next run. I find that things are very different in Sikuli. If even ONE of the commands fails to load, the entire loop breaks down. I know that some people uses the find commands to make sure that the essential component loads before proceeding, but I would love to be able to tell it to just restart the entire loop from scratch if something goes wrong. Also, I am finding it really hard to get some of the functions working. In particular, I would like to have the script do key strokes such as "Clt+Shift+M". Another command I am having a lot of difficulties with is the "def" command that I see so much of. I heard that it can be used to break up long scripts into little pieces to make it easier to manage long scripts. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174000]: How to restart from the start of the loop if something goes wrong
Question #174000 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174000 Status: Answered => Solved Tony confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
New question #174015 on Sikuli: https://answers.launchpad.net/sikuli/+question/174015 I just experienced something strange. I am writing this script for a FB game and it worked perfectly. I moved the folders to my drop box then switched to another computer to work on it and it gave me this error even though the script worked perfectly before in the other computer. What does this error mean. It said there is an error in line 1 but it doesn't have ANYTHING in line 1. [error] Error message: SyntaxError: ("no viable alternative at character '?'", ('', 1, 64, "if len(sys.argv)==0 or 'C:/Documents and Settings/Tony's Backup/??/Test 1.sikuli/' != sys.argv[0]: sys.argv.insert(0, 'C:/Documents and Settings/Tony's Backup/??/Test 1.sikuli/')\n")) Thanks again in advance Tony -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
Question #174015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174015 Description changed to: I just experienced something strange. I am writing this script for a FB game and it worked perfectly. I moved the folders to my drop box then switched to another computer to work on it and it gave me this error even though the script worked perfectly before in the other computer. What does this error mean. It said there is an error in line 1 but it doesn't have ANYTHING in line 1. Ok, another weird thing is that when I log back on to the previous computer it won't work for the old computer as well, but the script works again, when I cut and paste the entire thing into a new script. [error] Error message: SyntaxError: ("no viable alternative at character '?'", ('', 1, 64, "if len(sys.argv)==0 or 'C:/Documents and Settings/Tony's Backup/??/Test 1.sikuli/' != sys.argv[0]: sys.argv.insert(0, 'C:/Documents and Settings/Tony's Backup/??/Test 1.sikuli/')\n")) Thanks again in advance Tony -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
Question #174015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174015 Status: Needs information => Open Tony gave more information on the question: [error] Error message: SyntaxError: ("no viable alternative at character '?'", ('', 1, 64, "if len(sys.argv)==0 or 'C:/Documents and Settings/Tony's Backup/??/Backup.sikuli/' != sys.argv[0]: sys.argv.insert(0, 'C:/Documents and Settings/Tony's Backup/??/Backup.sikuli/')\n")) Tried again by cut and pasting the script, but still won't work. Does the script have to be used on the same computer as it was written? #1st level loop for entire script n for Number of Loops (level 1) for n in range(1): #Starting up Firefox (1001) switchApp("C:\\Program Files\\Mozilla Firefox\\firefox.exe")#start firefox sleep(2) #2nd level loop for number of alts (level 2) for n in range(1): try: #try so that it may fail and move onto to next alt (level 3) #Start galaxyonline and activate FULL screen Loop (level 4) (1002) if exists("Englishso.png",2): click("Englishso.png",2) while True: if exists("Dashboard.png",30): sleep(5) click("Enter Quest Page.png",2) click("1318405695250.png",2) click("1318405774875.png",2) break else: click("Englishso.png") #Warehouse Harvest (level 4)(1003) if exists("I51QW.png",10): click("I51QW.png",2) click("Harvest.png",2) else: pass if exists("1318411049140.png",10): click("1318411049140.png",2) click("Harvest.png",2) else: pass #Hire Commanders Uncommons Only (level 4) (1004) click("Millitary Menu.png",2) click("Commander Menu.png",2) click("1318408178953.png",2) if exists("ll.png",5): click("ll.png",2) else: click("1318409705375.png",2) #CIB Harvest and Resources #Opening Alts (level 4) for n in range(0): type("m", KeyModifier.CTRL+KeyModifier.SHIFT) pass #end of script in case it fails (level 3) except: continue -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
Question #174015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174015 Tony gave more information on the question: Doesn't seem to be a problem with the script. Even if I copy a simple section like the one that opens up Firefox. It still has some weird error to it. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
Question #174015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174015 Description changed to: I just experienced something strange. I am writing this script for a FB game and it worked perfectly. I moved the folders to my drop box then switched to another computer to work on it and it gave me this error even though the script worked perfectly before in the other computer. What does this error mean. It said there is an error in line 1 but it doesn't have ANYTHING in line 1. Ok, another weird thing is that when I log back on to the previous computer it won't work for the old computer as well, but the script works again, when I cut and paste the entire thing into a new script. [error] Error message: SyntaxError: ("no viable alternative at character '?'", ('', 1, 64, "if len(sys.argv)==0 or 'C:/Documents and Settings/Tony's Backup/??/Test 1.sikuli/' != sys.argv[0]: sys.argv.insert(0, 'C:/Documents and Settings/Tony's Backup/??/Test 1.sikuli/')\n")) Doesn't seem to be a problem with the script. Even if I copy a simple section like the one that opens up Firefox. It still has some weird error to it. Thanks again in advance Tony -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
Question #174015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174015 Status: Needs information => Open Tony gave more information on the question: the problem persists even if I copied then entire folder to the desktop and opening the script from there. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
Question #174015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174015 Tony gave more information on the question: this is S strange, I even tried to uninstalled Sikuli and reinstalling it and the SAME result. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
Question #174015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174015 Tony gave more information on the question: it seems that even the writing of new codes isn't working. I am going to try uninstalling the program and then rebooting then installing it again -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
Question #174015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174015 Tony gave more information on the question: I used a uninstaller that scans registry. So I believe that was done as well -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
Question #174015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174015 Tony gave more information on the question: I used a uninstaller that scans registry. So I believe that was done as well -- You received this question notification because you are a member of Sikuli Drivers, which 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 #174015]: [error] Error message: SyntaxError:
Question #174015 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/174015 Status: Open => Solved Tony confirmed that the question is solved: Problem solved The reason why it stopped working was because my window XP is in Chinese. Therefore ANY paths that contains non-ENGLISH characters won't work. It was the same thing with AutoHotKey!! -- You received this question notification because you are a member of Sikuli Drivers, which 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 #183339]: Alternative mouse clicks
New question #183339 on Sikuli: https://answers.launchpad.net/sikuli/+question/183339 I'm trying to use Sikuli to do some mouse clicks in a game, Team Fortress 2. I've discovered that it wont left mouse click within the game, and I'm guessing its because the game uses a different way of determining mouse clicks and as such sikuli wont work. I did however think that I might be able to use Windows's MouseKeys, which uses the plus sign on the numpad as the left mouse button. However: keyDown(Key.ADD) keyUp(Key.ADD) This works in notepad and puts in the enter sign, when I press the key with my finger I get a left mouse click, but sikuli doesn't wont use it as a click. Is what I'm trying possible? Thanks -- You received this question notification because you are a member of Sikuli Drivers, which 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 #183339]: Alternative mouse clicks
Question #183339 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/183339 Description changed to: I'm trying to use Sikuli to do some mouse clicks in a game, Team Fortress 2. I've discovered that it wont left mouse click within the game, and I'm guessing its because the game uses a different way of determining mouse clicks and as such sikuli wont work. I did however think that I might be able to use Windows's MouseKeys, which uses the plus sign on the numpad as the left mouse button. However: keyDown(Key.ADD) keyUp(Key.ADD) This works in notepad and puts in the plus sign, when I press the key with my finger I get a left mouse click, but sikuli doesn't wont use it as a click. Is what I'm trying possible? Thanks -- You received this question notification because you are a member of Sikuli Drivers, which 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 #183339]: Windows: Game: mouse clicks and key press not accepted
Question #183339 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/183339 Status: Answered => Solved Tony confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #183339]: Windows: Game: mouse clicks and key press not accepted
Question #183339 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/183339 Tony posted a new comment: The problem was solved by running Sikuli with admin rights. Thanks very much! Oh while I'm thinking. Is there anyway for Sikuli to read numbers on screen? Thanks again -- You received this question notification because you are a member of Sikuli Drivers, which 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 #673634]: App.open not working in 1.1.4 IDE
New question #673634 on Sikuli: https://answers.launchpad.net/sikuli/+question/673634 I am using Java 8 and SikuliX 1.1.4 IDE. I have a test script that uses App.open to run a Windows batch script that launches a program. If I run the test script from the Windows command line it launches the tool from the batch script, however, if I run the same test script from the IDE, the tool is not launching. This works fine in both the IDE and the command line when using SikuliX 1.1.0 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #673634]: App.open not working in 1.1.4 IDE
Question #673634 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673634 Tony May posted a new comment: Windows 7 -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #673634]: [1.1.4] IDE: App.open("cmd ...") not working (only when run from commandline)
Question #673634 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/673634 Tony May posted a new comment: App.open("C:\\Sikuli\\LaunchViewX.bat") -- 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 #684266]: ALT-TAB through 3 app windows with same name
New question #684266 on Sikuli: https://answers.launchpad.net/sikuli/+question/684266 First: RAINMAN...a hearty THANK YOU for developing this and continuing to support it. Sikuli's an *incredibly* useful tool. Bravo! I'd like to extend a Sikuli program so that it alt-tabs through THREE different app windows, all of which have the same name. I've got ALT-TAB working to make the magic happen with two windows, but am 1) wondering if progress has been made re: making ALT-TAB more robust and/or 2) whether anyone has ideas re: how to make alt-tabbing through 3 windows (with the same name, yes - same app) possible. The order in which each window gets hit isn't important. What is: cycling through all 3 windows. Put more plainly, it's cool if alt-tabbing results in visiting Window1 ==> Window2 ==> Window3 ==> Window2 ==> Window1 ==> [...] Simpler question might be: is there away to make the key combination ALT-TAB-TAB happen? -- 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 #686596]: Is there a timeout value on find()? if not can one be added
New question #686596 on Sikuli: https://answers.launchpad.net/sikuli/+question/686596 Im my testing we have some text that flashes, when trying to match an image to this text it sometimes fails depending on timing. The exists() function has a timeout value that is user specified, is there a such timeout for find()? if not then can one be added to allow the user to specify a timeout for finding an image? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Bug 1854949] [NEW] Seeing [error] RobotDesktop: checkMousePosition
Public bug reported: I am occasionally seeing this error in my script output: [error] RobotDesktop: checkMousePosition: should be L[376,239]@S(0) but after move is L[375,238]@S(0) Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin. I am running the test as admin and not touching the VM that is running the script. ** 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/1854949 Title: Seeing [error] RobotDesktop: checkMousePosition Status in Sikuli: New Bug description: I am occasionally seeing this error in my script output: [error] RobotDesktop: checkMousePosition: should be L[376,239]@S(0) but after move is L[375,238]@S(0) Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin. I am running the test as admin and not touching the VM that is running the script. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1854949/+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 1854946] [NEW] When running a batch script from App.open(), you cannot pass parameters to the batch script
Public bug reported: When doing something like below, it does not work anymore in v2.0.0: App.open( "C:\CopyFile.bat stuff.txt" ) What seems to happen is a Windows file explorer window is opened on the desktop, but the batch script is not run. This used to work in older versions (v1.3) ** 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/1854946 Title: When running a batch script from App.open(), you cannot pass parameters to the batch script Status in Sikuli: New Bug description: When doing something like below, it does not work anymore in v2.0.0: App.open( "C:\CopyFile.bat stuff.txt" ) What seems to happen is a Windows file explorer window is opened on the desktop, but the batch script is not run. This used to work in older versions (v1.3) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1854946/+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 #686596]: Is there a timeout value on find()? if not can one be added
Question #686596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686596 Status: Answered => Open Tony May is still having a problem: Hi RaiMan, I need to use find() so that I can get the screen coordinates of the found image for use in click, etc. -- 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 #686596]: Is there a timeout value on find()? if not can one be added
Question #686596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686596 Tony May posted a new comment: Hi RaiMan, I see from the documentation that wait() returns the image like find() does? therefore I should be able to use wait() to return the found image instead of using find()? -- 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 1854949] Re: [2.0.1] Seeing [error] RobotDesktop: checkMousePosition
Windows 10 (1903) I only started seeing this once I moved to Windows 10 and using Java 10+ -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1854949 Title: [2.0.1] Seeing [error] RobotDesktop: checkMousePosition Status in Sikuli: In Progress Bug description: I am occasionally seeing this error in my script output: [error] RobotDesktop: checkMousePosition: should be L[376,239]@S(0) but after move is L[375,238]@S(0) Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin. I am running the test as admin and not touching the VM that is running the script. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1854949/+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 1854949] Re: [2.0.1] Seeing [error] RobotDesktop: checkMousePosition
using Java 10.0.1, I am running in a VM with 1440 x 900 resolution -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1854949 Title: [2.0.1] Seeing [error] RobotDesktop: checkMousePosition Status in Sikuli: In Progress Bug description: I am occasionally seeing this error in my script output: [error] RobotDesktop: checkMousePosition: should be L[376,239]@S(0) but after move is L[375,238]@S(0) Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin. I am running the test as admin and not touching the VM that is running the script. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1854949/+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 #686596]: Is there a timeout value on find()? if not can one be added
Question #686596 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/686596 Status: Answered => Solved Tony May 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] [Bug 1856039] [NEW] ERROR: ...TEMP...: %1 is not a valid Win32 application
Public bug reported: I am getting the following error when trying to run a simple script: [error] RunTime:Problematic lib: C:\Users\78AutoTest\AppData\Roaming\Sikulix\SikulixLibs\opencv_java342.dll (...TEMP...) [error] RunTime:opencv_java342.dll loaded, but it might be a problem with needed dependent libraries ERROR: ...TEMP...: %1 is not a valid Win32 application [error] script [ Sandbox ] stopped with error in line 5 [error] java.lang.ExceptionInInitializerError ( java.lang.ExceptionInInitializerError ) [error] --- Traceback --- error source first line: module ( function ) statement 4103: Common ( Exists ) if LocalRegionObject.exists( IndividualImage, 0.1 ): 5: main ( ) if Common.Exists( [ "1576070445192.png" ], "", 1 ): [error] --- Traceback --- end -- This is on Windows 10 (1903), Java 10.0.1, Sikuli 2.0.0, but I am also seeing it on Windows Server 2008 R2. ** 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/1856039 Title: ERROR: ...TEMP...: %1 is not a valid Win32 application Status in Sikuli: New Bug description: I am getting the following error when trying to run a simple script: [error] RunTime:Problematic lib: C:\Users\78AutoTest\AppData\Roaming\Sikulix\SikulixLibs\opencv_java342.dll (...TEMP...) [error] RunTime:opencv_java342.dll loaded, but it might be a problem with needed dependent libraries ERROR: ...TEMP...: %1 is not a valid Win32 application [error] script [ Sandbox ] stopped with error in line 5 [error] java.lang.ExceptionInInitializerError ( java.lang.ExceptionInInitializerError ) [error] --- Traceback --- error source first line: module ( function ) statement 4103: Common ( Exists ) if LocalRegionObject.exists( IndividualImage, 0.1 ): 5: main ( ) if Common.Exists( [ "1576070445192.png" ], "", 1 ): [error] --- Traceback --- end -- This is on Windows 10 (1903), Java 10.0.1, Sikuli 2.0.0, but I am also seeing it on Windows Server 2008 R2. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1856039/+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 1856039] Re: ERROR: ...TEMP...: %1 is not a valid Win32 application
I resolved this problem by deleting this folder: C:\Users\TestUser\AppData\Roaming\Sikulix Then copied the sikulix.jar and jython jar over again and reran. ** Changed in: sikuli Status: New => Invalid -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1856039 Title: ERROR: ...TEMP...: %1 is not a valid Win32 application Status in Sikuli: Invalid Bug description: I am getting the following error when trying to run a simple script: [error] RunTime:Problematic lib: C:\Users\78AutoTest\AppData\Roaming\Sikulix\SikulixLibs\opencv_java342.dll (...TEMP...) [error] RunTime:opencv_java342.dll loaded, but it might be a problem with needed dependent libraries ERROR: ...TEMP...: %1 is not a valid Win32 application [error] script [ Sandbox ] stopped with error in line 5 [error] java.lang.ExceptionInInitializerError ( java.lang.ExceptionInInitializerError ) [error] --- Traceback --- error source first line: module ( function ) statement 4103: Common ( Exists ) if LocalRegionObject.exists( IndividualImage, 0.1 ): 5: main ( ) if Common.Exists( [ "1576070445192.png" ], "", 1 ): [error] --- Traceback --- end -- This is on Windows 10 (1903), Java 10.0.1, Sikuli 2.0.0, but I am also seeing it on Windows Server 2008 R2. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1856039/+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 1864498] [NEW] Occasional click in a different place to reported location
Public bug reported: Occasionally I am seeing the mouse click occur at the correct Y coordinate but the wrong x coordinate, however, the logging states that it click where I expected it to click. This was only being seen on Windows Server 2012 R2 with Sikuli 1.1.3 and Java 10 ** 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/1864498 Title: Occasional click in a different place to reported location Status in Sikuli: New Bug description: Occasionally I am seeing the mouse click occur at the correct Y coordinate but the wrong x coordinate, however, the logging states that it click where I expected it to click. This was only being seen on Windows Server 2012 R2 with Sikuli 1.1.3 and Java 10 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1864498/+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 1854949] Re: [2.0.1] Seeing [error] RobotDesktop: checkMousePosition
Hello RaiMan, how is the fix for this going? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1854949 Title: [2.0.1] Seeing [error] RobotDesktop: checkMousePosition Status in Sikuli: In Progress Bug description: I am occasionally seeing this error in my script output: [error] RobotDesktop: checkMousePosition: should be L[376,239]@S(0) but after move is L[375,238]@S(0) Possible cause in case you did not touch the mouse while script was running: Mouse actions are blocked generally or by the frontmost application. You might try to run the SikuliX stuff as admin. I am running the test as admin and not touching the VM that is running the script. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1854949/+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 1864815] [NEW] Occasionally I see characters not typed in typed string
Public bug reported: Occasionally (more so when using IE web pages with HTML5 content, but sometimes just typing in the IE address) some of the typed characters of a passed string to type are not typed out when using the function 'type' ** 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/1864815 Title: Occasionally I see characters not typed in typed string Status in Sikuli: New Bug description: Occasionally (more so when using IE web pages with HTML5 content, but sometimes just typing in the IE address) some of the typed characters of a passed string to type are not typed out when using the function 'type' To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1864815/+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 1864815] Re: Occasionally I see characters not typed in typed string
Sikuli 1.1.3 using Java 10.0.1 Running in a VM with 1440 x 900 resolution Windows 10 (1903) UK keyboard layout -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1864815 Title: Occasionally I see characters not typed in typed string Status in Sikuli: New Bug description: Occasionally (more so when using IE web pages with HTML5 content, but sometimes just typing in the IE address) some of the typed characters of a passed string to type are not typed out when using the function 'type' To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1864815/+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 1869973] [NEW] Launch stuck on splash screen
Public bug reported: Launching Sikuli IDE remains stuck on splash screen SikuliX 2.0.4 Java 10 Windows 10 ** 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/1869973 Title: Launch stuck on splash screen Status in Sikuli: New Bug description: Launching Sikuli IDE remains stuck on splash screen SikuliX 2.0.4 Java 10 Windows 10 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1869973/+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 1869973] Re: Launch stuck on splash screen
Sikuli 2.0.4 launched okay when I upgraded to Java 13.0.2 ** Changed in: sikuli Status: New => Invalid -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1869973 Title: Launch stuck on splash screen Status in Sikuli: Invalid Bug description: Launching Sikuli IDE remains stuck on splash screen SikuliX 2.0.4 Java 10 Windows 10 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1869973/+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 1874813] [NEW] Output seen on earlier version no longer seen
Public bug reported: I was using until recently version 1.1.3 of Sikuli which would show me output similar to this: [20/02/25 21:47:44] [log] App.open [8340:LaunchViewX.bat] [20/02/25 21:47:44] [20/02/25 21:47:44] C:\Shikari>start "" "C:\Program Files (x86)\Schneider Electric\ClearSCADA\SE.Scada.ViewX.exe" /Startup:"C:\Sikuli\General\DefaultStartupConfiguration.xml" [20/02/25 21:47:44] [20/02/25 21:47:44] C:\Shikari>exit [20/02/25 21:48:26] [log] ( Windows ) TYPE "#UP." [20/02/25 21:48:35] [log] CLICK on L(22,99)@S(0)[0,0 1440x900] (644 msec) [20/02/25 21:48:39] [log] CLICK on L(817,449)@S(0)[0,0 1440x900] (619 msec) [20/02/25 21:48:40] [log] ( Ctrl ) TYPE "a" [20/02/25 21:48:41] [log] TYPE "a" [20/02/25 21:48:41] [log] TYPE "d" [20/02/25 21:48:43] [log] TYPE "#TAB." [20/02/25 21:48:44] [log] ( Ctrl ) TYPE "a" Now I have upgraded to version 2.0.4 of Sikuli and this is the output I now get: [20/02/25 21:48:26] [log] ( Windows ) TYPE "#UP." [20/02/25 21:48:35] [log] CLICK on L(22,99)@S(0)[0,0 1440x900] (644 msec) [20/02/25 21:48:39] [log] CLICK on L(817,449)@S(0)[0,0 1440x900] (619 msec) [20/02/25 21:48:40] [log] ( Ctrl ) TYPE "a" [20/02/25 21:48:41] [log] TYPE "a" [20/02/25 21:48:41] [log] TYPE "d" [20/02/25 21:48:43] [log] TYPE "#TAB." [20/02/25 21:48:44] [log] ( Ctrl ) TYPE "a" I am missing a level of debug message here. I am using Windows 10, Java 13.0.2 and Sikuli 2.0.4 ** 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/1874813 Title: Output seen on earlier version no longer seen Status in Sikuli: New Bug description: I was using until recently version 1.1.3 of Sikuli which would show me output similar to this: [20/02/25 21:47:44] [log] App.open [8340:LaunchViewX.bat] [20/02/25 21:47:44] [20/02/25 21:47:44] C:\Shikari>start "" "C:\Program Files (x86)\Schneider Electric\ClearSCADA\SE.Scada.ViewX.exe" /Startup:"C:\Sikuli\General\DefaultStartupConfiguration.xml" [20/02/25 21:47:44] [20/02/25 21:47:44] C:\Shikari>exit [20/02/25 21:48:26] [log] ( Windows ) TYPE "#UP." [20/02/25 21:48:35] [log] CLICK on L(22,99)@S(0)[0,0 1440x900] (644 msec) [20/02/25 21:48:39] [log] CLICK on L(817,449)@S(0)[0,0 1440x900] (619 msec) [20/02/25 21:48:40] [log] ( Ctrl ) TYPE "a" [20/02/25 21:48:41] [log] TYPE "a" [20/02/25 21:48:41] [log] TYPE "d" [20/02/25 21:48:43] [log] TYPE "#TAB." [20/02/25 21:48:44] [log] ( Ctrl ) TYPE "a" Now I have upgraded to version 2.0.4 of Sikuli and this is the output I now get: [20/02/25 21:48:26] [log] ( Windows ) TYPE "#UP." [20/02/25 21:48:35] [log] CLICK on L(22,99)@S(0)[0,0 1440x900] (644 msec) [20/02/25 21:48:39] [log] CLICK on L(817,449)@S(0)[0,0 1440x900] (619 msec) [20/02/25 21:48:40] [log] ( Ctrl ) TYPE "a" [20/02/25 21:48:41] [log] TYPE "a" [20/02/25 21:48:41] [log] TYPE "d" [20/02/25 21:48:43] [log] TYPE "#TAB." [20/02/25 21:48:44] [log] ( Ctrl ) TYPE "a" I am missing a level of debug message here. I am using Windows 10, Java 13.0.2 and Sikuli 2.0.4 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1874813/+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 1884517] Re: org.opencv.core.CvException: CvException in Windows Server 2012 R2
Sikuli 2.0.4 Windows Server 2012 R2 (patched up to date to June 2020) Java JDK 13.0.2 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1884517 Title: org.opencv.core.CvException: CvException in Windows Server 2012 R2 Status in Sikuli: New Bug description: if LocalRegionObject.exists( IndividualImage, TimeValue ): 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:733) at org.sikuli.script.Finder$Finder2.doFindImage(Finder.java:704) at org.sikuli.script.Finder$Finder2.doFind(Finder.java:622) at org.sikuli.script.Finder$Finder2.find(Finder.java:582) at org.sikuli.script.Finder.findRepeat(Finder.java:109) at org.sikuli.script.Region.doFind(Region.java:2720) at org.sikuli.script.Region.access$200(Region.java:28) at org.sikuli.script.Region$RepeatableFind.run(Region.java:2983) at org.sikuli.script.Region$Repeatable.repeat(Region.java:2926) at org.sikuli.script.Region.exists(Region.java:2322) at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) 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) C:\build\3_4_winpack-bindings-win64-vc14-static\opencv\modules\core\src\matrix.cpp:367: error: (-215:Assertion failed) u != 0 in function 'cv::Mat::create' To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1884517/+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 1884517] [NEW] org.opencv.core.CvException: CvException in Windows Server 2012 R2
Public bug reported: if LocalRegionObject.exists( IndividualImage, TimeValue ): 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:733) at org.sikuli.script.Finder$Finder2.doFindImage(Finder.java:704) at org.sikuli.script.Finder$Finder2.doFind(Finder.java:622) at org.sikuli.script.Finder$Finder2.find(Finder.java:582) at org.sikuli.script.Finder.findRepeat(Finder.java:109) at org.sikuli.script.Region.doFind(Region.java:2720) at org.sikuli.script.Region.access$200(Region.java:28) at org.sikuli.script.Region$RepeatableFind.run(Region.java:2983) at org.sikuli.script.Region$Repeatable.repeat(Region.java:2926) at org.sikuli.script.Region.exists(Region.java:2322) at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) 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) C:\build\3_4_winpack-bindings-win64-vc14-static\opencv\modules\core\src\matrix.cpp:367: error: (-215:Assertion failed) u != 0 in function 'cv::Mat::create' ** 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/1884517 Title: org.opencv.core.CvException: CvException in Windows Server 2012 R2 Status in Sikuli: New Bug description: if LocalRegionObject.exists( IndividualImage, TimeValue ): 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:733) at org.sikuli.script.Finder$Finder2.doFindImage(Finder.java:704) at org.sikuli.script.Finder$Finder2.doFind(Finder.java:622) at org.sikuli.script.Finder$Finder2.find(Finder.java:582) at org.sikuli.script.Finder.findRepeat(Finder.java:109) at org.sikuli.script.Region.doFind(Region.java:2720) at org.sikuli.script.Region.access$200(Region.java:28) at org.sikuli.script.Region$RepeatableFind.run(Region.java:2983) at org.sikuli.script.Region$Repeatable.repeat(Region.java:2926) at org.sikuli.script.Region.exists(Region.java:2322) at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) 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) C:\build\3_4_winpack-bindings-win64-vc14-static\opencv\modules\core\src\matrix.cpp:367: error: (-215:Assertion failed) u != 0 in function 'cv::Mat::create' To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1884517/+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 1884517] Re: org.opencv.core.CvException: CvException in Windows Server 2012 R2
This is on Windows Server 2012 R2, screen resolution is 1440x900. Same code worked on other occasions and all the time on other Windows OSes. Code: LocalRegionObject = ( Region(0,0,1440,900) ) if LocalRegionObject.exists( Pattern("1494237247598.png").similar(0.75), 0.1 ) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1884517 Title: org.opencv.core.CvException: CvException in Windows Server 2012 R2 Status in Sikuli: New Bug description: if LocalRegionObject.exists( IndividualImage, TimeValue ): 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:733) at org.sikuli.script.Finder$Finder2.doFindImage(Finder.java:704) at org.sikuli.script.Finder$Finder2.doFind(Finder.java:622) at org.sikuli.script.Finder$Finder2.find(Finder.java:582) at org.sikuli.script.Finder.findRepeat(Finder.java:109) at org.sikuli.script.Region.doFind(Region.java:2720) at org.sikuli.script.Region.access$200(Region.java:28) at org.sikuli.script.Region$RepeatableFind.run(Region.java:2983) at org.sikuli.script.Region$Repeatable.repeat(Region.java:2926) at org.sikuli.script.Region.exists(Region.java:2322) at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) 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) C:\build\3_4_winpack-bindings-win64-vc14-static\opencv\modules\core\src\matrix.cpp:367: error: (-215:Assertion failed) u != 0 in function 'cv::Mat::create' To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1884517/+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 1884517] Re: org.opencv.core.CvException: CvException in Windows Server 2012 R2
I have only been seeing this issue on Windows Server 2012 R2 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1884517 Title: org.opencv.core.CvException: CvException in Windows Server 2012 R2 Status in Sikuli: New Bug description: if LocalRegionObject.exists( IndividualImage, TimeValue ): 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:733) at org.sikuli.script.Finder$Finder2.doFindImage(Finder.java:704) at org.sikuli.script.Finder$Finder2.doFind(Finder.java:622) at org.sikuli.script.Finder$Finder2.find(Finder.java:582) at org.sikuli.script.Finder.findRepeat(Finder.java:109) at org.sikuli.script.Region.doFind(Region.java:2720) at org.sikuli.script.Region.access$200(Region.java:28) at org.sikuli.script.Region$RepeatableFind.run(Region.java:2983) at org.sikuli.script.Region$Repeatable.repeat(Region.java:2926) at org.sikuli.script.Region.exists(Region.java:2322) at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) 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) C:\build\3_4_winpack-bindings-win64-vc14-static\opencv\modules\core\src\matrix.cpp:367: error: (-215:Assertion failed) u != 0 in function 'cv::Mat::create' To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1884517/+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 1884517] Re: org.opencv.core.CvException: CvException in Windows Server 2012 R2
okay thanks RaiMan -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1884517 Title: org.opencv.core.CvException: CvException in Windows Server 2012 R2 Status in Sikuli: New Bug description: if LocalRegionObject.exists( IndividualImage, TimeValue ): 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:733) at org.sikuli.script.Finder$Finder2.doFindImage(Finder.java:704) at org.sikuli.script.Finder$Finder2.doFind(Finder.java:622) at org.sikuli.script.Finder$Finder2.find(Finder.java:582) at org.sikuli.script.Finder.findRepeat(Finder.java:109) at org.sikuli.script.Region.doFind(Region.java:2720) at org.sikuli.script.Region.access$200(Region.java:28) at org.sikuli.script.Region$RepeatableFind.run(Region.java:2983) at org.sikuli.script.Region$Repeatable.repeat(Region.java:2926) at org.sikuli.script.Region.exists(Region.java:2322) at jdk.internal.reflect.GeneratedMethodAccessor15.invoke(Unknown Source) 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) C:\build\3_4_winpack-bindings-win64-vc14-static\opencv\modules\core\src\matrix.cpp:367: error: (-215:Assertion failed) u != 0 in function 'cv::Mat::create' To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1884517/+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 #698239]: Type " into Windows cmd comes out as ~
New question #698239 on SikuliX: https://answers.launchpad.net/sikuli/+question/698239 When I use the function: type("\"") into a Windows CMD I get the following typed into the CMD window: ~ How can I stop this happening so that it will always type " not ~ -- 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 #698239]: Type " into Windows cmd comes out as ~
Question #698239 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698239 Tony May gave more information on the question: Sikuli version 2.0.4 and 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 #698239]: Type " into Windows cmd comes out as ~
Question #698239 on SikuliX changed: https://answers.launchpad.net/sikuli/+question/698239 Tony May posted a new comment: Hi RaiMan, You say switch the commandline to an EN/US keyboard, how do you do 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
[Sikuli-driver] [Bug 2009900] [NEW] Cannot load image to change offset and accuracy
Public bug reported: [error] ImagePath: find: File does not exist: C:\Dev\Sources\Sikuli%20Test%20Cases\CommonMobile.sikuli\1678406115469.png [error] ImagePath: find: File does not exist: C:\Dev\Sources\Sikuli%20Test%20Cases\CommonMobile.sikuli\1678406115469.png [error] PatternPaneTargetOffset: Can't load C:\Dev\Sources\Sikuli%20Test%20Cases\CommonMobile.sikuli\1678406115469.png File does exists in the location and the Sikuli IDE shows the image in the editor, when I click on the image to change the offset and accuracy it shows above error in the message window and fails to show matches on the pattern settings dialog matching preview tab, also fails to load image on the target offset tab. Eventually if I try to click on another tab I get this in the message window: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: Cannot invoke "java.awt.image.BufferedImage.getWidth()" because "this._img" is null at org.sikuli.ide.PatternPaneTargetOffset.paintPatternOnly(PatternPaneTargetOffset.java:236) at org.sikuli.ide.PatternPaneTargetOffset.paintComponent(PatternPaneTargetOffset.java:170) at java.desktop/javax.swing.JComponent.paint(JComponent.java:1119) at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:952) at java.desktop/javax.swing.JComponent.paint(JComponent.java:1128) at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:952) at java.desktop/javax.swing.JComponent.paint(JComponent.java:1128) at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:952) at java.desktop/javax.swing.JComponent.paint(JComponent.java:1128) at java.desktop/javax.swing.JComponent.paintChildren(JComponent.java:952) at java.desktop/javax.swing.JComponent.paint(JComponent.java:1128) at java.desktop/javax.swing.JC omponent.paintToOffscreen(JComponent.java:5311) at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(RepaintManager.java:1657) at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1632) at java.desktop/javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1570) at java.desktop/javax.swing.RepaintManager.paint(RepaintManager.java:1337) at java.desktop/javax.swing.JComponent._paintImmediately(JComponent.java:5259) at java.desktop/javax.swing.JComponent.paintImmediately(JComponent.java:5069) at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:879) at java.desktop/javax.swing.RepaintManager$4.run(RepaintManager.java:862) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:862) at java.desktop/javax.swing.RepaintMan ager.paintDirtyRegions(RepaintManager.java:835) at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:784) at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1898) at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:771) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:716) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:741) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.aw t.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Sikuli version = 2.0.5 Windows 10 JAVA JDK 17.0.6 ** 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/2009900 Title: Cannot load image to change offset and accuracy Status in SikuliX: New Bug description: [error] ImagePath: find: File does not exist: C:\Dev\Sources\Sikuli%20Test%20Cases\CommonMobile.sikuli\1678406115469.
[Sikuli-driver] [Question #200870]: Key Modifiers not working ?
New question #200870 on Sikuli: https://answers.launchpad.net/sikuli/+question/200870 Hi, I have read various questions relating to Key Modifiers but nothing I do seems to work. I am trying to click into a field, highlight the entire contents of the field and delete it prior to entering my own value. thus my code look slike this; click( ) #this works ok type( Key.HOME ) type( Key.END, KeyModifier.SHIFT ) type( Key.BACKSPACE ) Unfortunately the SHIFT does not seem to "take", so instead of highlighting the contents of the field the cursor just moves to the end of the field. What am I doing wrong? -- You received this question notification because you are a member of Sikuli Drivers, which 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 #200870]: Key Modifiers not working ?
Question #200870 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200870 Tony Becker posted a new comment: Aha! A known problem. Thank you for this. Just loving Sikuli btw. Amazing! -- You received this question notification because you are a member of Sikuli Drivers, which 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 #200870]: Key Modifiers not working ?
Question #200870 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200870 Status: Answered => Solved Tony Becker confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #200374]: How do you change the app focus when taking a screenshot?
Question #200374 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/200374 Tony Becker posted a new comment: I sometimes have a similar problem on Windows. I use a very pragmatic approach; there is a period of about a second between the time I click the camera icon in Sikuli and the screen being greyed. In that time I click on the application I wish to take a screenshot of to bring it into focus. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #242049]: List the current process/application the system running
New question #242049 on Sikuli: https://answers.launchpad.net/sikuli/+question/242049 Hi Is it possible in sikuli to list all the application names opened in the system? I am using windows 7. My purpose is to identify the open applications with a particular title pattern, focus each of them one by one and do some operations in there. Thank you. Regards Tony -- You received this question notification because you are a member of Sikuli Drivers, which 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 #166824]: unable to screenshot in vista32
New question #166824 on Sikuli: https://answers.launchpad.net/sikuli/+question/166824 Any time i hit a point where i should be taking a screenshot the Sikili IDE disappears and I am unable to do anything. Ctrl+Shift+2 has no effect, even when just trying to activate on the desktop. -- You received this question notification because you are a member of Sikuli Drivers, which 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 #166824]: unable to screenshot in vista32
Question #166824 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/166824 Status: Open => Solved Tony Pezzuto confirmed that the question is solved: I shouldn't be surprised, I must run Sikuli in admin mode. Please add this to your windows tutorial. -- You received this question notification because you are a member of Sikuli Drivers, which 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