Re: [Sikuli-driver] [Question #678181]: [1.1.4] macOS 10.14: app.open(): throws index out of bounds exception

2019-02-04 Thread Katie Hanley
Question #678181 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678181

Status: Needs information => Open

Katie Hanley gave more information on the question:

[debug] RunTimeIDE: libsExport: folder exists: 
/Users/visionpc/Library/Application Support/Sikulix/SikulixLibs (1.1.4 - 
201901160730)
[debug] RunTimeIDE: loadLib: libMacUtil.dylib (success)
[AppLog] App.create: [-1:Vision]

[error] script [ CreateNew ] stopped with error in line 6
[error] java.lang.ArrayIndexOutOfBoundsException ( 
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 )
[debug] RunTimeIDE: * running cleanUp *

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #678181]: [1.1.4] macOS 10.14: app.open(): throws index out of bounds exception

2019-01-29 Thread Katie Hanley
Question #678181 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678181

Katie Hanley posted a new comment:
I have also tried removing these two lines:
 
vision = App(r"/Applications/Vision.app")
vision.open(10)

and just using:

App.focus("Vision")

But I am getting the same error.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #678181]: [1.1.4] macOS 10.14: app.open(): throws index out of bounds exception

2019-01-29 Thread Katie Hanley
Question #678181 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678181

Status: Needs information => Open

Katie Hanley gave more information on the question:
[debug] RunTimeIDE: libsExport: folder exists: 
/Users/visionpc/Library/Application Support/Sikulix/SikulixLibs (1.1.4 - 
201901160730)
[debug] RunTimeIDE: loadLib: libMacUtil.dylib (success)

[error] script [ CreateNew ] stopped with error in line 5
[error] java.lang.ArrayIndexOutOfBoundsException ( 
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 )
[debug] RunTimeIDE: * running cleanUp *

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #678181]: Error running scripts on Mac Mojave 10.14.1 with JDK 11.0.2 and SikuliX IDE 1.1.4

2019-01-29 Thread Katie Hanley
New question #678181 on Sikuli:
https://answers.launchpad.net/sikuli/+question/678181

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"/Applications/Vision.app")
vision.open(10)
exists("Screen Shot 2018-09-28 at 5.07.50 PM.png")
type("n", KeyModifier.CMD)
exists("1538408466683.png")
type(Pattern("1538408652774-1.png").targetOffset(-98,2), "Sikuli-iBench1")
click("1538408797939.png")
click("1538409150819.png")
click("1538408878905.png")
wait("1538409229550.png")
if exists(Pattern("1538409264021.png").similar(0.95)):
pass
else:
click(Pattern("1548275829946.png").targetOffset(-24,0))
exists("1548275861794.png")
click(Pattern("1548275886225.png").similar(0.95))
exists(Pattern("1538409264021.png").similar(0.95))
click(Pattern("1538409635830.png").similar(0.77).targetOffset(42,1))
App.focus("Vision")
click(Pattern("1538513862157-1.png").similar(0.80).targetOffset(-40,-20), 
KeyModifier.ALT)

##Error Message from Mojave##
[error] script [ CreateNew ] stopped with error in line 4
[error] java.lang.ArrayIndexOutOfBoundsException ( 
java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 )


On High Sierra 10.13.6, I am running the latest version of SikuliX IDE 1.1.4 
with JRuby (jruby-complete-9.2.0.0.jar) and Jython 
(jython-standalone-2.7.1.jar) both installed. 
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-complete-9.2.0.0.jar) and Jython (jython-standalone-2.7.1.jar) 
both installed. 
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)



-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp