[Sikuli-driver] [Question #294000]: Location outside any screen

2016-05-20 Thread Erich Fiederer
New question #294000 on Sikuli:
https://answers.launchpad.net/sikuli/+question/294000

Hello,

I am running a suite of tests through sikuli 1.1.0 integrated through Jenkins 
on my software. When I run the scripts through the sikuli IDE, they run fine. 
However, when I try to run them from command line through jenkins I get the 
"location outside any screen" error. At one point these scripts were running 
properly through jenkins, but they stopped. Here is what happens:

C:\jenkins\workspace\Sikuli Windows>cd "C:\Users\jenkins\Desktop\sikuli" 

C:\Users\jenkins\Desktop\Sikuli>runsikulix.cmd -r 
".\WindowsLibrary\SFR_basic.sikuli" 
+++ running this Java
java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) Client VM (build 25.77-b03, mixed mode, sharing)
+++ trying to run SikuliX
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar 
C:\Users\jenkins\Desktop\Sikuli\sikulix.jar -r 
".\WindowsLibrary\SFR_basic.sikuli"
[error] Location: outside any screen (13025600, 13025600) - subsequent actions 
might not work as expected
[error] Location: outside any screen (13025600, 13025600) - subsequent actions 
might not work as expected
[error] script [ 
C:\Users\jenkins\Desktop\Sikuli\WindowsLibrary\SFR_basic.sikuli ] stopped with 
error in line 2
[error] FindFailed ( can not find 1447104660675.png in R[0,0 1024x768]@S(0) )
[error] --- Traceback --- error source first
line: module ( function ) statement 
57: Region (  wait )   Line 2189, in file Region.java
[error] --- Traceback --- end --

What can I do?

-- 
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 #293847]: How to gracefully interrupt running script when using SwingWorker and JFrame?

2016-05-20 Thread Mike
Question #293847 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293847

Status: Answered => Open

Mike is still having a problem:
That seems to have helped a bit, but I'm still getting some sort of
crash:

***Automation Stuff Should End***

