Re: Adding an application to the login items

2009-06-01 Thread Misha Gonodanov
You are not creating URL correctly - basically CFURLRef.alloc().initWithString_() will create it by calling CFURLCreateWithString() while it should be created by CFURLCreateWithFileSystemPath(). I do not know the name of corresponding python method. Misha On Dec 3, 2008, at 4:36 PM, Bill

Re: Adding an application to the login items

2008-12-03 Thread Bill Janssen
Jason Coco <[EMAIL PROTECTED]> wrote: > > I'm writing an installer that adds an application to the login items, > > but my script (see below) keeps failing, with a bus error, like this: > > You're dereferencing a null pointer. Assert that url is not null after > CFURLRef.alloc()... returns. I

Re: Adding an application to the login items

2008-12-03 Thread Jason Coco
On Dec 3, 2008, at 19:36 , Bill Janssen wrote: I'm writing an installer that adds an application to the login items, but my script (see below) keeps failing, with a bus error, like this: You're dereferencing a null pointer. Assert that url is not null after CFURLRef.alloc()... returns. ___

Adding an application to the login items

2008-12-03 Thread Bill Janssen
I'm writing an installer that adds an application to the login items, but my script (see below) keeps failing, with a bus error, like this: Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x Crashed Thread: 0 Thread 0 Crashed: 0 com.apple.Co