Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SikuliLibrary not working on wayland #185

Open
damies13 opened this issue Dec 12, 2022 · 1 comment
Open

SikuliLibrary not working on wayland #185

damies13 opened this issue Dec 12, 2022 · 1 comment

Comments

@damies13
Copy link

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
@damies13
Copy link
Author

As a workaround on Ubuntu 22.04, logout, at the login screen switch to Xorg (X11) and log back in and SikuliLibrary does work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant