[Sikuli-driver] [Bug 1885858] Re: VNCstart does not return on failure

2020-07-16 Thread Glenn Tanner
Additionally it does not appear 'timeout' is used/set to detect loss of connection -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1885858 Title: VNCstart does not return on failure Status in

[Sikuli-driver] [Bug 1885858] Re: VNCstart does not return on failure

2020-07-16 Thread Glenn Tanner
Hi RaiMan, I think I found the bug. https://github.com/RaiMan/SikuliX1/blob/master/API/src/main/java/org/sikuli/vnc/VNCScreen.java line 88 I am not hosting VNC, so no vnc server at default IP 127.0.0.1 vncStart(remote values) java line 79 start scr = canConnect() # null if (null != scr) { }

[Sikuli-driver] [Bug 1885858] Re: VNCstart does not return on failure

2020-07-10 Thread Glenn Tanner
RaiMan, Thank you for looking into this. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1885858 Title: VNCstart does not return on failure Status in Sikuli: In Progress Bug description:

[Sikuli-driver] [Bug 1885858] Re: VNC connect does not return on failure

2020-07-09 Thread Glenn Tanner
** Summary changed: - Unable to connect VNC from sikuli after 39th iterations + VNC connect does not return on failure ** Summary changed: - VNC connect does not return on failure + VNCstart does not return on failure -- You received this bug notification because you are a member of Sikuli

[Sikuli-driver] [Bug 1885858] Re: Unable to connect VNC from sikuli after 39th iterations

2020-07-01 Thread Glenn Tanner
Hi Raiman, I hope this helps, this is the basic flow. The vncStart never comes out if the unit exists but connect fails. Now I have seen the same type of behavior in KRDC (linux RDP/VNC client) for n in rang(200): wait("reboot.png", 6).click() sleep(2) # function in our code,

[Sikuli-driver] [Bug 1867801] Re: VNC mouseDown(Button.LEFT) does not work returns None

2020-03-17 Thread Glenn Tanner
Found Mouse.LEFT here: https://github.com/RaiMan/SikuliX1/blob/master/API/src/main/java/org/sikuli/vnc/VNCRobot.java Descriptincy between sikuli and VNC? -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli.

[Sikuli-driver] [Bug 1867801] Re: VNC mouseDown(Button.LEFT) does not work returns None

2020-03-17 Thread Glenn Tanner
Update: Button.LEFT does not press down Mouse.LEFT does 1 throws error under 2.0.4 (as it probably should, previously tested under 2.0.2) -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1867801

[Sikuli-driver] [Bug 1867801] [NEW] VNC mouseDown(Button.LEFT) does not work returns None

2020-03-17 Thread Glenn Tanner
Public bug reported: Host: Arch Linux Target: Linux Hi Raiman, I know you hate VNC and have no plans to support it, but I am using it extensively and once again need some help. In my script I am trying to click and hold (mouseDown) on a password reveal icon (fail), capture the screen shot of

Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread Glenn Tanner
Question #689302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689302 Glenn Tanner posted a new comment: Understood, but i wouldn't call this special as multi screens are supported and "your" copy of documentation leaves out the 5th pram which is IScreen. If you co

Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread Glenn Tanner
Question #689302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689302 Status: Open => Solved Glenn Tanner confirmed that the question is solved: RESOLVED: After searching for copyTo found "https://www.codota.com/code/java/classes/org.sikuli.script.Region; whic

Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread Glenn Tanner
Question #689302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689302 Status: Answered => Open Glenn Tanner is still having a problem: It was more about quick values. I want to findText in a nearby region. I dont see where copyTo is documented. R = Region(M.x-20, M.y+

Re: [Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread Glenn Tanner
Question #689302 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/689302 Glenn Tanner posted a new comment: After further reading. It seems newRegion needs to be added to the screen class globally. -- You received this question notification because your team Sikuli Drivers

[Sikuli-driver] [Question #689302]: How to set the screen of a new region

2020-03-13 Thread Glenn Tanner
New question #689302 on Sikuli: https://answers.launchpad.net/sikuli/+question/689302 When I create a region, i want to set the screen of that region. I can only find a getScreen option for the region https://sikulix-2014.readthedocs.io/en/latest/region.html#Region.getScreen. Just a moment ago

[Sikuli-driver] [Bug 1863949] Re: [2.0.2] VNC: capture() returns ScreenImage instead of filename

2020-02-20 Thread Glenn Tanner
found related, 315005, thanks to getFile command. I suppose you can close, please document this. https://sikulix-2014.readthedocs.io/en/latest/screen.html#Screen.capture >From documentation: Capturing is the feature, to grab a rectangle of pixels from a screenshot and save it to a file for

[Sikuli-driver] [Bug 1863949] Re: [2.0.2] VNC: capture() returns ScreenImage instead of filename

2020-02-20 Thread Glenn Tanner
Hi RaiMan, Thanks for the getFile command. I wanted to point out this is not limited to VNC, I was not clear before. W/O vnc (I have 3 monitors): imagePath = Screen(0).capture() print imagePath imagePath = Screen(1).capture() print imagePath imagePath = Screen(2).capture() print imagePath

[Sikuli-driver] [Bug 1863949] [NEW] capture is returning different data types depending on call

2020-02-19 Thread Glenn Tanner
Public bug reported: In 2.0.2, on 64 bit Arch Linux, depending on how capture is called it is no longer returning a file path. I cannot find anywhere where this behavior is documented and therefore am reporting it as a bug. It seems to be returning a java object and making a java call. imagePath

[Sikuli-driver] [Bug 1532541] Re: [1.1.0] Possible memory leak with Region objects in long running Jython scripts

2020-01-10 Thread Glenn Tanner
Hi RaiMan, Hope this test helps. Arch Linux java-11-openjdk sikulix-2.0.1 Memory usage increases with every run by about 60-90M, VNC library in use. Tested by turning off auto-save and changing nothing, just hit 'run' button: Open->356->run->540->run->627 MB of RES memory. -- You received

Re: [Sikuli-driver] [Question #237032]: Problems building the Sikuli sources

2016-04-19 Thread Tanner
Question #237032 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/237032 Tanner posted a new comment: The problem for me was I had not imported the project's maven repository. I added SikuliX-repo http://oss.sonatype.org/content/groups