Problem starting OS X version

John Ralls jralls at ceridwen.us
Fri Jan 1 11:21:44 EST 2010


On Dec 31, 2009, at 10:23 PM, Brendan Simon wrote:

> 
> It is Intel. The same fix works for me too (with the quick limited
> testing I've done) :)
> 
> It maybe that dragging the app bundle out of the Application folder and
> back again may fix the problem also ??
> 
> Hopefully the next build will fix this issue, and hopefully the issue
> with the zombie dbus-daemon too :)
> 
> I think the readme states that there is no way to determine the
> associated dbus-daemon but surely there could be a startup script that
> can work out the PID of the application and select the next higher PID
> that is called /opt/gnucash-<version>/bin/dbus-daemon ??
> 
> $ ps aux | grep -i gnucash
> brendan 67023 0.0 0.0 599780 428 s002 R+ 5:16pm 0:00.00 grep -i gnucash
> brendan 67020 0.0 0.1 79016 2864 ?? S 5:16pm 0:00.06
> /opt/gnucash-2.2.9/libexec/gconfd-2
> brendan 67018 0.0 0.0 600128 472 ?? Ss 5:16pm 0:00.00
> /opt/gnucash-2.2.9/bin/dbus-daemon --fork --print-pid 4 --print-address
> 6 --config-file
> /Applications/Gnucash.app/Contents/Resources/etc/dbus-1/session.conf
> brendan 66978 0.0 0.9 476360 39532 ?? S 5:16pm 0:06.07
> /Applications/Gnucash.app/Contents/MacOS/Gnucash bin --config-path
> /Applications/Gnucash.app/Contents/Resources/etc/gnucash --share-path
> /Applications/Gnucash.app/Contents/Resources/share/gnucash

Yes, dragging Gnucash.app out of /Applicatons and back in should also work -- anything that gets launchd to reload its plist cache. I am at present at a complete loss as to what's going wrong here; I haven't been able to replicate the problem on my PPC machine. The news that it also affects Intel is useful, as I have more Intel macs around to test on.

The dbus daemon stays running because there's no way to return to the shell script and kill it when Gnucash exits. Finding a running dbus's pid won't help because gnucash needs the session id to connect to, and it isn't saved anywhere -- though I suppose the launcher script might be able to get around that.

Regards,
John Ralls



More information about the gnucash-user mailing list