Exception in thread "AWT-EventQueue-0" 
java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask.report(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at javax.swing.SwingWorker.get(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
at org.python.core.PyObject.__call__(PyObject.java:461)
at org.python.core.PyObject.__call__(PyObject.java:465)
at org.python.core.PyMethod.__call__(PyMethod.java:126)
at 
org.python.pycode._pyx459.done$4(C:\Users\mspicer\Documents\sikulistuff\gamma_test_screen.sikuli\gamma_test_screen.py:30)
at org.python.pycode._pyx459.call_function(C:\Users\mspicer\D

ocuments\sikulistuff\gamma_test_screen.sikuli\gamma_test_screen.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyBaseCode.call(PyBaseCode.java:307)
at org.python.core.PyBaseCode.call(PyBaseCode.java:198)
at org.python.core.PyFunction.__call__(PyFunction.java:482)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:218)
at org.python.core.PyMethod.__call__(PyMethod.java:213)
at org.python.core.PyObject._jcallexc(PyObject.java:3626)
at org.python.core.PyObject._jcall(PyObject.java:3658)
at org.python.proxies.__main__$BgTask$6.done(Unknown Source)
at javax.swing.SwingWorker$5.run(Unknown Source)
at javax.swing.SwingWorker.doneEDT(Unknown Source)
at javax.swing.SwingWorker.access$100(Unknown Source)
at javax.swing.SwingWorker$2.done(Unknown Source)
at java.util.concurrent.FutureTask.finishCompletion(Unknown Source)
at java

.util.concurrent.FutureTask.cancel(Unknown Source)
at javax.swing.SwingWorker.cancel(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
at org.python.core.PyObject.__call__(PyObject.java:478)
at org.python.core.PyObject.__call__(PyObject.java:482)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at 
org.python.pycode._pyx459.stopSomething$8(C:\Users\mspicer\Documents\sikulistuff\gamma_test_screen.sikuli\gamma_test_screen.py:42)
at 
org.python.pycode._pyx459.call_function(C:\Users\mspicer\Documents\sikulistuff\gamma_test_screen.sikuli\gamma_test_screen.py)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org

.python.core.PyBaseCode.call(PyBaseCode.java:307)

at org.python.core.PyBaseCode.call(PyBaseCode.java:198)
at org.python.core.PyFunction.__call__(PyFunction.java:482)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:223)
at org.python.core.PyCompoundCallable.__call__(PyCompoundCallable.java:26)
at org.python.core.PyObject.__call__(PyObject.java:431)
at org.python.core.PyObject._jcallexc(PyObject.java:3626)
at org.python.core.PyObject._jcall(PyObject.java:3658)
at org.python.proxies.java.awt.event.ActionListener.actionPerformed(Unknown 
Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.p

rocessMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispa

Re: [Sikuli-driver] [Question #293980]: With will become a reserved keyword in python 2.6

2016-05-20 Thread Shobin
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Shobin gave more information on the question:
Can you tell me how to make the calc.py example work in the latest
version of the tool.

Like the below example:

 http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-
robotframework.

Danke Herr

-- 
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 #293986]: Do we have zoom in and zoom out option in Pattern setting Target offset screen

2016-05-20 Thread Raghuvardhan Katta
Question #293986 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293986

Raghuvardhan Katta confirmed that the question is solved:
Thanks RaiMan, that solved my question.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293986]: Do we have zoom in and zoom out option in Pattern setting Target offset screen

2016-05-20 Thread Raghuvardhan Katta
Question #293986 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293986

Status: Answered => Solved

Raghuvardhan Katta confirmed that the question is solved:
Thanks RaiMan it is working dine in 1.1.1

-- 
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 #293980]: With will become a reserved keyword in python 2.6

2016-05-20 Thread Shobin
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Status: Answered => Open

Shobin is still having a problem:
Did that just now, 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


Re: [Sikuli-driver] [Question #293980]: With will become a reserved keyword in python 2.6

2016-05-20 Thread RaiMan
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Status: Open => Answered

RaiMan proposed the following answer:
ok, then you have to pull the today's git, run clean install and test
again.

-- 
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 #293980]: With will become a reserved keyword in python 2.6

2016-05-20 Thread Shobin
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Status: Answered => Open

Shobin is still having a problem:
I have Run with the build 1.1.1 2016-05-19

Clean install using netbeans maven build.

-- 
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 #293986]: Do we have zoom in and zoom out option in Pattern setting Target offset screen

2016-05-20 Thread Raghuvardhan Katta
Question #293986 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293986

Status: Needs information => Open

Raghuvardhan Katta gave more information on the question:
It is 1.0.1 version.I apologize for not mentioning Version.
Thanks,
Raghuvardhan

-- 
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 #293986]: Do we have zoom in and zoom out option in Pattern setting Target offset screen

2016-05-20 Thread RaiMan
Question #293986 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293986

Status: Open => Answered

RaiMan proposed the following answer:
you should try out the latest nightly 1.1.1 (http://sikulix.com)

-- 
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 #293980]: With will become a reserved keyword in python 2.6

2016-05-20 Thread RaiMan
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Status: Open => Answered

RaiMan proposed the following answer:
have you run setup with the build  1.1.1 2016-05-20_13:31nightly ?

take care, that your environment do not point to anything, that you
might think is needed for SikuliX: there is nothing else needed than a
correct clean setup.

-- 
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 #293986]: Do we have zoom in and zoom out option in Pattern setting Target offset screen

2016-05-20 Thread RaiMan
Question #293986 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293986

Status: Open => Needs information

RaiMan requested more information:
is it version 1.1.1 or t least 1.1.0 ?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #293984]: [enhancement request] String Literal (''')Color

2016-05-20 Thread RaiMan
Question #293984 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293984

Status: Open => Answered

RaiMan proposed the following answer:
ok, understood.

I will not invest any effort  for new features into the 1.1.x IDE

In version 2 I will use a bundled jEdit enhanced with the features that make 
sense for Sikuli scripting (mainly image support and running scripts). 
Then you will have this feature and much more.

Another option already today is to use PyCharm for the coding and
SikuliIDE for the images together side by side.

-- 
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 #293986]: Do we have zoom in and zoom out option in Pattern setting Target offset screen

2016-05-20 Thread Raghuvardhan Katta
New question #293986 on Sikuli:
https://answers.launchpad.net/sikuli/+question/293986

Hi Team,

I am facing a difficulty in selecting something far from image.
I need test in application in multiple languages so I am trying select an 
unique image on the screen and then from the selected image I am trying perform 
some action with offset value.But in Target off set screen half the screen is 
dedicated to Ok,Apply,Cancel button and Target offset values which making 
difficult for me to select offset value from the selected image.Is there are 
any way we can drag the image down or zoom in and zoom out option.
Thanks in advance.

-- 
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 #293512]: [1.1.1] Using Robotframework with SikuliX (2016-05-20+)

2016-05-20 Thread Ryan
Question #293512 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293512

Ryan posted a new comment:
Thanks for the update!  can't wait to try it!

-- 
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 #293980]: With will become a reserved keyword in python 2.6

2016-05-20 Thread Shobin
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Status: Answered => Open

Shobin is still having a problem:
I also tried to modify it like this but still same error.

runScript("""
robot
***Settings***
Library calc.Calculator WITH NAME Calculator

***Test Cases***
Verify that 2 + 2 = 4
 Start App
 Verify App
 Perform Action 2 + 2
 Verify Result 4

Verify that 2 + 2 = 5
 Start App
 Verify App
 Perform Action 2 + 2
 Verify Result 5

Click on non-existent button "Exp"
 Start App
 Verify App
 Perform Action 2 exp 2
 Verify Result 2""")

-- 
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 #293984]: [enhancement request] String Literal (''')Color

2016-05-20 Thread Karl
Question #293984 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293984

Status: Needs information => Open

Karl gave more information on the question:
Unenhanced (current): https://ibin.co/2hof75y9HlTK.png
Enhanced (future): https://ibin.co/2hofQ8mHiqAo.png

-- 
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 #293980]: With will become a reserved keyword in python 2.6

2016-05-20 Thread Shobin
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Shobin posted a new comment:
Thank you RaiMan, Sorry to ask such a basic question but I am trying out
the calculator example from mike's blog.

and i have the calc.sikuli folder and everything , according to the post
which you just shared .

step1: I opened Sikuli and paster this

runScript("""
robot
*** Variables ***
${USERNAME}   demo
${PASSWORD}   mode
${TESTSITE}   http://test.sikuli.de
*** Settings ***
Library   ./inline/LoginLibrary
Test Setupstart firefox and goto testsite${TESTSITE}
Test Teardown stop firefox
*** Test Cases ***
User can log in with correct user and password
Attempt to Login with Credentials${USERNAME}${PASSWORD}
Status Should BeAccepted
User cannot log in with invalid user or bad password
Attempt to Login with Credentialsbettywrong
Status Should BeDenied
""")

class LoginLibrary(object):
  def start_firefox_and_goto_testsite(self, page):
popup("start_firefox_and_goto_testsite")
  def stop_firefox(self):
popup("stop_firefox")
  def attempt_to_login_with_credentials(self, username, password):
popup("attempt_to_login_with_credentials")
  def status_should_be(self, expected):
popup("status_should_be")

and executed , it shows error the no module name robot.

-- 
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 #293980]: With will become a reserved keyword in python 2.6

2016-05-20 Thread Shobin
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Shobin posted a new comment:
I also tried to modify it like this but still same error.

runScript("""
robot
***Settings***
Library  calc.Calculator  WITH NAME  Calculator

***Test Cases***
Verify that 2 + 2 = 4
Start App
Verify App
Perform Action  2  +  2
Verify Result  4

Verify that 2 + 2 = 5
Start App
Verify App
Perform Action  2  +  2
Verify Result  5

Click on non-existent button "Exp"
Start App
Verify App
Perform Action  2  exp  2
Verify Result  2""")

-- 
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 #293984]: [enhancement request] String Literal (''')Color

2016-05-20 Thread Karl
New question #293984 on Sikuli:
https://answers.launchpad.net/sikuli/+question/293984

Can the IDE  be updated to change the contents of string literals to look like 
comments?

-- 
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 #293980]: With will become a reserved keyword in python 2.6

2016-05-20 Thread RaiMan
Question #293980 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293980

Status: Open => Answered

RaiMan proposed the following answer:
have a look here for the first steps without extra effort:
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-robotframework

-- 
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 #293984]: [enhancement request] String Literal (''')Color

2016-05-20 Thread RaiMan
Question #293984 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293984

Status: Open => Needs information

RaiMan requested more information:
example?

-- 
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 #293975]: Not able to differentiate among images in Sikuli

2016-05-20 Thread Karl
Question #293975 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293975

Status: Open => Answered

Karl proposed the following answer:
Color differences are only detected when similarity is exact() or
greater than 0.999 (using manual file editing).

-- 
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 1584054] [NEW] Find(String) not functional

2016-05-20 Thread h3kdM3x
Public bug reported:

Sikulix setup done by sikulixsetup-1.1.1-20160520.065527-27-forsetup.jar
OS Win 7 Pro 
JRE 1.8.0_31

Function find() does not accept argument of type string.

Running this code >

# -*- coding: utf-8 -*
Debug.on(3)
import org.sikuli.script.TextRecognizer as TR
Settings.OcrReadText = True
Settings.OcrSearchText = True
Settings.OcrLanguage = "slk"
TR.reset()
#find("1463748965451.png")
find("Upozornenie")
#print m
#print m.getTarget()
r = Region(433,351,89,15)
r.highlight(5)

Causes >

[debug] FileManager: tempfile create: 
C:\Users\255304\AppData\Local\Temp\Sikulix_1244007538\sikuli-5908137321867601659.py
[debug] Jython: requested to use as default region: S(0)[0,0 1280x1024]

[debug] JythonScriptRunner: runPython: running script from IDE: Untitled.sikuli
[error] Image: could not be loaded: 
file:/C:/Users/255304/AppData/Local/Temp/Sikulix_1244007538/tmp-1705873482.sikuli/Upozornenie.png
[debug] Region: handleImageMissing: Upozornenie.png (capture missing )
[error] RunTimeIDE: Exists: Abort: Jython: at sikuli-5908137321867601659 (1)
[error] RunTimeIDE: ImageMissing: Upozornenie
[debug] IDE: Scriptrun: cleanup in handler for uncaughtException: 
java.nio.BufferOverflowException

[debug] Sikulix: cleanUp: 0

[debug] Image: purge: ImagePath: 
/C:/Users/255304/AppData/Local/Temp/Sikulix_1244007538/tmp-1705873482.sikuli/
[debug] ImagePath: new BundlePath: /C:/Work/AUT/c.sikuli/

** 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/1584054

Title:
  Find(String) not functional

Status in Sikuli:
  New

Bug description:
  Sikulix setup done by sikulixsetup-1.1.1-20160520.065527-27-forsetup.jar
  OS Win 7 Pro 
  JRE 1.8.0_31

  Function find() does not accept argument of type string.

  Running this code >

  # -*- coding: utf-8 -*
  Debug.on(3)
  import org.sikuli.script.TextRecognizer as TR
  Settings.OcrReadText = True
  Settings.OcrSearchText = True
  Settings.OcrLanguage = "slk"
  TR.reset()
  #find("1463748965451.png")
  find("Upozornenie")
  #print m
  #print m.getTarget()
  r = Region(433,351,89,15)
  r.highlight(5)

  Causes >

  [debug] FileManager: tempfile create: 
C:\Users\255304\AppData\Local\Temp\Sikulix_1244007538\sikuli-5908137321867601659.py
  [debug] Jython: requested to use as default region: S(0)[0,0 1280x1024]

  [debug] JythonScriptRunner: runPython: running script from IDE: 
Untitled.sikuli
  [error] Image: could not be loaded: 
file:/C:/Users/255304/AppData/Local/Temp/Sikulix_1244007538/tmp-1705873482.sikuli/Upozornenie.png
  [debug] Region: handleImageMissing: Upozornenie.png (capture missing )
  [error] RunTimeIDE: Exists: Abort: Jython: at sikuli-5908137321867601659 (1)
  [error] RunTimeIDE: ImageMissing: Upozornenie
  [debug] IDE: Scriptrun: cleanup in handler for uncaughtException: 
java.nio.BufferOverflowException

  [debug] Sikulix: cleanUp: 0

  [debug] Image: purge: ImagePath: 
/C:/Users/255304/AppData/Local/Temp/Sikulix_1244007538/tmp-1705873482.sikuli/
  [debug] ImagePath: new BundlePath: /C:/Work/AUT/c.sikuli/

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1584054/+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 #293980]: With will become a reserved keyword in python 2.6

2016-05-20 Thread Shobin
New question #293980 on Sikuli:
https://answers.launchpad.net/sikuli/+question/293980

I am trying to integrate Sikuli 1.1.1 nightly build with robot framework 3.0

I am following the question 
https://answers.launchpad.net/sikuli/+question/261208

My config:

Python:2.7
Jython: jython2.7b3
Robot Framework 3.0

My jybot.bat file:

I have everything in c:/RFW folder , i mean all the jar files like sikulix.jar 
and stuff like explained in the previous example.

@echo off
setlocal
set ROBOT_HOME=%~dp0
set JYTHON_HOME=%ROBOT_HOME%
set SIKULIX_HOME=%ROBOT_HOME%

set CLASSPATH=%SIKULIX_HOME%sikulixapi.jar;%CLASSPATH%
set JYTHONPATH=%SIKULIX_HOME%sikulixapi.jar\Lib

java -cp %JYTHON_HOME%jython.jar;%CLASSPATH% org.python.util.jython ^
  %ROBOT_HOME%robot\run.py ^
  --pythonpath=%ROBOT_HOME%calc.sikuli ^
  %*
endlocal

When I execute my jybot.bat file by typing

jybot.bat verify_operations.txt in command line I get the following error.

C:\RFW>jybot.bat verify_operations.txt
  File "C:\RFW\robot\run.py", line 433
SyntaxError: 'with' will become a reserved keyword in Python 2.6

I dont understand what to do.



-- 
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 #293965]: [OT] conferences/meetings with Sikuli makers/users

2016-05-20 Thread RaiMan
Question #293965 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293965

Status: Open => Answered

RaiMan proposed the following answer:
Hi, I am RaiMan, the main developer.
I live in Germany.

Where do you live?

We might communicate more privately using sikulix--at--outlook--dot--com

-- 
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 #293975]: Not able to differentiate among images in Sikuli

2016-05-20 Thread Rohit cheetu
New question #293975 on Sikuli:
https://answers.launchpad.net/sikuli/+question/293975

I have a requirement like where I will have a portal, I will be having all the 
elements highlighted in red color except the one in grey. I have to click on 
the grey colored image each time. This will be random and only at the run time, 
element will be selected(based on the input from the user) and will be 
highlighted(grey color). Is there any method in sikuli which will click based 
on different colors present. I tried using search by test but it has not worked.

Does sikuli differentiate on the basis of color?

If I'm doing by search by text, it is throwing error like 
[error] TextRecognizer: init: tessdata folder not found at  libs folder
[error] Region.find(text): text search is now switched off
Exception in thread "main" FindFailed: Text search currently switched off

Please suggest a way out.






-- 
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 #293281]: openApp(filestring) won't run my batch file

2016-05-20 Thread Launchpad Janitor
Question #293281 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293281

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 #293280]: openApp(filestring) won't run my batch file

2016-05-20 Thread Launchpad Janitor
Question #293280 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293280

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' state
without activity for the last 15 days.

-- 
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 #293772]: Error while running mvn -pl Setup exec:exec

2016-05-20 Thread sayantan
Question #293772 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293772

sayantan posted a new comment:
I tried doing so (git pull and clean install ) but it didn't work, even
the direct jar files which have been released shows the same error.

-- 
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 #293965]: [OT] conferences/meetings with Sikuli makers/users

2016-05-20 Thread tranquillo
New question #293965 on Sikuli:
https://answers.launchpad.net/sikuli/+question/293965

Hi,

i want to go a little bit off topic. I am interested in german or english 
spoken conferences or meetings about automated software tests and i like to 
meet Sikuli(X) developer and users for the  exchange of experiences. Where 
should I go?

I think travels off Europe will my company not pay :-)

cheers
Rob

-- 
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 #293512]: [1.1.1] Using Robotframework with SikuliX (2016-05-20+)

2016-05-20 Thread RaiMan
Question #293512 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293512

Summary changed to:
[1.1.1] Using Robotframework with SikuliX (2016-05-20+)

Description changed to:
** fixed in 1.1.1 2016-05-20+
usage according to
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-robotframework

--

Hello,

I am trying to get SikuliX to 'play with' Robot Framework as outlines
here: http://www.sikulix.com/support.html

I am running with:
- Win 10 64-bit
- SikuliX 1.1.0 (2015-10-05_(17:07)
   - Installed with option 1 and 2 ticked
- Python 2.7.5
- I downloaded the Robot folder via the link about and placed the files in 
'%appdata%/SikuliX/Lib/robot/'

What I am trying to do:

Run a simple test case that will output some reporting to test that this
is working.  Getting a report output at the end of the test is the end
goal here.

What I have tried:

1) I have tried making a test script in Sikuli that contains the code
found in testRun.py (via the link above), but I get these errors:

[error] JythonSupport: exec: returns: Traceback (most recent call last):
File "", line 1, in 
ImportError: No module named robot

[error] JythonSupport: exec: returns: Traceback (most recent call last):
File "", line 1, in 
NameError: name 'robot' is not defined

2) I have tried running a Robot Framwork test script for the calculator,
outlined here:
https://bitbucket.org/robotframework/robotdemo/src/51f472687b6a46e88b7c179423f0f336e19497fc/data_driven.robot?at=master&fileviewer
=file-view-default

When I do, I get this error:

[error] script [ Testrobot ] stopped with error in line 33 at column 22
[error] SyntaxError ( "no viable alternative at character '$'", )

^^I have no idea what that means

3) I've tried making sure all single or double or brackets or any sort
are all closed or the correct kind - same errors.

I am really lost at this point.

Does anyone know what I am doing wrong?  Or, does anyone just have a
simple test case I can copy/paste into Sikuli so I can run it and see
the HTML report files that are output?

-- 
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 #293512]: Adding Robotframework to SikuliX

2016-05-20 Thread RaiMan
Question #293512 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293512

RaiMan posted a new comment:
with the latest nightly from today (2016-05-20) the RobotFramework support 
should work according to the docs:
http://sikulix-2014.readthedocs.io/en/latest/scenarios.html#using-robotframework

- no need for the extra steps as mentioned in comment #8 and #10 anymore
- when the script ends, the RFW report is automatically opened in your standard 
browser.

-- 
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 #293772]: Error while running mvn -pl Setup exec:exec

2016-05-20 Thread RaiMan
Question #293772 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/293772

RaiMan proposed the following answer:
There was indeed a problem that crashed the setup run from jar (like so:
Setup ---> target ---> sikulixsetup-1.1.1-forsetup.jar).

You might now try again (you have to pull and clean install again!).

the new nightly is out now.

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