XVs32 / kcauto_custom

kcauto_custom, the successor to kcauto, a Kantai Collection (Kancolle) bot / automation tool
https://xvs32.github.io/kcauto_custom/
GNU General Public License v3.0
9 stars 2 forks source link

Program will crash during startup, failing to find a reference point #68

Closed Gbraker7000 closed 1 year ago

Gbraker7000 commented 1 year ago

Environment details

V2.0.0

Running a VM with ubuntu 22.04.3 LTS

Issue variability

The issue is consistent, it will happen without fail.

Issue

During when reloading the config of Kcauto_cui, you get the following error

https://i.imgur.com/5LybouJ.png

For reference this is what my screen looks like

https://i.imgur.com/mdKZ2A8.jpeg

Config

I'm using the default config

XVs32 commented 1 year ago

Hi Gbraker7000,

Ubuntu 22.04 switched to Wayland and the new windowing system doesn't work well with PyAutoGUI. Switching back to the good old X11 should fix the problem

https://www.reddit.com/r/linuxquestions/comments/10dkaxz/linux_screenshots_return_black_screens/

Wayland return a black screen: image

X11 works well: image

Sincerely, XVs32