SikuliX-2014 icon indicating copy to clipboard operation
SikuliX-2014 copied to clipboard

El Capitan issues (can't run from IDE)

Open mattetti opened this issue 9 years ago • 7 comments

Whenever I try to run from the IDE, I first get a blank dialog:

aiff_ pi_raspberrypi___ -bash _229x62

And it's asking me where to find JavaAppLauncher:

choose_application_and_aiff_ pi_raspberrypi___ -bash 229x62_and_encoder_test_go-_audio

I tried on 2 other OS X machines with El Capitan (MBP and MBA) but without any luck. I upgraded my laptop recently and it was working fine previously.

Running from the command line works, except that the app dialog window isn't seen in the capture and therefore my script fails.

mattetti avatar Jul 18 '16 18:07 mattetti

what version of SikuliX?

RaiMan avatar Jul 19 '16 06:07 RaiMan

@RaiMan 1.1.0 and 1.1.1 nightly

mattetti avatar Jul 19 '16 06:07 mattetti

So the shown dialog comes from your script I suppose.

please paste the relevant part

RaiMan avatar Jul 19 '16 06:07 RaiMan

Sorry, these are 2 separate issues, I should have made that clearer.

Issue 1: sikulix 1.1.0+ IDE doesn't seem to start my script properly looking for javaAppLoader. Issue 2: sikulix 1.1.1 doesn't see/capture the save dialog the software I automate opens. This is not a dialog created by my script, but we are talking about a save dialog triggered by the application I'm automating by clicking the save button. I tried adding a sleep time and eventually took a capture of the screen to realize that the dialog wasn't been captured so my script couldn't move on.

mattetti avatar Jul 19 '16 06:07 mattetti

at 1: just checked on my OSX 10.11.5: IDE 1.1.0 works. So you should check your Java setup.
... but use of 1.1.0 is not recommended on Capitan anyways.

at 2: Retina? do the used images come from a non-Retina display? You have to track that down somehow.

RaiMan avatar Jul 19 '16 07:07 RaiMan

1: ok, my java setup was working before I updated OS X, any clues? 2: Retina, unplugged all monitors. I can probably try to repro using a brand new script and a built-in app. The problem isn't the lack of matching, but the fact that when the capture happens, the dialog window doesn't even appear. It's like the capture lib is not getting the builtin dialog window and can see through it.

mattetti avatar Jul 19 '16 07:07 mattetti

Ok, you should purge everything belonging to SikuliX package (the app, the installation folder and the app data folder). Download the 1.1.1 setup and run it, to get a surely clean 1.1.1 In case of problems run from command line using runsikulix -d 3 -c

RaiMan avatar Jul 19 '16 08:07 RaiMan