MarketSquare / MarketSquare/robotframework-SikuliLibrary

Does SikuliLibrary Support Window Server 2016 64bit?

Open
#123 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
163
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Dear Wang Yang,

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 robotframework-SikuliLibrary 1.0.8 to enable the RobotFramework and Sikuli integration.

Quick question:

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported failure in SikuliLibrary/sikuli.py, especially _start_sikuli_java_process, and trace the subprocess call into Robot Framework's robot/libraries/Process.py. Compare the Windows 10 and Windows Server 2016 environments using the stated Sikuli, Jython, Java and Robot Framework versions. Done means identifying a reproducible cause and documenting supported configuration or a verified workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, python
Domain
desktop, operating-systems, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.