RaiMan / SikuliX1

SikuliX version 2.0.0+ (2019+)
https://sikulix.github.io
MIT License
2.79k stars 357 forks source link

[error] findWindow: Index 7 out of bounds for length 1 #634

Open guohailin0323 opened 1 week ago

guohailin0323 commented 1 week ago

hello, Running code error App.open("/usr/bin/firefox")

【error message】 [error] findWindow: Index 7 out of bounds for length 1

Description: Ubuntu 24.04.1 LTS Release: 24.04 Codename: noble

sikulixide-2.0.5.jar

【my code】

coding=utf-8

import sys sys.path.append("/home/user/sikuli_test/sikulixide-2.0.5.jar") from org.sikuli.script import Screen, App, Key, Pattern

def main(): App.open("/usr/bin/firefox")

if name == "main": main()

【run mode】 jython test.py