← Back to team overview

sikuli-driver team mailing list archive

[Bug 1362011] Re: [ALL VERSIONS] IDE does not start up on MAC OSX 10.10 Yosemite --- 1.1.0 works (RC3 + 1.0.1 do not)

 

Hi. Just wanted to contribute as (primarily) a Mac user. I had (these
known) troubles with Sikuli with Yosemite and the last version of the
OS, but recently downloaded 1.1.0 of Sikuli and have it working, but I'd
like to make clear a few things that I can see leading people to give up
on the installation (if they get flustered or run into other problems
that don't seem to be covered clearly on this site or find the site
difficult to navigate [come on, it's possible :-) ] ).

For those of you wanting to install this on OSX 10.10 (and possibly
10.9):

I now have, on OSX 10.10.1  a working version of Sikuli with Java 8
update 25 and Sikuli 1.1.0 (using the "sikulixsetup-1.1.0" link).

Pay attention to the "install into empty folder" instruction. The jar
setup file will install libraries into a separate (libs) folder and a
"runsikulix" binary (as well as an installation log), and it will be
easier if the Sikuli installer (setup) does this in its own empty
folder.

You should be able to double-click the sikulix.jar file that is
installed, and this will launch the app.

This is a Java application, not a standard OSX app, so it does not
respond to OSX app things, like drag and drop. Unless you set up a
script application (or some such creation) to accept file dropping,
opening files will have to be done from within the app via the File
menu. But ...

I found that if I created a script project and saved it, and closed the
document in Sikuli, I was unable to re-open it because the .sikuli
folder (containing the png images, .py script, html file) was not
recognized as a bundle (which is essentially a folder wearing a file
disguise, as it were, for those of you who didn't know). This problem
has been mentioned somewhere on this site, I think.

One way to deal with this (until the official working OSX app version is
released) is to download a free utility called "kilometre" (avl from
macupdate.com) and use this utility to open the folder _containing_ one
of the .sikuli "folders". Those sikuli folders will be listed in
kilometre, and you can select one (in Kilometre) and hit command-i to
bring up the window that allows you to turn on the "has Bundle"
checkbox. This turns the folder into the bundle (package) it is supposed
to be, and now can be opened correctly from Sikuli (but -- like the
mentioned drag/drop issue above, you also won't be able to double click
one of these .sikuli files (bundles) to open them, either.

There are some major problems with capturing images in Sikuli, for
example to create a wait() command. This is pretty bad. If I want to
capture the menu, there is just _no way to do it_ with the Sikuli
interface. The best way is to:

a) type in (for example) "wait()", place the cursor between the
parentheses,

b)  capture your OWN image using command-shift-4 (capture region) or
command-shift-option-4 (capture region to clipboard), save it as a png
image,

c)  then use Sikuli's Insert image feature to place that image between
the parens.

I admit that I have a script that I use to save png images from the
clipboard into sikuli bundles.

I hope the developers fix the problems with capturing on OSX. It was
awkward with previous versions of the OS, but it is particularly
problematic now, esp. when needing the main menu bar and menu items.

If you need more info, I can whip up a description or even a movie if I
have time.

Many thanks to the developers. I really like Sikuli; it comes in handy
when my other automation schemes don't work.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1362011

Title:
  [ALL VERSIONS] IDE does not start up on MAC OSX 10.10 Yosemite ---
  1.1.0 works (RC3 + 1.0.1 do not)

Status in Sikuli:
  Fix Committed

Bug description:
  ------ 1.1.0 works (temp fix)
  switched of the search feature temporarily, that caused the crash
  nightly build available after August 28th
  ---------------------------

  RC3 and 1.0.1: will never be supported on OS X 10.10

  1.0.1: running scripts from command line should work (sikuli-
  script.jar) and usage in Java (sikuli-java.jar)

  --------------------------------------------------
  I was trying to run Sikuli 1.0.1 on Mac OSX 10.10. But it doesn't even able to open it & immediately turns into not responding mode.
  I have tried it with sikuli 1.1 beta version but this also not able to open sikuli. Please let me know if anyone has resolved this issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1362011/+subscriptions


References