MarketSquare / MarketSquare/robotframework-SikuliLibrary

SikuliLibrary not working on wayland

Open
#185 1 comment 1 reaction 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

Hi,

I am trying to use SikuliLibrary on Ubuntu 22.04 I managed to install all the prerequisites (the documentation needs updating) and got to the point where the click keyword attempts to run, then I get timeout could not find image, a screen shot is taken and it's completely black.

Ubuntu 22.04 defaults to wayland and I suspect that is the issue, I'm aware this could be an upstream issue with SikuliX but not sure how to confirm this, if you can confirm can you raise an issue with the SikuliX project and link to this. Also mentioning in the documentation that SikuliLibrary is not compatible with wayland would be a good idea

Screen Shot 2022-12-12 at 1 49 46 pm

FYI The documentation needs updating:

  • Java is a prerequisite (there is no java installed by default, pip install doesn't install java or mention it's required)
  • After installing Java the test log mentioned opencv was missing and gave instruction to install for ubuntu 20.04 (opencv4.2) on Ubuntu 22.04 I needed to adjust those instructions to opencv4.5
  • These prerequisites should be mentioned in the Pip installation section

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 by reproducing the click keyword failure on Ubuntu 22.04 under Wayland and inspect the Pip installation documentation. Confirm whether the black screenshot is an upstream SikuliX limitation, then update the documented Java and OpenCV prerequisites and record the Wayland compatibility status.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, opencv, ubuntu
Domain
desktop, documentation, operating-systems
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.