Re: what does FAILED TO GET ASN FROM CORESERVICES mean?
Re: what does FAILED TO GET ASN FROM CORESERVICES mean?
- Subject: Re: what does FAILED TO GET ASN FROM CORESERVICES mean?
- From: Bill Janssen <email@hidden>
- Date: Sat, 22 Nov 2008 13:15:56 PST
- Comments: In-reply-to "Shawn Erickson" <email@hidden> message dated "Fri, 21 Nov 2008 15:24:42 -0800."
Thanks, Shawn. Looks like this question should go to cocoa-dev. I'm
amazed that a system daemon can get access to the window server *at any
time*, yet this setup seems to work most of the time. So I'm puzzled
at what's going on here, IPC-wise.
Bil
Shawn Erickson <email@hidden> wrote:
> On Thu, Nov 20, 2008 at 7:48 PM, Bill Janssen <email@hidden> wrote:
> > I'm running a daemon, started by SystemStarter at boot time, and
> > running as me (an admin account), which periodically invokes
> > OpenOffice's "soffice" binary to convert MS Office docs to PDF. Works
> > most of the time, but sometimes OpenOffice crashes with this error
> > message:
>
> Likely failing to get a connection to the window server... anything
> listed in the console log when it crashes out?
>
> The crash log appears to live under /Library so this application isn't
> being truly run as a particular user, at least not in the way it
> normally would. As a result I think all bets are off having it work
> consistently ... depending on how it was coded / what frameworks it
> depends on.
>
> You really should use a launch agent to launch this type of thing in a
> users aqua session and not a daemon. Daemons live in the root session
> and don't have reliable access to the window server and this software
> appears to require such a connection, it is using AppKit for example.
>
> -Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden