Re: what does FAILED TO GET ASN FROM CORESERVICES mean?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com 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 <shawnce@gmail.com> wrote:
On Thu, Nov 20, 2008 at 7:48 PM, Bill Janssen <janssen@parc.com> 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Bill Janssen