Re: [Sikuli-driver] [Question #689445]: corretto 11 jdk cant run sikuli

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

Status: Answered => Open

shoutarou take is still having a problem:
I'm sorry.
My question was too bad.

corretto is a kind of "open jdk".
Corretto is certified as compatible with the Java SE standard.
https://aws.amazon.com/corretto/

So I think I'm making a mistake in my environment settings. Probably the same 
thing if you replace it with oracle jdk.
It would be really helpful if you could give me any hints.

-- 
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 #689478]: Highlight Images

2020-03-24 Thread Eric G
Question #689478 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689478

Eric G gave more information on the question:
So apparently I got the highlighting to work on multiple images, but is
there any way that I can highlight them at the same time? As in have 3
or 4 highlighted items at once? Currently, I just cycle through them
with a for loop.

##^rest of code
if selected == Comps[3]:
while True:
matches = reg.findAny(test)
for match in matches:
match.highlight(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


[Sikuli-driver] [Question #689478]: Highlight Images

2020-03-24 Thread Eric G
New question #689478 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689478

I would like to highlight certain images whenever they present on the screen. I 
know I can do reg.highlight, but I'm having trouble highlighting the actual 
image matches. Is there a way I can use something like reg.getLastMatch but 
instead of click or hover make it highlight?

I've tried stuff like:

reg= Region(0,0,1366,103)
if reg.exists([imm1.PNG, imm2.PNG, imm3.PNG, etc], 0):
 reg.getLastMatch(highlight(1))
##this highlights my entire screen

also tried

test=[imm1.PNG, imm2.PNG, imm3.PNG, etc]
matches=reg.findAny[test]
if matches: 
matches.highlight(1)
##doesnt work

Basically Im trying to make something like
while True:
 find(imm1.PNG):
  match.highlight
##fails when imms not visible also only highlights 1 imm at a time

but for multiple images at the same time and in a loop.

Any ideas? I've read the docs but I only learned how to highlight regions

 

-- 
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 #689466]: Robotframework-SikuliLibrary: Compatible with Windows Server 2016 (Virtual Machine)

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

RaiMan posted a new comment:
Just read the comments also ;-)

-- 
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 #689466]: Robotframework-SikuliLibrary: Compatible with Windows Server 2016 (Virtual Machine)

2020-03-24 Thread Marcus
Question #689466 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689466

Marcus posted a new comment:
Yes, i am checking with SikuliLibrary's owner on the Windows Server 2016
(64bit) compatibility.

However, I would also like to double confirm with you on the SikuliX
compatibility since Windows Server 2016 (bit) is not mentioned in the
prerequisites. And someone seems to have tried it before.

https://answers.launchpad.net/sikuli/+question/685821


Appreciate your clarification

-- 
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 #689466]: Robotframework-SikuliLibrary: Compatible with Windows Server 2016 (Virtual Machine)

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

RaiMan posted a new comment:
You have to ask the owner of SikuliLibrary.

-- 
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 #689466]: Robotframework-SikuliLibrary: Compatible with Windows Server 2016 (Virtual Machine)

2020-03-24 Thread Marcus
Question #689466 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/689466

Marcus posted a new comment:
Hi Raiman,

Could you please confirm if Windows Server 2016 (64bit) is supported?

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 #689466]: Robotframework-SikuliLibrary: Compatible with Windows Server 2016 (Virtual Machine)

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

Summary changed to:
Robotframework-SikuliLibrary: Compatible with Windows Server 2016 (Virtual 
Machine)

-- 
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 #689466]: Does Sikuli Compatible with Windows Server 2016 (Virtual Machine)

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

Status: Open => Invalid

RaiMan changed the question status:
Apparently you already asked at the right place.

Not a SikuliX 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 #689466]: Does Sikuli Compatible with Windows Server 2016 (Virtual Machine)

2020-03-24 Thread Marcus
New question #689466 on Sikuli:
https://answers.launchpad.net/sikuli/+question/689466

Dear Raiman,

I am using Sikuli 1.1.3 with jython 2.7.1, Robot Framework 3.1.2 and 
jre-8u131-windows-x64 on Windows Server 2016 64bit (virtual machine).

Also using following SikuliLibrary for integration with Robot Framework
https://pypi.org/project/robotframework-SikuliLibrary/

Quick question: 

Does Sikuli support Window Server 2016 64bit in the virtual environment?

I have been using above setup on the Windows 10 64bit machine and it works 
perfectly fine. But same setup doesn't seems to work on Windows Server 2016. 
Appreciate if you could shed some light on potential root cause or any 
particular workaround which could help me to move on.


FYR, exceptions encountered on the server during test execution:

Initializing test library 'SikuliLibrary' with no arguments failed: TypeError: 
unsupported operand type(s) for +: 'NoneType' and 'list'
Traceback (most recent call last):
  File 
"C:\Test_Automation\jython2.7.1\Lib\site-packages\SikuliLibrary\sikuli.py", 
line 54, in __init__
self.start_sikuli_process(port)
  File 
"C:\Test_Automation\jython2.7.1\Lib\site-packages\SikuliLibrary\sikuli.py", 
line 81, in start_sikuli_process
self._start_sikuli_java_process()
  File 
"C:\Test_Automation\jython2.7.1\Lib\site-packages\SikuliLibrary\sikuli.py", 
line 81, in start_sikuli_process
self._start_sikuli_java_process()
  File 
"C:\Test_Automation\jython2.7.1\Lib\site-packages\SikuliLibrary\sikuli.py", 
line 165, in _start_sikuli_java_process
self.process.start_process(java, *arguments, shell=True, 
stdout=self._output_file(),
  File 
"C:\Test_Automation\jython2.7.1\Lib\site-packages\robot\libraries\Process.py", 
line 358, in start_process
process = subprocess.Popen(command, **conf.popen_config)
  File "C:\Test_Automation\jython2.7.1\Lib\subprocess.py", line 859, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Test_Automation\jython2.7.1\Lib\subprocess.py", line 1319, in 
_execute_child
args = _shell_command + args




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