Re: [Sikuli-driver] [Question #643668]: vnc.capture
Question #643668 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643668 David ENJOLRAS posted a new comment: Found the issues : 1) ==> If I comment the "vnc.wait" line, then the capture is a black image We indeed need a small wait, a simple sleep(1) after vncstart if engouth to get ride of this issue 2) ==> With the vnc.wait, I have an image, but such resulting image is a strech from the supposed image. Bug is in VNCFrameBuffer::getImage I've replace the old code by i = image.getSubimage(x, y, w, h); and this is now working well. ==> Could you validate/commit this modification ? -- 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 #658004]: Location: outside any screen at startup
Question #658004 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/658004 Status: Needs information => Open David ENJOLRAS gave more information on the question: I'm running sikuli by command line, On same system, Multiple test run well, and some fails. The particularity: the script are opening VNC connection ( after the error occured ), So, I can have 5-10 script running in parallel. with "-d 4" option, I have more traces : [debug] JythonSupport: * Jython sys.path end [debug] Jython: sikuli: Sikuli: starting init [debug] RunTimeIDE: loadLib: VisionProxy.dll [debug] Mouse: init start [error] 13:54:13 Location: outside any screen (46907712, 46907712) - subsequent actions might not work as expected ... [debug] Mouse: init end [debug] RunTimeIDE: loadLib: WinUtil.dll [debug] Jython: requested to use as default region: S(0)[0,0 1680x1050] [debug] Jython: sikuli: Sikuli: ending init [debug] JythonScriptRunner: running Jython 2.7.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
[Sikuli-driver] [Question #658004]: Location: outside any screen at startup
New question #658004 on Sikuli: https://answers.launchpad.net/sikuli/+question/658004 I have the message "Location: outside any screen (45924672, 45924672)' at a regular basis. I've modified the code to dump stack in such case and have this : [error] 10:48:45 Location: outside any screen (38977856, 38977856) - subsequent actions might not work as expected/ 1 screen exist java.lang.Thread.getStackTrace(Unknown Source) org.sikuli.script.Location.getScreen(Location.java:140) org.sikuli.script.Mouse.move(Mouse.java:348) org.sikuli.script.Mouse.move(Mouse.java:329) org.sikuli.script.Mouse.init(Mouse.java:58) org.sikuli.script.Screen.initScreens(Screen.java:105) org.sikuli.script.Screen.(Screen.java:70) So, it seems to be at startup, before any of my actions. I'm using a 1.1.x up to date ( checkouted yesterday ) -- 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 #643668]: vnc.capture
Question #643668 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643668 David ENJOLRAS posted a new comment: Hello, I'm trying to debug this issue, but have question about accesing the sources. Seems the VNC part is now in the SikuliX-2014 sources, but in a sikulix2tigervnc-2.0.0-20170517.105900-14.jar Where can I get the sources of such sikulix2tigervnc ? -- 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 #645284]: vnc & exit
Question #645284 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645284 Status: Open => Solved David ENJOLRAS confirmed that the question is solved: vnc.stop() is the solution ! -- 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 #645284]: vnc & exit
Question #645284 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645284 Status: Needs information => Open David ENJOLRAS gave more information on the question: that's all I have. maybe a blank line in the top of my script ? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #645284]: vnc & exit
Question #645284 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/645284 Description changed to: code: vnc = vncStart("atemqesxhost21p", 5901) vnc.stop exit(0) generate : CConnection: Server supports RFB protocol version 3.8 CConnection: Using RFB protocol version 3.8 [error (28/06/17 08:10:18)] script [ BMR ] stopped with error in line 4 [error (28/06/17 08:10:18)] java.util.ConcurrentModificationException ( java.util.ConcurrentModificationException ) ==> How to provide an exit code after after use vncStart ? ( given than exit(0) alone works well ) -- 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 #645284]: vnc & exit
New question #645284 on Sikuli: https://answers.launchpad.net/sikuli/+question/645284 code: vnc = vncStart("atemqesxhost21p", 5901) vnc.stop exit(0) generate : CConnection: Server supports RFB protocol version 3.8 CConnection: Using RFB protocol version 3.8 [error (28/06/17 08:10:18)] script [ BMR ] stopped with error in line 4 [error (28/06/17 08:10:18)] java.util.ConcurrentModificationException ( java.util.ConcurrentModificationException ) ==> How to provide an exit code after after use vncStart ? ( give than exit(0) alone works well -- 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 1698094] [NEW] Region.paste return0 despite done
Public bug reported: With SIKULIX 1.1.2 2017-06-04 notepad = find("NotePad.png") print("notepad: %s" % notepad ) PastResult = notepad.paste("test") print("PastResult: %d" % PastResult ) = The text "test" is well added in the NotPad output is : notepad: M[21,553 376x158]@S(S(0)[0,0 1680x1050]) S:1,00 C:209,632 [422 msec] PastResult: 0 = Given documentation, return should be "1" paste([PSMRL], text) Paste the text at a click point. ... Returns: the number 1 if the operation could be performed, otherwise 0 (integer null), which means, that because of some reason, it was not possible or the click could be performed (in case of PS may be not Found). ** 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/1698094 Title: Region.paste return0 despite done Status in Sikuli: New Bug description: With SIKULIX 1.1.2 2017-06-04 notepad = find("NotePad.png") print("notepad: %s" % notepad ) PastResult = notepad.paste("test") print("PastResult: %d" % PastResult ) = The text "test" is well added in the NotPad output is : notepad: M[21,553 376x158]@S(S(0)[0,0 1680x1050]) S:1,00 C:209,632 [422 msec] PastResult: 0 = Given documentation, return should be "1" paste([PSMRL], text) Paste the text at a click point. ... Returns: the number 1 if the operation could be performed, otherwise 0 (integer null), which means, that because of some reason, it was not possible or the click could be performed (in case of PS may be not Found). To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1698094/+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 #643668]: vnc.capture
Question #643668 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/643668 Status: Needs information => Open David ENJOLRAS gave more information on the question: The VNC server is an VMWARE ESX server 6.0.0 https://pubs.vmware.com/workstation-9/index.jsp?topic=%2Fcom.vmware.ws.using.doc %2FGUID-FB23927B-98A0-45E9-BFAC-85152F14BCAC.html This allow me to manipulate the VM ( revert, boot on iso image, ... ) Capture of the whole screen works well. ( after a 1rst wait ) -- 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 #643668]: vnc.capture
New question #643668 on Sikuli: https://answers.launchpad.net/sikuli/+question/643668 Using 1.1.1 build 2017-06-04 2 Strange issues : vnc = vncStart("atemqesxhost21p", 5900) ApplyKeyboardButton = vnc.wait("ApplyKeyboard.png") test = Region(100,100,600,310) img = vnc.capture(test) 1) ==> If I comment the "vnc.wait" line, then the capture is a black image 2) ==> With the vnc.wait, I have an image, but such resulting image is a strech from the supposed image 500*210 is extended to 600*310 ( I mean that result have size 600*310, but the content is a stretch of the portion of screen asked ( 500x210 ) ) -- 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 #643667]: vnc.click
New question #643667 on Sikuli: https://answers.launchpad.net/sikuli/+question/643667 I'm using 1.1.1 Built 2017-04-06 This simple code : vnc = vncStart("atemqesxhost21p", 5900) ApplyKeyboardButton = vnc.wait("ApplyKeyboard.png") vnc.click(ApplyKeyboardButton) Do a click at the center of the VNC screen ! despite the log : [log] CLICK on L(513,602)@R[0,0 1024x768]@S(0) E:Y, T:3,0 (502 msec) Further use of click is ok. Only The 1rst one is affected ! -- 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 #643656]: vnc.newRegion
New question #643656 on Sikuli: https://answers.launchpad.net/sikuli/+question/643656 The doc : http://sikulix-2014.readthedocs.io/en/latest/screen.html#connecting-to-a-vnc-server-vncscreen Says to use vnc = vncStart("192.168.2.25") # some VNC Server in the local net remoteRegion = vnc.newRegion(x, y, w, h) But when I run it, with my own values, I got : Establish a VNC connection to atemqesxhost21p on port 5900 [error] script [ Sans titre ] stopped with error in line 4 [error] AttributeError ( 'org.sikuli.vnc.VNCScreen' object has no attribute 'newRegion' ) Any idea Why ? I'm using the 1.1.2 build 2017-06-04 on a Windows 2012R2 -- 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 #406812]: VNC & capture
New question #406812 on Sikuli: https://answers.launchpad.net/sikuli/+question/406812 Hello. I restart doing some test with VNC. With the old version XXX I was able to open a VNC conenction and use "capture" But this old version has issue with "type" to enter text in the remote screen. I've now update to latest version, and change my code to use vnc = vncStart("MyHost") vnc.capture() ( which is simpliest than the old stuff with the management of the connection :-) But now, the capture action goes in an infinite loop :-( >From debugger, I can see that the capture Screen from VNCRobot is doing a bimg = con.getF(index).getBuffer(); But, this loop with a bimg == null Does this vnc.capture() is still supposed to work in the last 1.1.1 version ? -- 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 #292577]: VNCScreen support ?
New question #292577 on Sikuli: https://answers.launchpad.net/sikuli/+question/292577 Hello, from a comment in Bug 1573564, I can understand that only 1 robot object will manage all Screen. Does this mean that you drop the support of Alternative Screen/Robot, like the one done for VNC by the University of New Hampshire ? -- 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 1573564] Re: [1.1.0] Location.getRobotForPoint don't return good robot
Does this mean that you officially drop the support of Alternative Screen/Robot like the VNCScreen ? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1573564 Title: [1.1.0] Location.getRobotForPoint don't return good robot Status in Sikuli: Invalid Bug description: protected IRobot getRobotForPoint(String action) { if (getScreen() == null) { Debug.error("Point %s outside any screen not useable for %s", this, action); return null; } if (!getScreen().isOtherScreen()) { getScreen().showTarget(this); } return Screen.getMouseRobot(); //return getScreen().getRobot(); } ==> Why does The last line has been commented? it's the good way of returning the robot ... To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1573564/+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 1573564] [NEW] Location.getRobotForPoint don't return good robot
Public bug reported: protected IRobot getRobotForPoint(String action) { if (getScreen() == null) { Debug.error("Point %s outside any screen not useable for %s", this, action); return null; } if (!getScreen().isOtherScreen()) { getScreen().showTarget(this); } return Screen.getMouseRobot(); //return getScreen().getRobot(); } ==> Why does The last line has been commented? it's the good way of returning the robot ... ** 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/1573564 Title: Location.getRobotForPoint don't return good robot Status in Sikuli: New Bug description: protected IRobot getRobotForPoint(String action) { if (getScreen() == null) { Debug.error("Point %s outside any screen not useable for %s", this, action); return null; } if (!getScreen().isOtherScreen()) { getScreen().showTarget(this); } return Screen.getMouseRobot(); //return getScreen().getRobot(); } ==> Why does The last line has been commented? it's the good way of returning the robot ... To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1573564/+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 1572181] [NEW] Mouse.java use static "Screen" instead of one given by location
Public bug reported: in the Mouse.hjava code, we can see : r = Screen.getMouseRobot(); ==> This will always use the "Sceen" implementation, whatever if the user create another kind of screen ( like a VNCScreen ) It will be better to act on the screen defined by the location. IScreen ScreenfromLocation = null ; ScreenfromLocation = loc.getScreen(); r = ScreenfromLocation.getRobot(); ** 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/1572181 Title: Mouse.java use static "Screen" instead of one given by location Status in Sikuli: New Bug description: in the Mouse.hjava code, we can see : r = Screen.getMouseRobot(); ==> This will always use the "Sceen" implementation, whatever if the user create another kind of screen ( like a VNCScreen ) It will be better to act on the screen defined by the location. IScreen ScreenfromLocation = null ; ScreenfromLocation = loc.getScreen(); r = ScreenfromLocation.getRobot(); To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1572181/+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 #291150]: VNCScreen => How to click ?
Question #291150 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/291150 David ENJOLRAS gave more information on the question: Seems a SCREEN = VNCScreen() may help, but still not working... -- 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 #291150]: VNCScreen => How to click ?
New question #291150 on Sikuli: https://answers.launchpad.net/sikuli/+question/291150 Following code works well until I try the click: I can see the mouse on the MAIN screen moving & clicking, not the one in the VNC session :-( ( You can see in trace what the click is done on the main screen ) Does vnc.click() is implemented ? -- import shutil import os print ('Establish a VNC connection to %s on port %d' % ("frlesvmhostqa02",9105) ) import java.net.Socket as Socket import edu.unh.iol.dlc.ConnectionController as ConnectionController s = Socket("frlesvmhostqa02", 9105); #open a socket to vnc server on listening port s.setSoTimeout(1000); s.setKeepAlive(1); #some socket configuration SocketList = [] SocketList.append(s) cc = ConnectionController(SocketList); cc.openConnection(0); #opens the vnc connection for connection 0, multiple are supported cc.setPixelFormat(0, "Truecolor", 32, 0); #for connection 0, set pixel data to Truecolor, 32 bits per pixel, little endian cc.start(0); #start thread that keeps BufferedImage updated by polling server for remote desktop changes Sikuli.wait(2); #wait for buffered image to be updated before we do sikuli import edu.unh.iol.dlc.VNCScreen as VNCScreen vnc = VNCScreen() print('Main Screen size is %d,%d' % (Region(SCREEN).getW(),Region(SCREEN).getH() )) print('VNC Screen size is %d,%d' % (vnc.getW(),vnc.getH() )) vnc.showMonitors() test = vnc.find("Next.png") Larger = test.nearby(100) img = vnc.capture(Larger) shutil.move(img.getFile(), "f:/temp/test.png") print ('BBB') click(test) print ('CCC') vnc.click(test) print ('DDD') output : Establish a VNC connection to frlesvmhostqa02 on port 9105 Main Screen size is 1680,1050 VNC Screen size is 1280,768 [info] *** monitor configuration [ 1 VNCScreen(s)] *** [info] *** Primary is VNCScreen 0 [info] Screen 0: S(0)[0,0 1280x768] [info] *** end monitor configuration *** AAA BBB [log] CLICK on L(885,589)@S(0)[0,0 1680x1050] CCC [log] CLICK on L(885,589)@S(0)[0,0 1680x1050] DDD -- 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 #290731]: VNCScreen in Java work fine. HowTo in python ?
Question #290731 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/290731 Status: Answered => Open David ENJOLRAS is still having a problem: Good start point, but not working :-( even with just the import lines : [error] Did not find any active ConnectionControllers. Cannot use VNCScreen without a ConnectionController instance. [error] * Terminating SikuliX after a fatal error 999 * On Tue, Apr 12, 2016 at 8:17 PM, Karl <question290...@answers.launchpad.net> wrote: > Your question #290731 on Sikuli changed: > https://answers.launchpad.net/sikuli/+question/290731 > > Status: Open => Answered > > Karl proposed the following answer: > Imports are the most important thing. > > > > import java.net.Socket as Socket > import edu.unh.iol.dlc.VNCScreen as VNCScreen > import edu.unh.iol.dlc.ConnectionController as ConnectionController > > print("Start!\n"); > s = Socket("frlesvmhostqa02", 9101); #open a socket to vnc server on > listening port > s.setSoTimeout(1000); > s.setKeepAlive(true); #some socket configuration > > cc = ConnectionController(s); > cc.openConnection(0); #opens the vnc connection for connection 0, multiple > are supported > cc.setPixelFormat(0, "Truecolor", 32, 0); #for connection 0, set pixel > data to Truecolor, 32 bits per pixel, little endian > cc.start(0); #start thread that keeps BufferedImage updated by polling > server for remote desktop changes > > wait(2); #wait for buffered image to be updated before we do sikuli > stuff > > vnc = VNCScreen(); #default constructor uses ConnectionController index 0 > print("Avant Capture\n"); > > Test = vnc.capture(); > Test.save("c:\\temp","test.png"); > print("Fin\n"); > > -- > If this answers your question, please go to the following page to let us > know that it is solved: > https://answers.launchpad.net/sikuli/+question/290731/+confirm?answer_id=0 > > If you still need help, you can reply to this email or go to the > following page to enter your feedback: > https://answers.launchpad.net/sikuli/+question/290731 > > You received this question notification because you asked the question. > -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
[Sikuli-driver] [Question #290731]: VNCScreen in Java work fine. HowTo in python ?
New question #290731 on Sikuli: https://answers.launchpad.net/sikuli/+question/290731 Hello. code delow work well. But I have a lot of stiff done in python and would like to continue to work with python. How to port the java sample in python ?? -- System.out.println("Start!\n"); Socket s = new Socket("frlesvmhostqa02", 9101); //open a socket to vnc server on listening port s.setSoTimeout(1000); s.setKeepAlive(true); //some socket configuration ConnectionController cc = new ConnectionController(s); cc.openConnection(0); //opens the vnc connection for connection 0, multiple are supported cc.setPixelFormat(0, "Truecolor", 32, 0); //for connection 0, set pixel data to Truecolor, 32 bits per pixel, little endian cc.start(0); //start thread that keeps BufferedImage updated by polling server for remote desktop changes Thread.sleep(2000); //wait for buffered image to be updated before we do sikuli stuff VNCScreen vnc = new VNCScreen(); //default constructor uses ConnectionController index 0 System.out.println("Avant Capture\n"); ScreenImage Test = vnc.capture(); Test.save("f:\\temp","test.png"); System.out.println("Fin\n"); -- 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 #273326]: getlocale
New question #273326 on Sikuli: https://answers.launchpad.net/sikuli/+question/273326 Probably more a Jython issue than a Sikuli one. But If you can help ... import locale loc = locale.getlocale() print loc always return (None,None) on my windows a run run with -d 3 shows : [debug] init user preferences [debug] IDE: running with Locale: fr_FR at startup, but this at excution : [debug] JythonScriptRunner: runPython: running script from IDE: Sans titre.sikuli [error] IDE: Jython UncaughtExceptionHandler: trying to cleanup. null Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread "Thread-12" [debug] RunTimeIDE: final cleanup -- 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 #272686]: find not working properly / HowTo Debug
Question #272686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272686 Status: Answered => Open David ENJOLRAS is still having a problem: I've retry with 2 findAll The 1rst fail, but the second found a match at 1.0 when requesting a 0.95 similarity ! 08:25:45 / [error] FindFailed: can not find P(OK.png) S: 0.8 in R[384,234 513x336]@S(0) Line 2189, in file Region.java 08:25:49 / Found one with score 1.00/0.95 : How can I activate more trace ? -d 4 or -d 5 don't work :- -- 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 #272686]: find not working properly / HowTo Debug
Question #272686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272686 David ENJOLRAS posted a new comment: I've try a simplified version and have understood the situation ! at 1rst try, The "OK" button don't have the focus , so is not recognized. ( It's just after open popup ) in the "except processing", I do a screen capture, with an Highlight of the region where I was looking for. and … The Highlight was giving back the Focus to the "OK" button !!! So, I have unedrstood, But I think that having Highlight() modifying the context is a bug. do you ? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Question #272686]: find not working properly / HowTo Debug
Question #272686 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/272686 Description changed to: with java version "1.8.0_60" / SikuliX (build 201510051707) / run with -d 3 I have a strange situation: In my code, If a find fails, I redo one on full screen, with less and less similar value. the code is like this : try: Searched = self.m_Region.find(aPSMRL) except FindFailed, Message: for x in range (20,4,-1): try: AllMatch = list(Sikuli.findAll(Pattern(aPSMRL).similar(x/20.0))) for aMatch in AllMatch: print('Found one with score: %.2f/%.2f' % (x/20.0,aMatch.getScore())) break except FindFailed, Message: printdebug('Not Found for: %.2f' % (x/20.0)) The Problem is that, sometime, after a failed find with default "0.8" similarity , the findAll find a match at 0.95 !! Output look like : [debug (21/10/15 14:44:00)] Region: find: waiting 3,0 secs for P(OK.png) S: 0.8 to appear in R[384,234 513x336]@S(0) [debug (21/10/15 14:44:00)] Region: checkLastSeen: not there [debug (21/10/15 14:44:03)] Region: find: P(OK.png) S: 0.8 has not appeared [250 msec] [debug] 14:44:08 / Not Found for: 1.00 14:44:08 / Found one with score: 0.95/1.00 How Can we explain this ? ( I've added some sleep nefore the 1rst find to be sure image was already on screen ) How to activate more trace ? ps: My code have a bug, I display "Found one with score "target"/"found" instead of "found"/"target" So, You can see that no result with similar = 1.0, but found 1.0 with target 0.95 ! -- 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 #272686]: find not working properly / HowTo Debug
New question #272686 on Sikuli: https://answers.launchpad.net/sikuli/+question/272686 with java version "1.8.0_60" / SikuliX (build 201510051707) / run with -d 3 I have a strange situation: In my code, If a find fails, I redo one on full screen, with less and less similar value. the code is like this : try: Searched = self.m_Region.find(aPSMRL) except FindFailed, Message: for x in range (20,4,-1): try: AllMatch = list(Sikuli.findAll(Pattern(aPSMRL).similar(x/20.0))) for aMatch in AllMatch: print('Found one with score: %.2f/%.2f' % (x/20.0,aMatch.getScore())) break except FindFailed, Message: printdebug('Not Found for: %.2f' % (x/20.0)) The Problem is that, sometime, after a failed find with default "0.8" similarity , the findAll find a match at 0.95 !! Output look like : [debug (21/10/15 14:44:00)] Region: find: waiting 3,0 secs for P(OK.png) S: 0.8 to appear in R[384,234 513x336]@S(0) [debug (21/10/15 14:44:00)] Region: checkLastSeen: not there [debug (21/10/15 14:44:03)] Region: find: P(OK.png) S: 0.8 has not appeared [250 msec] [debug] 14:44:08 / Not Found for: 1.00 14:44:08 / Found one with score: 0.95/1.00 How Can we explain this ? ( I've added some sleep nefore the 1rst find to be sure image was already on screen ) How to activate more trace ? -- 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 #272206]: details on Find result
New question #272206 on Sikuli: https://answers.launchpad.net/sikuli/+question/272206 in debug mode, we can see that find generate such log : [debug] Region: find: P(RepositoryPath.png) S: 0.7 has appeared at M[434,329 409x188]@S(S(0)[0,0 1280x960]) S:0.81 C:638,423 [687 msec] using : Searched = m_Region.find(aPSMRL) TheLocation = Searched.getTarget() print ('Found with score ' , Searched.getScore(),' at ',TheLocation.getX(),',',TheLocation.getY()) We can get the score, and the central point ( 638,423 ), But How to get the Match details [434,329 409x188] ? ps: The context: I would like the execution on 1 OS to generate a trace I can reuse to auto-generate new image at the "supposed position" in case of find failure when re-executing later -- 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 #272118]: Check if image file exist in getImagePath()
New question #272118 on Sikuli: https://answers.launchpad.net/sikuli/+question/272118 a direct usage of Pattern('a') return error] Image: could not be loaded: file:/H:/test.sikuli/a.png [error] Image: Image not valid, but TextSearch is switched off! I would like to be able to check the file 'a.png' exist in the Sikuli Image Paths. How to ? -- 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 #272074]: How to Manage image recognition across windows versions ?
New question #272074 on Sikuli: https://answers.launchpad.net/sikuli/+question/272074 I have a set of sikuly script running well on a windows 2003, but failing on 2008. Same fro script adapted for 2008, they are failing on 2012... The reason is simple : Microsoft have change the appearance of the dialog & Button ( just run winver and look at the "OK" button" ) Setting similarity to a lower value does not really help. Does somebody have already face such issue ? I don't want to redo all screen shoot :-( -- 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 #271928]: type(xxx, Key.DELETE) don't delete highlighted text
New question #271928 on Sikuli: https://answers.launchpad.net/sikuli/+question/271928 in Notepad, enter "ThisIsaTest" and double click on it in order to get it selected with sikuli, run type(,Key.DELETE) instead of having deleted the selection, only 1 char have been removed ? type(,Key.SHIFT+Key.DELETE) is even "strange": it replace the text by a number ??? How to delete the whole highlighted text ? -- 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 #185791]: How to run "Sikuli On Virtual Machines"
Question #185791 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/185791 David ENJOLRAS posted a new comment: > --- in version 1.1.0 there is a new VNC solution ... > ... but this is not yet stable and under investigation () Do you have update on this ? I have not found any doc :-( >--- the remote server feature in 1.1.0 (setup option 5) ... >... can be used from the script level as well. Same question, I'm interested on this ! -- 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 #185791]: How to run "Sikuli On Virtual Machines"
Question #185791 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/185791 David ENJOLRAS posted a new comment: @RaiMan, sorry, I didn't understand your answer for help about "--- the remote server feature in 1.1.0 (setup option 5) ..." Actual 1.1.0 setup have 3 options. Does the "remote server" is deprecated ? -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. ___ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp
Re: [Sikuli-driver] [Bug 1495973] Re: fatal error 999 / doFind: invalid parameter
Yes. Envoyé de mon iPhone > Le 15 sept. 2015 à 17:37, RaiMana écrit : > > I do not know a version 1.0 > > Do you mean 1.0.1 ?? > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1495973 > > Title: > fatal error 999 / doFind: invalid parameter > > Status in Sikuli: > Invalid > > Bug description: > +++ running this Java > java version "1.8.0_60" > Java(TM) SE Runtime Environment (build 1.8.0_60-b27) > Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing) > +++ trying to run SikuliX > +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine > -jar U:\generic\SIKULI\sikulix.jar -r > C:\Users\Administrateur\AppData\Local\Temp\TAuto\Setup\Server_Uninstall.sikuli > --stderr -d 3 > [debug] RunTimeINIT: loadOptions: check: > C:\Users\Administrateur\AppData\Local\Temp\TAuto\TESTDATA > [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur > [debug] RunTimeINIT: loadOptions: check: > C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixStore > [debug] RunTimeINIT: global init: entering as: IDE > [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) > [debug] RunTimeINIT: Monitor 0: (0, 0) 1280 x 960 > [debug] RunTimeINIT: fSxBase: U:\generic\SIKULI > [debug] RunTimeINIT: runs as sikulix.jar in: U:\generic\SIKULI > [debug] RunTimeINIT: exists libs folder at: > C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixLibs_201509150100 > [debug] RunTimeINIT: addToWindowsSystemPath: added to systempath: > > > Result = wait("MyImage.png") > Pattern_Before_Remove = Result.nearby() > > > > WaitResult = waitVanish(Pattern_Before_Remove,120) > > > [debug] Region: find: waiting 3,0 secs for R[473,385 282x118]@S(0)[0,0 > 1280x960] E:Y, T:3,0 to appear in R[0,0 1280x960]@S(0) > [error] Region: doFind: invalid parameter: R[473,385 282x118]@S(0)[0,0 > 1280x960] E:Y, T:3,0 > [error] * Terminating SikuliX after a fatal error 999 * > It makes no sense to continue! > If you do not have any idea about the error cause or solution, run again > with a Debug level of 3. You might paste the output to the Q board. > [debug] Sikulix: cleanUp: 0 > [debug] RunTimeIDE: final cleanup > > To manage notifications about this bug go to: > https://bugs.launchpad.net/sikuli/+bug/1495973/+subscriptions -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1495973 Title: fatal error 999 / doFind: invalid parameter Status in Sikuli: Invalid Bug description: +++ running this Java java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing) +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar U:\generic\SIKULI\sikulix.jar -r C:\Users\Administrateur\AppData\Local\Temp\TAuto\Setup\Server_Uninstall.sikuli --stderr -d 3 [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Local\Temp\TAuto\TESTDATA [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1280 x 960 [debug] RunTimeINIT: fSxBase: U:\generic\SIKULI [debug] RunTimeINIT: runs as sikulix.jar in: U:\generic\SIKULI [debug] RunTimeINIT: exists libs folder at: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixLibs_201509150100 [debug] RunTimeINIT: addToWindowsSystemPath: added to systempath: Result = wait("MyImage.png") Pattern_Before_Remove = Result.nearby() WaitResult = waitVanish(Pattern_Before_Remove,120) [debug] Region: find: waiting 3,0 secs for R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 to appear in R[0,0 1280x960]@S(0) [error] Region: doFind: invalid parameter: R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 [error] * Terminating SikuliX after a fatal error 999 * It makes no sense to continue! If you do not have any idea about the error cause or solution, run again with a Debug level of 3. You might paste the output to the Q board. [debug] Sikulix: cleanUp: 0 [debug] RunTimeIDE: final cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1495973/+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 1495973] Re: fatal error 999 / doFind: invalid parameter
it's on a French Windows 2008 R2, with the Sikuli Build from this night. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1495973 Title: fatal error 999 / doFind: invalid parameter Status in Sikuli: Invalid Bug description: +++ running this Java java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing) +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar U:\generic\SIKULI\sikulix.jar -r C:\Users\Administrateur\AppData\Local\Temp\TAuto\Setup\Server_Uninstall.sikuli --stderr -d 3 [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Local\Temp\TAuto\TESTDATA [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1280 x 960 [debug] RunTimeINIT: fSxBase: U:\generic\SIKULI [debug] RunTimeINIT: runs as sikulix.jar in: U:\generic\SIKULI [debug] RunTimeINIT: exists libs folder at: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixLibs_201509150100 [debug] RunTimeINIT: addToWindowsSystemPath: added to systempath: Result = wait("MyImage.png") Pattern_Before_Remove = Result.nearby() WaitResult = waitVanish(Pattern_Before_Remove,120) [debug] Region: find: waiting 3,0 secs for R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 to appear in R[0,0 1280x960]@S(0) [error] Region: doFind: invalid parameter: R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 [error] * Terminating SikuliX after a fatal error 999 * It makes no sense to continue! If you do not have any idea about the error cause or solution, run again with a Debug level of 3. You might paste the output to the Q board. [debug] Sikulix: cleanUp: 0 [debug] RunTimeIDE: final cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1495973/+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 1495973] [NEW] fatal error 999 / doFind: invalid parameter
Public bug reported: +++ running this Java java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing) +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar U:\generic\SIKULI\sikulix.jar -r C:\Users\Administrateur\AppData\Local\Temp\TAuto\Setup\Server_Uninstall.sikuli --stderr -d 3 [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Local\Temp\TAuto\TESTDATA [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1280 x 960 [debug] RunTimeINIT: fSxBase: U:\generic\SIKULI [debug] RunTimeINIT: runs as sikulix.jar in: U:\generic\SIKULI [debug] RunTimeINIT: exists libs folder at: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixLibs_201509150100 [debug] RunTimeINIT: addToWindowsSystemPath: added to systempath: Result = wait("MyImage.png") Pattern_Before_Remove = Result.nearby() WaitResult = waitVanish(Pattern_Before_Remove,120) [debug] Region: find: waiting 3,0 secs for R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 to appear in R[0,0 1280x960]@S(0) [error] Region: doFind: invalid parameter: R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 [error] * Terminating SikuliX after a fatal error 999 * It makes no sense to continue! If you do not have any idea about the error cause or solution, run again with a Debug level of 3. You might paste the output to the Q board. [debug] Sikulix: cleanUp: 0 [debug] RunTimeIDE: final cleanup ** 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/1495973 Title: fatal error 999 / doFind: invalid parameter Status in Sikuli: New Bug description: +++ running this Java java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing) +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar U:\generic\SIKULI\sikulix.jar -r C:\Users\Administrateur\AppData\Local\Temp\TAuto\Setup\Server_Uninstall.sikuli --stderr -d 3 [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Local\Temp\TAuto\TESTDATA [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1280 x 960 [debug] RunTimeINIT: fSxBase: U:\generic\SIKULI [debug] RunTimeINIT: runs as sikulix.jar in: U:\generic\SIKULI [debug] RunTimeINIT: exists libs folder at: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixLibs_201509150100 [debug] RunTimeINIT: addToWindowsSystemPath: added to systempath: Result = wait("MyImage.png") Pattern_Before_Remove = Result.nearby() WaitResult = waitVanish(Pattern_Before_Remove,120) [debug] Region: find: waiting 3,0 secs for R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 to appear in R[0,0 1280x960]@S(0) [error] Region: doFind: invalid parameter: R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 [error] * Terminating SikuliX after a fatal error 999 * It makes no sense to continue! If you do not have any idea about the error cause or solution, run again with a Debug level of 3. You might paste the output to the Q board. [debug] Sikulix: cleanUp: 0 [debug] RunTimeIDE: final cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1495973/+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 1495973] Re: fatal error 999 / doFind: invalid parameter
I can change my code, For the record, this is working well with 1.0 version. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1495973 Title: fatal error 999 / doFind: invalid parameter Status in Sikuli: Invalid Bug description: +++ running this Java java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing) +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar U:\generic\SIKULI\sikulix.jar -r C:\Users\Administrateur\AppData\Local\Temp\TAuto\Setup\Server_Uninstall.sikuli --stderr -d 3 [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Local\Temp\TAuto\TESTDATA [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1280 x 960 [debug] RunTimeINIT: fSxBase: U:\generic\SIKULI [debug] RunTimeINIT: runs as sikulix.jar in: U:\generic\SIKULI [debug] RunTimeINIT: exists libs folder at: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixLibs_201509150100 [debug] RunTimeINIT: addToWindowsSystemPath: added to systempath: Result = wait("MyImage.png") Pattern_Before_Remove = Result.nearby() WaitResult = waitVanish(Pattern_Before_Remove,120) [debug] Region: find: waiting 3,0 secs for R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 to appear in R[0,0 1280x960]@S(0) [error] Region: doFind: invalid parameter: R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 [error] * Terminating SikuliX after a fatal error 999 * It makes no sense to continue! If you do not have any idea about the error cause or solution, run again with a Debug level of 3. You might paste the output to the Q board. [debug] Sikulix: cleanUp: 0 [debug] RunTimeIDE: final cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1495973/+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 1495552] [NEW] Pattern don't have a wait to access to requested similarity
Public bug reported: We can do : MyPattern = Pattern("Test.png").similar(0.62).targetOffset(56,-17) MyPattern.getFilename() MyPattern.getTargetOffset() but no "MyPattern.GetSimilar() exist." ** 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/1495552 Title: Pattern don't have a wait to access to requested similarity Status in Sikuli: New Bug description: We can do : MyPattern = Pattern("Test.png").similar(0.62).targetOffset(56,-17) MyPattern.getFilename() MyPattern.getTargetOffset() but no "MyPattern.GetSimilar() exist." To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1495552/+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 1495416] Re: MyRegion.click() don't work after MyRegion.highlight()
Why invalid ? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1495416 Title: MyRegion.click() don't work after MyRegion.highlight() Status in Sikuli: In Progress Bug description: With Java 8 Build 60 and Sikulix "1.1.0.201509110100" under a French windows 2008 R2. result = App("winver").open() if (result == None): raise Exception("Application not openned") MyRegion=find("Winver_Screen.png") MyRegion.highlight() MyRegion.click("Button_OK_In_winver.png") popup("End") ==> The "winver" app don't close. ( and the Highlight disappear, which is also not expected ) Same without the highlight is ok Same with the highlight twice is ok ( add and remove highlight ) Same with an highlight(2) is ok ( highlight for 2 seconds ) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1495416/+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 1495416] [NEW] MyRegion.click() don't work after MyRegion.highlight()
Public bug reported: With Java 8 Build 60 and Sikulix "1.1.0.201509110100" under a French windows 2008 R2. result = App("winver").open() if (result == None): raise Exception("Application not openned") MyRegion=find("Winver_Screen.png") MyRegion.highlight() MyRegion.click("Button_OK_In_winver.png") popup("End") ==> The "winver" app don't close. ( and the Highlight disappear, which is also not expected ) Same without the highlight is ok Same with the highlight twice is ok ( add and remove highlight ) Same with an highlight(2) is ok ( highlight for 2 seconds ) ** 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/1495416 Title: MyRegion.click() don't work after MyRegion.highlight() Status in Sikuli: New Bug description: With Java 8 Build 60 and Sikulix "1.1.0.201509110100" under a French windows 2008 R2. result = App("winver").open() if (result == None): raise Exception("Application not openned") MyRegion=find("Winver_Screen.png") MyRegion.highlight() MyRegion.click("Button_OK_In_winver.png") popup("End") ==> The "winver" app don't close. ( and the Highlight disappear, which is also not expected ) Same without the highlight is ok Same with the highlight twice is ok ( add and remove highlight ) Same with an highlight(2) is ok ( highlight for 2 seconds ) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1495416/+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 1495416] Re: [1.1.0] click(ButtonInMyRegion) does not work after MyRegion.highlight() --- highlight has to be stopped before
ok. I'll change my code. For the record: I run sikuli automatically from Command line each night over multiple systems, and I cannot "look the screen" to debug. Instead, I've re-wroten must of the proc to include screen capture at all steps and generate an html report. You can contact me in private for details if you want. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1495416 Title: [1.1.0] click(ButtonInMyRegion) does not work after MyRegion.highlight() --- highlight has to be stopped before Status in Sikuli: In Progress Bug description: With Java 8 Build 60 and Sikulix "1.1.0.201509110100" under a French windows 2008 R2. result = App("winver").open() if (result == None): raise Exception("Application not openned") MyRegion=find("Winver_Screen.png") MyRegion.highlight() MyRegion.click("Button_OK_In_winver.png") popup("End") ==> The "winver" app don't close. ( and the Highlight disappear, which is also not expected ) Same without the highlight is ok Same with the highlight twice is ok ( add and remove highlight ) Same with an highlight(2) is ok ( highlight for 2 seconds ) To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1495416/+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 #271287]: Highlight on "previous region found" create a blank box
Question #271287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271287 Description changed to: Using sikulixsetup-1.1.0-20150910.231027-160-forsetup Open Notepad, enter "My test Here" with Sikuli : Region1= find( Region2= find( Region1.highlight() popup("pause") ==> The area where "My test Here" is found become blank instead of the expected Red Line around. Do you reproduce ? Any idea ? -- 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 #271287]: Highlight on "previous region found" create a blank box
New question #271287 on Sikuli: https://answers.launchpad.net/sikuli/+question/271287 Using sikulixsetup-1.1.0-20150910.231027-160-forsetup Open Notepad, entre "My test Here" with Sikuli : Region1= find( Region2= find( Region1.highlight() popup("pause") ==> The area where "My test Here" is found become blank instead of the expected Red Line around. Do you reproduce ? Any idea ? -- 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 #271287]: Highlight on "previous region found" create a blank box
Question #271287 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/271287 Status: Needs information => Solved David ENJOLRAS confirmed that the question is solved: Was Java6 ( same host as the one where I have Sikuli 1.0 ) With Java8, it's indeed working ! Thanks. -- 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 950603] Re: X-1.0rc3: Region.highlight() should not close expanded menu or drop down
I confirm this bug description, and I'm also interested in a solution... Thanks. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/950603 Title: X-1.0rc3: Region.highlight() should not close expanded menu or drop down Status in Sikuli: In Progress Bug description: Hello, In sikuli rc3 it was noticed that, after clicking upon a drop-down button, then highlighting the expanded menu area, the highlight execution seems to close the expanded drop-down menu. This behavior was not present in rc2, where it was possible to highlight an expanded drop-down menu (this is the desired behavior). Would it be possible to have the highlight behavior upon an expanded drop down menu maintain the menu expanded during and after highlight execution? (in rc3) Thanks, To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/950603/+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