MarketSquare / MarketSquare/robotframework-SikuliLibrary
Getting "FAILED SikuliLibrary Initializing test library 'SikuliLibrary' with no arguments failed: Sikuli jar package should be exist in lib folder"
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 163
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am evaluating robot+sikuli but I am getting below error though I set Java_home,python_home and define all require sikuli libraries in env variable. Also, http://127.0.0.1:10000/ working properly.
Error via RIDE:
FAILED SikuliLibrary Initializing test library 'SikuliLibrary' with no arguments failed: Sikuli jar package should be exist in lib folder
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\robotide\lib\robot\running\testlibraries.py", line 184, in _get_instance
return libcode(*self.positional_args, **self.named_args)
File "C:\Python27\lib\site-packages\SikuliLibrary\sikuli.py", line 54, in init
self.start_sikuli_process(port)
File "C:\Python27\lib\site-packages\SikuliLibrary\sikuli.py", line 81, in start_sikuli_process
self._start_sikuli_java_process()
File "C:\Python27\lib\site-packages\SikuliLibrary\sikuli.py", line 153, in _start_sikuli_java_process
raise Exception('Sikuli jar package should be exist in lib folder')
Also in IDE getting "Setup failed:
AttributeError: 'NoneType' object has no attribute 'run_keyword' additonal error.
Sample Code
*** Settings ***
Suite Setup Start Sikuli Process
Suite Teardown Stop Remote Server
Library SikuliLibrary mode=new
*** Test Cases ***
New Mode
Add Image Path C:\Users\test\Desktop\sikuli.sikuli
Click click.png
Env Details :
OS : Window 10
Python Version: 2.7 (32 bit)
Robot Framework 3.0.2 (Python 2.7.13 on win32)
Robot-SikuliLibrary : 1.0.1 (installed via pip install robotframework-SikuliLibrary )
Can you please help me to move ahead? Thanks in Advance.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with SikuliLibrary/sikuli.py, especially the initialization and Java-process methods shown in the traceback at lines 54, 81, and 153. Reproduce the setup using the supplied Robot Framework sample and environment details, then verify that SikuliLibrary initializes successfully in RIDE without the missing-jar or NoneType errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, python
- Domain
- desktop, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100