Quartz version of GnuCash and dbus

Mike Alexander mta at umich.edu
Fri May 20 00:19:07 EDT 2011


--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.

             Mike
 


More information about the gnucash-devel mailing list