Re: [Sikuli-driver] [Question #689458]: Vision class missing in sikulixapi-2.0.4.jar

2020-03-23 Thread Selva
Question #689458 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689458

Selva 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 #689458]: Vision class missing in sikulixapi-2.0.4.jar

2020-03-23 Thread Selva
Question #689458 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689458

Status: Open => Solved

Selva confirmed that the question is solved:
I am closing this . Looks there is an issue in the order of  jar in
classpath. workign fine when I add this as first item in class path .

-- 
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 #689350]: SikuliX IDE is disappering on RUN

2020-03-23 Thread Nitin Chaudhari
Question #689350 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689350

Nitin Chaudhari posted a new comment:
Thanks Raiman, Benjamin.

I shall try as suggested. And let you now if am facing any issues.

Regards,
Nitin Chaudhari

-- 
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 #689458]: Vision class missing in sikulixapi-2.0.4.jar

2020-03-23 Thread Selva
Question #689458 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689458

Status: Answered => Open

Selva is still having a problem:
Hi RaiMan,
Thanks for the update. I have commnted out the above feature. But I am having 
issue on just  simple click on screen image
like 
Screen scr=new Screen();
String 
sImagePath=ProductAreaLib.CONSTANT.DATA_PATH+"SikuliImagesPCodeProgramFlow.PNG"
 ;
scr.click(sImagePath);

This was  the one used to work earlier but throws error as added below.
 I am using java 1.8.0.241 -and sikulixapi-2.0.4.jar
Is there any change in latest version and also any document to provide java 
coding on scree based, click, DoubleClick, exists where the sImagePath is path 
of png image
--
java.lang.NoSuchMethodError: 
com.sun.jna.Native.load(Ljava/lang/String;Ljava/lang/Class;Ljava/util/Map;)Lcom/sun/jna/Library;
at org.sikuli.natives.SXUser32.(SXUser32.java:13)
at org.sikuli.natives.WinUtil.(WinUtil.java:495)
at 
org.sikuli.script.support.RunTime.addToWindowsSystemPath(RunTime.java:1717)
at org.sikuli.script.support.RunTime.libsExport(RunTime.java:1660)
at org.sikuli.script.support.RunTime.libsLoad(RunTime.java:1479)
at org.sikuli.script.support.RunTime.loadLibrary(RunTime.java:1689)
at org.sikuli.script.Finder$Finder2.(Finder.java:536)
at org.sikuli.script.Finder$FindInput2.(Finder.java:1164)
at org.sikuli.script.Finder.(Finder.java:34)
at 
org.sikuli.script.Region.doCheckLastSeenAndCreateFinder(Region.java:2841)
at 
org.sikuli.script.Region.checkLastSeenAndCreateFinder(Region.java:2802)
at org.sikuli.script.Region.doFind(Region.java:2731)
at org.sikuli.script.Region.access$200(Region.java:28)
at org.sikuli.script.Region$RepeatableFind.run(Region.java:2983)
at org.sikuli.script.Region$Repeatable.repeat(Region.java:2926)
at org.sikuli.script.Region.exists(Region.java:2322)
at 
Script.Peoplecode.Enabling_Version_Specific_PeopleCode_Compile.N02_PeopleCode_Directive_code_in_App_Engine_2xWD.testN02_PeopleCode_Directive_code_in_App_Engine_WD(N02_PeopleCode_Directive_code_in_App_Engine_2xWD.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:243)
at junit.framework.TestSuite.run(TestSuite.java:238)
at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
---

-- 
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 #689458]: Vision class missing in sikulixapi-2.0.4.jar

2020-03-23 Thread RaiMan
Question #689458 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689458

Status: Open => Answered

RaiMan proposed the following answer:
A class Vision does no longer exist, since everything OpenCV related is
now implemented at the Java level.

The above feature does not make sense anyways anymore with the current
implementation.

So simply purge 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


[Sikuli-driver] [Bug 1867074] Re: [2.0.3] Do.popAsk return incorrect on timeout --- fixed in 2.0.4

2020-03-23 Thread Jon Scharff
Sounds good to me. Thanks again ^_^

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1867074

Title:
  [2.0.3] Do.popAsk return incorrect on timeout --- fixed in 2.0.4

Status in Sikuli:
  Fix Released

Bug description:
  With sikuli 2.0.3 / java1.8.0_242-b08 on Windows 10 , 64 bit Build 18362 
(10.0.18362.329)
  using Jython

  Do.popAsk returns 0(False) upon timeout.

  sikuli 1.1.4 returned None, which is the documented behavior.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1867074/+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 #689458]: Vision class missing in sikulixapi-2.0.4.jar

2020-03-23 Thread Selva
New question #689458 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689458

we used old sikulixapi.jar for longtime and forced to use the latest own.
 While importing the latest jar - sikulixapi-2.0.4.jar, we face issue on the 
following 

import org.sikuli.natives.Vision;

This Vision is used as 
Vision.setParameter("MinTargetSize", 18);

with New jar - how to handle the above ?

I tried some suggestions as  org.sikuli.basics.proxies.Vison which does not 
exist

Please suggest the right one

-- 
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 #689445]: corretto 11 jdk cant run sikuli

2020-03-23 Thread RaiMan
Question #689445 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689445

Status: Open => Answered

RaiMan proposed the following answer:
Sorry, too special environment (What the hell is Coretto?)

Seams to be some incompatibility between whatever.

Has surely nothing to do with SikuliX.

-- 
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 1867074] Re: [2.0.3] Do.popAsk return incorrect on timeout --- fixed in 2.0.4

