Re: [Sikuli-driver] [Question #404188]: Sikuli Jar is throwing error in remote machine while using ssh /Jenkins

2016-11-17 Thread masuo
Question #404188 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404188

Status: Open => Answered

masuo proposed the following answer:
There is a similar question.
https://answers.launchpad.net/sikuli/+question/290184

-- 
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 #404188]: Sikuli Jar is throwing error in remote machine while using ssh /Jenkins

2016-11-17 Thread vishnu
New question #404188 on Sikuli:
https://answers.launchpad.net/sikuli/+question/404188

I am using sikuli jar with selenium webdriver. Whenever sikuli is initialized 
using Jenkins or try to run the sikuli jar using SSH in remote machine, I get 
the below error.


[error] RunTimeINIT:  *** terminating: GraphicsEnvironment has no ScreenDevices

Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 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 #404188]: Sikuli Jar is throwing error in remote machine while using ssh /Jenkins

2016-11-17 Thread vishnu
Question #404188 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404188

Description changed to:
I am using sikuli jar with selenium webdriver. Whenever sikuli is
initialized using Jenkins or try to run the sikuli jar using SSH in
remote machine, I get the below error.

When I run it on remote machine directly , it does not throw any error.
Only when I use SSH or Jenkins to run in remote machine, I get the
issue.


Error Log:

---
 T E S T S
---
Java Headless:false
[error] RunTimeINIT:  *** terminating: GraphicsEnvironment has no ScreenDevices

Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 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 #404184]: sikuli-ide.sh not doing anything on Ubuntu

2016-11-17 Thread fr3d
Question #404184 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404184

fr3d gave more information on the question:
I followed these (https://www.youtube.com/watch?v=VdCOg1bCmGo)
instructions and got pretty far.  However when I tried to run the IDE
with "runsikulix.sh", I got know errors but also no response.

-- 
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 #404184]: sikuli-ide.sh not doing anything on Ubuntu

2016-11-17 Thread fr3d
New question #404184 on Sikuli:
https://answers.launchpad.net/sikuli/+question/404184

I have been trying for days to get Sikuli to work on Ubuntu. After I chased 
down some links I got a very promising outcome. Finally I just needed to run 
one .sh script. However, when I tried to run this, nothing happened and Sikuli 
still remaind un-available. Please help, I need this for a time-sensitive 
project.

-- 
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 #404149]: Need to see differences from getScore()..can I save the temporary image from find() command?

2016-11-17 Thread Mike Muhlada
Question #404149 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404149

Status: Answered => Solved

Mike Muhlada confirmed that the question is solved:
Thank you.

This was the right approach. I was able to copy the image to my hard
drive and can now perform an image diff to debug my program.

Thanks for the quick and accurate response!

-- 
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 #404149]: Need to see differences from getScore()..can I save the temporary image from find() command?

2016-11-17 Thread Mike Muhlada
Question #404149 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404149

Mike Muhlada confirmed that the question is solved:
Thanks masuo, 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


[Sikuli-driver] [Question #404167]: Following successful setup, sikuli-ide.jar and RunIDE.cmd are running setup again instead of running the actual IDE

2016-11-17 Thread Ryan
New question #404167 on Sikuli:
https://answers.launchpad.net/sikuli/+question/404167

Before anyone asks, I'm using v1.0.1 as per the specifications of my project 
(1.1.0 doesn't run as smoothly in my environment).  I ran setup and everything 
looks fine, but when I try to run the IDE it opens the setup dialog box again 
and tries to run through the whole process again.  

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Windows\system32>cd C:\SikuliX-1.0.1

C:\SikuliX-1.0.1>runIDE.cmd
+++ running this Java
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode, sharing)
+++ trying to start Sikuli IDE
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\SikuliX-1.0.1\sikuli-ide.jar
Error: Invalid or corrupt jarfile C:\SikuliX-1.0.1\sikuli-ide.jar

C:\SikuliX-1.0.1>runIDE.cmd
+++ running this Java
java version "1.8.0_111"
Java(TM) SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot(TM) Client VM (build 25.111-b14, mixed mode)
+++ trying to start Sikuli IDE
+++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar
C:\SikuliX-1.0.1\sikuli-ide.jar
[debug] SikuliX Setup Build: 1.0.1 12NOV201312
[debug] ... starting with no args given
[debug] syspath: C:\SikuliX-1.0.1\libs
[debug] syspath: C:\ProgramData\Oracle\Java\javapath
[debug] syspath: C:\Windows\system32
[debug] syspath: C:\Windows
[debug] syspath: C:\Windows\System32\Wbem
[debug] syspath: C:\Windows\System32\WindowsPowerShell\v1.0\
[debug] syspath: C:\Program Files\VisualSVN Server\bin
[debug] syspath: C:\opscode\chef\bin\
[debug] syspath: C:\SikuliX-1.0.1\Downloads\libs
[debug] syspath: C:\SikuliX-1.0.1\libs

At this point, it hangs, presumably because setup is already done.  

Does anyone have any suggestions?  I really need to get this running sooner 
rather than later.  

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 #404156]: Sikuli image recognization will not work for non white background

2016-11-17 Thread masuo
Question #404156 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404156

Status: Open => Answered

masuo proposed the following answer:
Try similar(), it may solve this probrem.
http://sikulix-2014.readthedocs.io/en/latest/pattern.html?highlight=pattern

[example:]
similarity = 0.55 #adjust for your purpose
m = findAll(Pattern("iconimage.png").similar(similarity))
if m is not None:
   for i in m:
   i.highlight(5)

Document will help you to understant how SikuliX find image on the screen.
http://sikulix-2014.readthedocs.io/en/latest/basicinfo.html#sikulix-how-does-it-find-images-on-the-screen

-- 
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 #404156]: Sikuli image recognization will not work for non white background

2016-11-17 Thread Vinayak Kalyani
New question #404156 on Sikuli:
https://answers.launchpad.net/sikuli/+question/404156

Hello Team,

Currently my project is all about maps, and i place canvas icons on maps...if 
map is color one then icons will be having colored background, so sikuli is 
failing to identtify the icons having colored back ground

If i use white maps, then background will be white and here sikuli will pass.

Is there any option or work around to make sikuli image recognization to work 
for images having background othere than white.

Thanks,
Vinayak

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