[1.1.4] macOS 10.14: app.open(): throws index out of bounds exception
I have been trying to migrate some of my Sikuli scripts from High Sierra to Mojave. My scripts run without issue on HS but on Mojave I keep getting these errors that don't make any sense to me. I have attempted to install and run on multiple Mojave devices and same issue. I have tried to research these myself and am getting nowhere, any ideas?
##my sikuli script##
from sikuli import *
# -*- coding: utf-8 -*-
vision = App(r"/
vision.open(10)
exists("Screen Shot 2018-09-28 at 5.07.50 PM.png")
type("n", KeyModifier.CMD)
exists(
type(Pattern(
click("
click("
click("
wait("153840922
if exists(
pass
else:
click(
exists(
click(
exists(
click(Pattern(
App.focus("Vision")
click(Pattern(
##Error Message from Mojave##
[error] script [ CreateNew ] stopped with error in line 4
[error] java.lang.
On High Sierra 10.13.6, I am running the latest version of SikuliX IDE 1.1.4 with JRuby (jruby-
Java -version in terminal returns:
java version "11" 2018-09-25
Java(TM) SE Runtime Environment 18.9 (build 11+28)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11+28, mixed mode)
On Mojave 10.14.1, I am running the latest version of SikuliX IDE 1.1.4 with JRuby (jruby-
Java -version in terminal returns:
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Katie Hanley for more information if necessary.