"You can't open the application Sikuli-IDE because it may be damaged or incomplete"

Asked by MikeC96

I have two accounts on my computer (Mac running 10.7 Lion). One is the admin (me), and the other is an account that has parental controls enabled. When I open Sikuli on my account, everything works perfectly. If I try to open Sikuli on the other account, though, "You can't open the application Sikuli-IDE because it may be damaged or incomplete" pops up. The icon for Sikuli looks like a "no" symbol, too. At first, I thought that my parental controls may be the issue, so I allowed Sikuli in the parental controls pane, with no luck. I also tried reinstalling Sikuli, which didn't help either. Am I missing something really simple, or is this an issue that has to do with Sikuli, and not my computer?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

I think the finding in this Q&A might help you:
https://answers.launchpad.net/sikuli/+question/191850

Revision history for this message
MikeC96 (mcannizzaro1) said :
#2

I'm fairly new to Sikuli, and I don't have a lot of experience "under the hood". What exactly did Manpreet Singh (junkblocker) do to fix the problem?

Revision history for this message
Best RaiMan (raimund-hocke) said :
#3

ok, thanks for asking back, so I was motivated to analyze the situation further.

Based on the above mentioned "solution", I found out, that the file
Sikuli-IDE.app/Contents/Info.plist

is missing read right for the group and everyone levels in the installation file.

--- The following workaround has to be used after installing Sikuli.

To repair it, open a terminal session and enter the following command:

chmod og+r /Applications/Sikuli-IDE.app/Contents/Info.plist

This has to be done while logged in as the user, that was used to install Sikuli the first time.

After this, you can use Sikuli with every user on this machine from the standard Applications folders.

Revision history for this message
MikeC96 (mcannizzaro1) said :
#4

Thanks for your help

Revision history for this message
MikeC96 (mcannizzaro1) said :
#5

Thanks RaiMan, that solved my question.