[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”

2015-07-13 Thread Zeks
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

[Sikuli-driver] [Bug 1473920] Re: [IDE] run my sikuli project file: “[error] IDE: A non-IOException-problem when trying to save null Error: null”

2015-07-13 Thread RaiMan
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

[Sikuli-driver] [Question #269175]: It does not work onAppear

2015-07-13 Thread Chp
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):

[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”

2015-07-13 Thread kiyo
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

Re: [Sikuli-driver] [Question #269048]: How can I have a script that works in both 1.0.1 and 1.1.0

2015-07-13 Thread Pierre Best
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

Re: [Sikuli-driver] [Question #269110]: [1.1.0] observe: Handler Type test

2015-07-13 Thread Tetsuo
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

Re: [Sikuli-driver] [Question #269175]: It does not work onAppear

2015-07-13 Thread RaiMan
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

Re: [Sikuli-driver] [Question #256236]: Differing images matched with very high similarity

2015-07-13 Thread RaiMan
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

Re: [Sikuli-driver] [Question #256236]: Differing images matched with very high similarity

2015-07-13 Thread Justin Veerman
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

[Sikuli-driver] [Bug 1473615] Re: sikuli ide 1.0.1 wait(image, [secs]) does not work for value 1100 in seconds field

2015-07-13 Thread Alexc
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

Re: [Sikuli-driver] [Question #256236]: Differing images matched with very high similarity

2015-07-13 Thread Justin Veerman
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

Re: [Sikuli-driver] [Question #256236]: Differing images matched with very high similarity

2015-07-13 Thread RaiMan
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,

Re: [Sikuli-driver] [Question #269175]: It does not work onAppear

2015-07-13 Thread Chp
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

[Sikuli-driver] [Bug 1473615] Re: sikuli ide 1.0.1 wait(image, [secs]) does not work for value 1100 in seconds field

2015-07-13 Thread RaiMan
** 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

[Sikuli-driver] [Bug 1474178] [NEW] Region: doFind: Image not loadable: wechat_icon.png

2015-07-13 Thread kiyo
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

Re: [Sikuli-driver] [Question #269175]: It does not work onAppear

2015-07-13 Thread Chp
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-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli

2015-07-13 Thread RaiMan
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

[Sikuli-driver] [Question #269185]: OnAppear and OnVanish on the same region

2015-07-13 Thread Tetsuo
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

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-13 Thread RaiMan
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

[Sikuli-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli

2015-07-13 Thread eduardobedoya
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

[Sikuli-driver] [Bug 1474033] [NEW] Python construc to swap variables doesn't work in Sikuli

2015-07-13 Thread eduardobedoya
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

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-13 Thread Justin Veerman
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

[Sikuli-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli

2015-07-13 Thread RaiMan
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

Re: [Sikuli-driver] [Question #256236]: Differing images matched with very high similarity

2015-07-13 Thread Justin Veerman
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.

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-13 Thread Justin Veerman
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

[Sikuli-driver] [Bug 1474033] Re: Python construc to swap variables doesn't work in Sikuli

2015-07-13 Thread eduardobedoya
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

Re: [Sikuli-driver] [Question #268981]: [1.1.0] Mouse interrupt action after mouse was moved externally by user or other process

2015-07-13 Thread Leif
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,

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-13 Thread Justin Veerman
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

[Sikuli-driver] [Bug 1428110] Re: [1.1.0] Windows 7 64: Java 8-31: crashes with insufficient memory after longer run (40 min here)

2015-07-13 Thread Eugene Maslov
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

Re: [Sikuli-driver] [Question #269065]: Unable to compare Expected SS to Actual Output

2015-07-13 Thread Eugene Maslov
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

Re: [Sikuli-driver] [Question #269110]: [1.1.0] observe: Handler Type test

2015-07-13 Thread RaiMan
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