Quartz version of GnuCash and dbus

John Ralls jralls at ceridwen.us
Fri May 20 09:41:56 EDT 2011


On May 19, 2011, at 9:19 PM, Mike Alexander wrote:

> --On May 19, 2011 12:21:47 PM -0700 John Ralls <jralls at ceridwen.us> wrote:
> 
>>> 
>>> OK, I'll try it out tomorrow.
>> 
>> But no joy. Here's the error from Console:
>> 
>>> 5/19/11 12:17:26 PM	[0x0-0xc69c69].org.gnucash.Gnucash[32588]
>>> 	)Failed to load key /apps/gnucash/history/maxfiles: Failed to
>>> contact configuration server; some possible causes are that you need
>>> to enable TCP/IP networking for ORBit, or you have stale NFS locks
>>> due to a system crash. See http://projects.gnome.org/gconf/ for
>>> information. (Details -  1: Failed to get connection to session:
>>> /Users/john/Library/Gnucash-2.4/bin/dbus-launch terminated
>>> abnormally with the following error: Autolaunch requested, but X11
>>> support not compiled in.
>> 
>> The reason it worked with your MacPorts X11 dbus and fails with the
>> gtk-osx dbus is evident from the last line, a mis-feature of dbus I
>> had forgotten about.
>> 
> 
> Are you still calling dbus-launch?  Don't do that.  With the launchd support you don't need it and don't want it (and it won't work as you found out).  X11 support is not compiled into the MacPorts version of dbus either since it's not needed with launchd support.  I just verified that my copy of dbus-launch doesn't have X11 support.  I would get the same error mess if I ever tried to use it like that.
> 
> Did you change the gnucash launch script along the lines of my patch? I removed the block of code that called dbus-launch and replaced it with code that does nothing if the dbus session bus is already registered with launchd and registers it if not.  You need that change (or something equivalent) or it won't work.
> 
>      

I applied your patch, only changing the path to dbus in the link command so that it pointed  inside the bundle, and I copied the plist from the dbus source tree. (It's version 1.4.1.) Perhaps I need to reconfigure and rebuild dbus?

Regards,
John Ralls


More information about the gnucash-devel mailing list