2020-03-23 Thread RaiMan
Just checked/tested and had a look at other related requests/bugs:

As said in the docs for the timed pop... variants: if the feature times
out (user does nothing), then None/null is returned. If the buttons
Yes/No are pressed, True/False respectively is returned.

Closing the dialog using the upper-right-x-button meaning "I do not
care" is comparable to letting it time out, in this case also None/null
is returned.

popup is an exception, which always returns True (hence no side-
effects).

I will revise the docs.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1867074

Title:
  [2.0.3] Do.popAsk return incorrect on timeout --- fixed in 2.0.4

Status in Sikuli:
  Fix Released

Bug description:
  With sikuli 2.0.3 / java1.8.0_242-b08 on Windows 10 , 64 bit Build 18362 
(10.0.18362.329)
  using Jython

  Do.popAsk returns 0(False) upon timeout.

  sikuli 1.1.4 returned None, which is the documented behavior.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1867074/+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 1867074] Re: [2.0.3] Do.popAsk return incorrect on timeout --- fixed in 2.0.4

2020-03-23 Thread RaiMan
Thanks for feedback.

No need to do anything on your side. I will check and do what is needed.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1867074

Title:
  [2.0.3] Do.popAsk return incorrect on timeout --- fixed in 2.0.4

Status in Sikuli:
  Fix Released

Bug description:
  With sikuli 2.0.3 / java1.8.0_242-b08 on Windows 10 , 64 bit Build 18362 
(10.0.18362.329)
  using Jython

  Do.popAsk returns 0(False) upon timeout.

  sikuli 1.1.4 returned None, which is the documented behavior.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1867074/+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 1867074] Re: [2.0.3] Do.popAsk return incorrect on timeout --- fixed in 2.0.4

2020-03-23 Thread Jon Scharff
Thank you for your quick response. I've finally gotten then change to
check the change, and for my usage, it now works the same way it did in
1.4.1.

There is still a difference when you click the upper right x button on
the popup, though. In 1.4.1, this would return 0(False), whereas in
2.0.4 it returns None. (I believe though haven't confirmed that up to
2.0.3, 0(False) is returned)

It seems the way the popup timer is implemented is different, which
changes the behavior upon timeout. It's possible other popups are also
affected.

I don't currently have a java development environment, but if it's not
too difficult to get one set up for sikuli, I wouldn't mind doing a more
detailed look at all popups and supplying a pull request that preserves
1.4.1 behavior.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1867074

Title:
  [2.0.3] Do.popAsk return incorrect on timeout --- fixed in 2.0.4

Status in Sikuli:
  Fix Released

Bug description:
  With sikuli 2.0.3 / java1.8.0_242-b08 on Windows 10 , 64 bit Build 18362 
(10.0.18362.329)
  using Jython

  Do.popAsk returns 0(False) upon timeout.

  sikuli 1.1.4 returned None, which is the documented behavior.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1867074/+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