Re: [Sikuli-driver] [Question #679058]: Trying to get sikuli java-scripts running on Ubuntu through jenkins-maven

2019-03-08 Thread VJ
Question #679058 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679058

VJ posted a new comment:
I tried to use the following below in the pom.xml,


com.sikulix
sikulixapi
1.1.2


org.sikuli
sikuli-api
1.2.0


Getting this error:
Failed to execute goal on project sel-sikuli-java-testng: Could not resolve 
dependencies for project 
sel-sikuli-java-testng:sel-sikuli-java-testng:jar:0.0.1-SNAPSHOT: Could not 
find artifact com.github.vidstige:jadb:jar:-v1.0-g94ebf38-23 in central 
(https://repo.maven.apache.org/maven2) -> [Help 1]

Need some help ..

-- 
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 #272281]: Failed to execute goal on project sikulixapi on 64-bit Windows

2019-03-08 Thread VJ
Question #272281 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272281

VJ posted a new comment:
HI Raiman:

Thank you for the insight.. thank you for developing a beautiful tool...

I was trying to get this tool to work in Ubuntu, I posted by questions
on : https://answers.launchpad.net/sikuli/+question/679058

if you could kindly throw some light and help us to get it to work on
linux/ubuntu environment...

-- 
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 #679058]: Trying to get sikuli java-scripts running on Ubuntu through jenkins-maven

2019-03-08 Thread VJ
New question #679058 on Sikuli:
https://answers.launchpad.net/sikuli/+question/679058

Few questions pertaining to this:

   - Do we need to prepare the linux/ubuntu environment for sikuli to work
  - Do we need to install sikuli software on Ubuntu or just using sikulixapi in 
our code is good enough ?
  -Jenkins is not able to find the sikuli-core and sikuli-api jars in the maven 
repository when executing the maven goal.. any changes we need to do on jenkins 
side
  - If we just put sikuli 1.1.2 dependency in the  maven-pom file is good 
enough or do we need to download any other jars and include them in the 
buidlpath or classpath ?
 
Are there any related articles to read up on for this.. any pointer, any help 
if someone can throw some light ?
Anyone else faced similar issues like this...

Thank 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


[Sikuli-driver] [Bug 1818514] Re: [request] make SikuliX available for Python (C-based real Python)

2019-03-08 Thread Tim B
I have to say, I am also very excited for this possibility (for pretty
much the exact same reasons as @Dillon).  Anxious to see what happens!

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

Title:
  [request] make SikuliX available for Python (C-based real Python)

Status in Sikuli:
  In Progress

Bug description:
  currently the plan is to base the implementation on py4j

  some things have to be changed and added in SikuliX.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1818514/+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 #679030]: user.home error

2019-03-08 Thread jeffrey
Question #679030 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679030

Status: Answered => Solved

jeffrey confirmed that the question is solved:
I've found what was the problem, we had right together!

Despite the impersonnation to current user seems working fine (a
"whoami" command to verify output before launch java), i've compared
varenv (with "set" just after "whoami") and it was not same values!

So the execution of sikuli tried to work with
"c:\windows\system32\config\systemprofile\", but current user was unable
to create files/folders directly in, cause of UAC.

Solution:

Just navigate in this directory at once a accept UAC validation.
Restart the service, it works!

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


Re: [Sikuli-driver] [Question #679017]: Vnc app detected only at first attempt after Sikulix Ide launch

2019-03-08 Thread matteoa
Question #679017 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679017

matteoa gave more information on the question:
Just a small addition:
with the older version of Sikulix I have the second test script never has 
problems, even if Notepad++ is closed.
I hope this helps...
Thanks again
Matteo

-- 
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 #679017]: Vnc app detected only at first attempt after Sikulix Ide launch

2019-03-08 Thread matteoa
Question #679017 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679017

Status: Answered => Open

matteoa is still having a problem:
I reproduced the problem with this script(Notepad++ was closed before the 
launch):
chrExe = r"c:\Program Files (x86)\Notepad++\notepad++.exe" 
app = App(chrExe)
if not app.isRunning():
app.open(10)
vncReg=Region(app.window())
print app, app.window()
The error is on the line5 : vncReg=Region(app.window())
and the output is 
[error] script [ testapp2 ] stopped with error at line --unknown--
[error] Error caused by: Traceback (most recent call last): File 
"C:\Projects\DataPurchase\REACT\SikuliX\Test_h20\testapp2.sikuli\testapp2.py", 
line 5, in  vncReg=Region(app.window()) at 
org.sikuli.script.Region.(Region.java:414)
at org.python.proxies.sikuli.Region$Region$5.(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at 
org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:211)
java.lang.NullPointerException: java.lang.NullPointerException 

When Notepad++ is already opened the script works repeatedly.

The original script I put on this question was working without problem from 
months, and using an older version of Sikulix still works every time.
Is it possible that in the newer versions there is something different to do to 
grab the region of an application and use it as a ROI for all the subsequent 
operations?
Thanks for your invaluable support
Matteo

-- 
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 #679012]: send email when script stops at error or finishes

2019-03-08 Thread RaiMan
Question #679012 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679012

RaiMan proposed the following answer:
--- runScript("./test2.sikuli",exit(1)).
not valid and hence excepts ;-)

try:
runScript("./test2.sikuli")
exit(0) # processed if run ok
except:
print("sikuli crashes")
exit(1) # processed if crashed

-- 
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 #679030]: user.home error

2019-03-08 Thread RaiMan
Question #679030 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/679030

Status: Open => Answered

RaiMan proposed the following answer:
sorry, but too special - so I cannot help you.

apparently SikuliX does not behave as you expect in this situation.

-- 
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 #272281]: Failed to execute goal on project sikulixapi on 64-bit Windows

2019-03-08 Thread RaiMan
Question #272281 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/272281

RaiMan posted a new comment:
@VJ
--- is another project than SikuliX
 org.sikuli
   sikuli-api

--- latest SikuliX on Maven Central
   com.sikulix
   sikulixapi
   1.1.2

--- newer snapshot versions on OSSRH for 1.1.3 and 1.1.4
1.1.3 snapshot is frozen and hence quasi final ;-)
1.1.4 final is planned for April

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