[Sikuli-driver] [Bug 1473920] Re: when i use IDE run my sikuli project file,I meet an error which named“[error] IDE: A non-IOException-problem when trying to save null Error: null”
I often have the same problem. This usually happens when indentation is off or tabs are used instead of spaces. Really annoying, cause it simply should not affect file save functionality in any way. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1473920 Title: when i use IDE run my sikuli project file,I meet an error which named“[error] IDE: A non-IOException-problem when trying to save null Error: null” Status in Sikuli: New Bug description: when i use IDE run my sikuli project file,I meet an error which named“[error] IDE: A non-IOException-problem when trying to save null Error: null” my sikuli project name is Wechat and my file name is Wechat. wechat file are following # -*- coding: utf-8 -*- from __future__ import with_statement from sikuliwrapper import * addImagePath(common.cfgImageLibrary) class Wechat(BaseLogger): ROBOT_LIBRARY_SCOPE = 'TEST SUITE' def __init__(self): self.appCoordinates = (0, 0, 1024, 768) def startwechat(self): click(wechat_icon.png) wait(5) click(more.png) wait(5) click(switch_account.png) wait(5) click(login_type.png) wait(5) click(account.png) wait(5) Settings.TypeDelay = 1 type(2919658499\n) wait(5) click(password.png) wait(5) Settings.TypeDelay=1 type(wanshen1\n) wait(5) click(login_button.png) def search_public_number(self) click(search_button.png) wait(2) Settings.TypeDelay=1 type(睿博研发) def runTest(self): self.startwechat() self.search_public_number() if __name__ == '__main__': Wechat().runTest() best regard thanks To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1473920/+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 1473920] Re: [IDE] run my sikuli project file: “[error] IDE: A non-IOException-problem when trying to save null Error: null”
which version of SikuliX? ** Summary changed: - when i use IDE run my sikuli project file,I meet an error which named“[error] IDE: A non-IOException-problem when trying to save null Error: null” + [IDE] run my sikuli project file: “[error] IDE: A non-IOException-problem when trying to save null Error: null” ** Changed in: sikuli Status: New = Opinion ** Changed in: sikuli Assignee: (unassigned) = RaiMan (raimund-hocke) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1473920 Title: [IDE] run my sikuli project file: “[error] IDE: A non-IOException- problem when trying to save null Error: null” Status in Sikuli: Opinion Bug description: when i use IDE run my sikuli project file,I meet an error which named“[error] IDE: A non-IOException-problem when trying to save null Error: null” my sikuli project name is Wechat and my file name is Wechat. wechat file are following # -*- coding: utf-8 -*- from __future__ import with_statement from sikuliwrapper import * addImagePath(common.cfgImageLibrary) class Wechat(BaseLogger): ROBOT_LIBRARY_SCOPE = 'TEST SUITE' def __init__(self): self.appCoordinates = (0, 0, 1024, 768) def startwechat(self): click(wechat_icon.png) wait(5) click(more.png) wait(5) click(switch_account.png) wait(5) click(login_type.png) wait(5) click(account.png) wait(5) Settings.TypeDelay = 1 type(2919658499\n) wait(5) click(password.png) wait(5) Settings.TypeDelay=1 type(wanshen1\n) wait(5) click(login_button.png) def search_public_number(self) click(search_button.png) wait(2) Settings.TypeDelay=1 type(睿博研发) def runTest(self): self.startwechat() self.search_public_number() if __name__ == '__main__': Wechat().runTest() best regard thanks To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1473920/+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 #269175]: It does not work onAppear
New question #269175 on Sikuli: https://answers.launchpad.net/sikuli/+question/269175 Hello I'm using Sikuli 1.0.1 my code: def my_handler(event): print My handler, event.match dz.scr.onAppear(Interface.Loading['play_w7'], my_handler) dz.scr.observe(60, True) for i in range(30): print('--' + str(i)) sleep(0.5) If my handler works out at least once, it does not work next time when it finds required image. And I forced to run it this way: def my_handler(event): print My handler, event.match dz.scr.stopObserver() dz.scr.observe(60, True) Do I do it right or there is another way? -- 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] [Bug 1473920] [NEW] when i use IDE run my sikuli project file,I meet an error which named“[error] IDE: A non-IOException-problem when trying to save null Error: null”
Public bug reported: when i use IDE run my sikuli project file,I meet an error which named“[error] IDE: A non-IOException-problem when trying to save null Error: null” my sikuli project name is Wechat and my file name is Wechat. wechat file are following # -*- coding: utf-8 -*- from __future__ import with_statement from sikuliwrapper import * addImagePath(common.cfgImageLibrary) class Wechat(BaseLogger): ROBOT_LIBRARY_SCOPE = 'TEST SUITE' def __init__(self): self.appCoordinates = (0, 0, 1024, 768) def startwechat(self): click(wechat_icon.png) wait(5) click(more.png) wait(5) click(switch_account.png) wait(5) click(login_type.png) wait(5) click(account.png) wait(5) Settings.TypeDelay = 1 type(2919658499\n) wait(5) click(password.png) wait(5) Settings.TypeDelay=1 type(wanshen1\n) wait(5) click(login_button.png) def search_public_number(self) click(search_button.png) wait(2) Settings.TypeDelay=1 type(睿博研发) def runTest(self): self.startwechat() self.search_public_number() if __name__ == '__main__': Wechat().runTest() best regard thanks ** 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/1473920 Title: when i use IDE run my sikuli project file,I meet an error which named“[error] IDE: A non-IOException-problem when trying to save null Error: null” Status in Sikuli: New Bug description: when i use IDE run my sikuli project file,I meet an error which named“[error] IDE: A non-IOException-problem when trying to save null Error: null” my sikuli project name is Wechat and my file name is Wechat. wechat file are following # -*- coding: utf-8 -*- from __future__ import with_statement from sikuliwrapper import * addImagePath(common.cfgImageLibrary) class Wechat(BaseLogger): ROBOT_LIBRARY_SCOPE = 'TEST SUITE' def __init__(self): self.appCoordinates = (0, 0, 1024, 768) def startwechat(self): click(wechat_icon.png) wait(5) click(more.png) wait(5) click(switch_account.png) wait(5) click(login_type.png) wait(5) click(account.png) wait(5) Settings.TypeDelay = 1 type(2919658499\n) wait(5) click(password.png) wait(5) Settings.TypeDelay=1 type(wanshen1\n) wait(5) click(login_button.png) def search_public_number(self) click(search_button.png) wait(2) Settings.TypeDelay=1 type(睿博研发) def runTest(self): self.startwechat() self.search_public_number() if __name__ == '__main__': Wechat().runTest() best regard thanks To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1473920/+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 #269048]: How can I have a script that works in both 1.0.1 and 1.1.0
Question #269048 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269048 Pierre Best posted a new comment: try: import org.sikuli.basics.SikuliXforJython except ImportError: import org.sikuli.basics.SikulixForJython from sikuli import * -- 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 #269110]: [1.1.0] observe: Handler Type test
Question #269110 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269110 Status: Answered = Solved Tetsuo confirmed that the question is solved: Thanks RaiMan. Ill keep an eye on the nightly build page and will use your solution for now. -- 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 #269175]: It does not work onAppear
Question #269175 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269175 Status: Open = Answered RaiMan proposed the following answer: if you want to reliably use observe, I recommend to use version 1.1.0 (http://sikulix.com). I do not support problems in 1.0.1 with observe anymore. in 1.1.0: - onAppear, onVanish in 1.1.0 ... stop observing after the first success ... need an event.repeat(waittime) before leaving the handler, if you want to continue the observe ... to stop the observe in handler: event.stopObserver() Never ever start an observer inside of a handler !!! def my_handler(event): print My handler, event.match event.repeat(2) dz.scr.onAppear(Interface.Loading['play_w7'], my_handler) dz.scr.observe(60, True) for i in range(30): print('--' + str(i)) sleep(0.5) The docs for the new observe in 1.1.0 will be available tomorrow. -- 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 #256236]: Differing images matched with very high similarity
Question #256236 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256236 RaiMan posted a new comment: @Justin I just made some quick tests (with 1.1.0) I always get score values 0.... if you send me the images/screenshots zipped together to my mail rmhdevelop---at---me.com, I can have a look at it. The code you use is not really needed. -- 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 #256236]: Differing images matched with very high similarity
Question #256236 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256236 Justin Veerman posted a new comment: Thanks for the reply, I understand now. I am having issues where I take a screenshot of the last screen of a test and try to run a new test to see if that screenshot is in my test. I am getting only 60% similarity though. For example, I am filling in login information for GMail. Goto google.com Click gmail Enter an email Click Next I take one screenshot of the middle(including Google, One Account. All of Google and the login form/buttons). I run a new test to see if this screenshot exists, and I get a 60% match. I thought it would be closer to 99%. Any ideas? I can paste code in Java if you'd want 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
[Sikuli-driver] [Bug 1473615] Re: sikuli ide 1.0.1 wait(image, [secs]) does not work for value 1100 in seconds field
oh. there's an animation and it's finding garbage. Guess this can be closed. Limitations of OCR -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1473615 Title: sikuli ide 1.0.1 wait(image,[secs]) does not work for value 1100 in seconds field Status in Sikuli: Opinion Bug description: wait(1436328275891.png,1100) This only waits for around 3 seconds and then continues. If this is really in seconds, it should wait around 18 minutes wait(1436328275891.png,1100.0) This also fails. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1473615/+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 #256236]: Differing images matched with very high similarity
Question #256236 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256236 Justin Veerman posted a new comment: Boris stated that 'The following two black images, for example, are matched with 0.982491' He also says: 'sometimes exceeding our default level of 0.98'. I am just wondering how Boris knows the exact similarity value if the test outcomes(eg 0.982491). What would the code for seeing the similarity value look like? -- 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 #256236]: Differing images matched with very high similarity
Question #256236 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256236 RaiMan posted a new comment: @Jus Each image comparison / image search results in a so called Match, that contains the top left corner, where the found image is located in the base image or on the screen, besides some other information. On of these values is the score, a value between 0 and 1, denoting the probability, that the match is the searched image. 0 means no similarity at all, whereas 1 means should be the image exactly. might be of interest: http://www.sikulix.com/stories/how-does-sikuli- find-images-on-the-screen in a script saying: m = find(someImage) print m.getScore() would reveal the resulting value of the match. -- 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 #269175]: It does not work onAppear
Question #269175 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269175 Status: Answered = Solved Chp confirmed that the question is solved: I am not ready yet to upgrade to version 1.1, I tried but it did not solve the problem of click to for app unity3d player -- 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] [Bug 1473615] Re: sikuli ide 1.0.1 wait(image, [secs]) does not work for value 1100 in seconds field
** Changed in: sikuli Status: Opinion = Invalid -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1473615 Title: sikuli ide 1.0.1 wait(image,[secs]) does not work for value 1100 in seconds field Status in Sikuli: Invalid Bug description: wait(1436328275891.png,1100) This only waits for around 3 seconds and then continues. If this is really in seconds, it should wait around 18 minutes wait(1436328275891.png,1100.0) This also fails. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1473615/+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 1474178] [NEW] Region: doFind: Image not loadable: wechat_icon.png
Public bug reported: I can not run my sikuli project and the log was following : [error] ImagePath: add: class images not found on classpath. [error] ImagePath: add: not valid: images [error] Image: could not be loaded: file:/F:/test/Wechat_automation/hs/Wechat/Wechat.sikuli/wechat_icon.png [error] Image: Image not valid, but TextSearch is switched off! [error] script [ Wechat ] stopped with error in line 40 [error] FindFailed ( Region: doFind: Image not loadable: wechat_icon.png ) [error] --- Traceback --- error source first line: module ( function ) statement 13: main ( startwechat ) click(wechat_icon.png) 36: main ( runTest ) self.startwechat() [error] --- Traceback --- end -- I put wechat_icon.png into image folder,and image folder was under sikuli project folder. ** 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/1474178 Title: Region: doFind: Image not loadable: wechat_icon.png Status in Sikuli: New Bug description: I can not run my sikuli project and the log was following : [error] ImagePath: add: class images not found on classpath. [error] ImagePath: add: not valid: images [error] Image: could not be loaded: file:/F:/test/Wechat_automation/hs/Wechat/Wechat.sikuli/wechat_icon.png [error] Image: Image not valid, but TextSearch is switched off! [error] script [ Wechat ] stopped with error in line 40 [error] FindFailed ( Region: doFind: Image not loadable: wechat_icon.png ) [error] --- Traceback --- error source first line: module ( function ) statement 13: main ( startwechat ) click(wechat_icon.png) 36: main ( runTest ) self.startwechat() [error] --- Traceback --- end -- I put wechat_icon.png into image folder,and image folder was under sikuli project folder. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1474178/+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 #269175]: It does not work onAppear
Question #269175 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269175 Chp 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] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli
this works with 1.1.0: x = 0 y = 1 print x, y y, x = x, y print x, y prints 0 1 1 0 ** Changed in: sikuli Status: New = Opinion -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1474033 Title: Python construc to swap variables doesn't work in Sikuli Status in Sikuli: Opinion Bug description: In PYTHON there is a simple construct to swap Variables without the use of any Temp Variable x,y = y,x but it doesn't work in SIKULI, Am I right? Here is my example... var1 = 0 var2 = 1 print var1 = , var1 print var2 = , var2 var1, Var2 = var2, var1 print var1 = , var1 print var2 = , var2 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1474033/+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 #269185]: OnAppear and OnVanish on the same region
New question #269185 on Sikuli: https://answers.launchpad.net/sikuli/+question/269185 Hi again. Im writting a code that will check if an image appeared on a Region. After the image appears the program will scan the same region to see if it desappears. When the image desappears it will start to scan to see if it appears again, and so on. So, im using OnAppear and OnVanish on the same region with a single handler. (calling Repeat() in the end) The problem with this solution is that the handler will continue to be called with type = APPEAR even if the handler was already triggered one time with APPEAR. The same happen when the image disappears and the handler is called with type = VANISH. It will continue to be called with VANISH until the image appears again. Is there a way to avoid this? Is it possible to unregister OnAppear/OnVanish and register it again in a Region? Do i have to use two different regions with the same dimmensions? 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 #269065]: Unable to compare Expected SS to Actual Output
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 RaiMan proposed the following answer: @Justin already had a look into the docs? http://sikulix-2014.readthedocs.org/en/latest/index.html or the javadocs: http://nightly.sikuli.de/docs/index.html -- 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] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli
it returns... var1 = 0 var2 = 1 var1 = 1 var2 = 1 In python it should return... var1 = 0 var2 = 1 var1 = 1 var2 = 0 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1474033 Title: Python construc to swap variables doesn't work in Sikuli Status in Sikuli: New Bug description: In PYTHON there is a simple construct to swap Variables without the use of any Temp Variable x,y = y,x but it doesn't work in SIKULI, Am I right? Here is my example... var1 = 0 var2 = 1 print var1 = , var1 print var2 = , var2 var1, Var2 = var2, var1 print var1 = , var1 print var2 = , var2 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1474033/+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 1474033] [NEW] Python construc to swap variables doesn't work in Sikuli
Public bug reported: In PYTHON there is a simple construct to swap Variables without the use of any Temp Variable x,y = y,x but it doesn't work in SIKULI, Am I right? Here is my example... var1 = 0 var2 = 1 print var1 = , var1 print var2 = , var2 var1, Var2 = var2, var1 print var1 = , var1 print var2 = , var2 ** 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/1474033 Title: Python construc to swap variables doesn't work in Sikuli Status in Sikuli: New Bug description: In PYTHON there is a simple construct to swap Variables without the use of any Temp Variable x,y = y,x but it doesn't work in SIKULI, Am I right? Here is my example... var1 = 0 var2 = 1 print var1 = , var1 print var2 = , var2 var1, Var2 = var2, var1 print var1 = , var1 print var2 = , var2 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1474033/+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 #269065]: Unable to compare Expected SS to Actual Output
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Justin Veerman posted a new comment: This did solve my issue, but I am curious why the 1 was needed. I don't really know what the 1 is referring to. -- 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] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli
BTW: there is a typo: var1, Var2 = var2, var1 on the left side Var2 is uppercase and hence not var2 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1474033 Title: Python construc to swap variables doesn't work in Sikuli Status in Sikuli: Opinion Bug description: In PYTHON there is a simple construct to swap Variables without the use of any Temp Variable x,y = y,x but it doesn't work in SIKULI, Am I right? Here is my example... var1 = 0 var2 = 1 print var1 = , var1 print var2 = , var2 var1, Var2 = var2, var1 print var1 = , var1 print var2 = , var2 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1474033/+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 #256236]: Differing images matched with very high similarity
Question #256236 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/256236 Justin Veerman posted a new comment: I think my issue may have been that I wasn't adding enough of a time delay in between the actions and the test. I have added a delay and I am getting 100% similarity now. -- 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 #269065]: Unable to compare Expected SS to Actual Output
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Justin Veerman posted a new comment: I did look at the docs but I couldn't figure out(before) how to write the commands in Java. I don't know where to find the format for Match within the docs, I am sure there they are but I couldn't find it. eg Match found = screen.exists(new Pattern(image6).similar(0.95),1); I usually like seeing an example of code and then applying it to my project, but I found that a bit difficult with the docs. -- 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] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli
thanks, Raiman, wau 1.1.0 ill check it out. ** Description changed: In PYTHON there is a simple construct to swap Variables without the use of any Temp Variable x,y = y,x but it doesn't work in SIKULI, Am I right? Here is my example... var1 = 0 var2 = 1 print var1 = , var1 print var2 = , var2 - var1, Var2 = var2, var1 + var1, var2 = var2, var1 print var1 = , var1 print var2 = , var2 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1474033 Title: Python construc to swap variables doesn't work in Sikuli Status in Sikuli: Opinion Bug description: In PYTHON there is a simple construct to swap Variables without the use of any Temp Variable x,y = y,x but it doesn't work in SIKULI, Am I right? Here is my example... var1 = 0 var2 = 1 print var1 = , var1 print var2 = , var2 var1, var2 = var2, var1 print var1 = , var1 print var2 = , var2 To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1474033/+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 #268981]: [1.1.0] Mouse interrupt action after mouse was moved externally by user or other process
Question #268981 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/268981 Status: Answered = Solved Leif 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 #269065]: Unable to compare Expected SS to Actual Output
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Justin Veerman posted a new comment: I understand. I just meant that having a start to finish example(a simple use-case) showing how Java/Selenium/Sikuli integrate with each other would be helpful. I tried to piece together examples from different places. Thanks for your help. -- 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] [Bug 1428110] Re: [1.1.0] Windows 7 64: Java 8-31: crashes with insufficient memory after longer run (40 min here)
After registering ths issue, I found two things: - If Java dies on long unittest test suite, division of the large suite into several smaller suites helps. The common start python script should create and execute them consequently. - With new Java 8 versions, available at java.com now (e.g. 8.45), those crashes after 40 minutes are no longer reproduced. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1428110 Title: [1.1.0] Windows 7 64: Java 8-31: crashes with insufficient memory after longer run (40 min here) Status in Sikuli: In Progress Bug description: * workaround: use Java 7 -- reported by: https://launchpad.net/~emaslov1 I have 4-hour sequence of about 50 Sikuli tests, driven by Python Unittest from command line, running well for last half of year. Having got new Windows 7 64 bit machine, I copied there the whole Sikuli stuff, and then installed the last Java (8.31) from java.com . Now it's difficult to find old Java there... Sikuli seemed to start working well, and IDE worked well with separate scripts, but, trying to run the whole sequence, Java crashed after five or six tests (40 min), with Windows crash message box, because of insufficient memory for it. Extending the memory limit in runsikulix.cmd had no effect at all. The problem was finally solved with installation of older Java (7.67) Java 8 seems to have some problems. To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1428110/+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 #269065]: Unable to compare Expected SS to Actual Output
Question #269065 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269065 Eugene Maslov posted a new comment: Justin, the magic help tool is Google. If a problem is solvable, Sikuli examples are usually present in the web, e.g. sikuli java exists image not found, or a similar phrase, returns the examples, e.g. https://answers.launchpad.net/sikuli/+question/146397 . -- 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 #269110]: [1.1.0] observe: Handler Type test
Question #269110 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/269110 Status: Open = Answered RaiMan proposed the following answer: Sorry for misleading you --- was more hope than reality ;-) I have still to implement getType() and of course update the docs. You then will be able to say besides getType() returning a string: isAppear(), isVanish(), isChange() returning True or False I will do that as soon as possible. Watch out on the nightly build page for a fix: added: observe handler: getType() For now, this is possible: if str(e.type) == APPEAR: same for VANISH, CHANGE and GENERIC (mouse moved handler) -- 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