MarketSquare / MarketSquare/robotframework-SikuliLibrary
Sikuli - Library Specification Generartion Problem
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 163
- Forks
- 60
- PR merge metrics
- No merged PRs in 30d
Description
Changed the Python from 32bit to 64 bit after installing sikuli library with PIP still it throws the below error in the existing project.
Note : Other libraries are able to generate lib spec file
Please help in resolving this issue
Following exception has been thrown:
Exception: Initializing test library 'SikuliLibrary' with no arguments failed: **PermissionError: [Errno 13] Permission denied: 'C:\\WINDOWS\\system32\\Sikuli_java_stdout_1602566325.7729845.txt'**
Traceback (most recent call last):
File "C:\Users\z027307\AppData\Local\Programs\Python\Python36\Lib\site-packages\SikuliLibrary\sikuli.py", line 54, in __init__
self.start_sikuli_process(port)
File "C:\Users\z027307\AppData\Local\Programs\Python\Python36\Lib\site-packages\SikuliLibrary\sikuli.py", line 81, in start_sikuli_process
self._start_sikuli_java_process()
File "C:\Users\z027307\AppData\Local\Programs\Python\Python36\Lib\site-packages\SikuliLibrary\sikuli.py", line 166, in _start_sikuli_java_process
stderr=self._err_file())
File "C:\Users\z027307\AppData\Local\Programs\Python\Python36\lib\site-packages\robot\libraries\Process.py", line 358, in start_process
conf = ProcessConfiguration(**configuration)
File "C:\Users\z027307\AppData\Local\Programs\Python\Python36\lib\site-packages\robot\libraries\Process.py", line 847, in __init__
self.stdout_stream = self._new_stream(stdout)
File "C:\Users\z027307\AppData\Local\Programs\Python\Python36\lib\site-packages\robot\libraries\Process.py", line 864, in _new_stream
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 the reported SikuliLibrary traceback, especially sikuli.py methods __init__, start_sikuli_process, and _start_sikuli_java_process, then inspect Robot Framework's Process.py stream handling. Reproduce the failure on the stated Windows and Python 3.6 setup. Done means SikuliLibrary initializes without the permission error and can generate its library specification.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, python
- Domain
- desktop, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100