← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #191850]: On Mac OSX Lion, Sikuli works for one local user only

 

Question #191850 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/191850

    Status: Needs information => Open

Manpreet Singh gave more information on the question:
uname -a
Darwin xxxxxxxxxxxx 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64

Sikuli version: X-1.0rc3

3/27/12 6:52:03.503 AM [0x0-0x677677].Sikuli-IDE: [JavaAppLauncher Error] CFBundleCopyResourceURL() failed loading MRJApp.properties file
3/27/12 6:52:03.000 AM kernel: CODE SIGNING: cs_invalid_page(0x1000): p=13480[JavaApplicationS] clearing CS_VALID
3/27/12 6:52:04.363 AM [0x0-0x677677].Sikuli-IDE: [LaunchRunner Error] No main class specified
3/27/12 6:52:04.364 AM [0x0-0x677677].Sikuli-IDE: [JavaAppLauncher Error] CallStaticVoidMethod() threw an exception
3/27/12 6:52:04.365 AM [0x0-0x677677].Sikuli-IDE: Exception in thread "main" 
3/27/12 6:52:04.365 AM [0x0-0x677677].Sikuli-IDE: java.lang.NullPointerException
3/27/12 6:52:04.365 AM [0x0-0x677677].Sikuli-IDE: 	at apple.launcher.LaunchRunner.run(LaunchRunner.java:113)
3/27/12 6:52:04.365 AM [0x0-0x677677].Sikuli-IDE: 	at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:51)
3/27/12 6:52:04.365 AM [0x0-0x677677].Sikuli-IDE: 	at apple.launcher.JavaApplicationLauncher.main(JavaApplicationLauncher.java:61)
3/27/12 6:52:04.389 AM com.apple.launchd.peruser.501: ([0x0-0x677677].Sikuli-IDE[13480]) Exited with code: 1

After this I reinstalled the app, like this:

 sudo chown -R <current_user> /Applications/Sikuli-IDE.app
 sudo chmod -R ug+rw /Applications/Sikuli-IDE.app
 Drag Drop the app from the dmg to /Applications

Later in the day, I logged out, switched to another user and tried to
run Sikuli and did not see the exception. Came back home and run it from
the current account and did not see the exception again.

So, it seems that the problem is solved. However, when the exception was
happening, it happened every time.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.