[MacPorts] #32945: dbus needs unloading and reloading the .plist items in order for applications to connect to it

MacPorts noreply at macports.org
Thu Jan 19 10:12:29 PST 2012


#32945: dbus needs unloading and reloading the .plist items in order for
applications to connect to it
--------------------------------+-------------------------------------------
 Reporter:  vloodo@…            |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.0.3                                
 Keywords:                      |        Port:  dbus                                 
--------------------------------+-------------------------------------------
 On Snow Leopard, I have this recurring problem where applications that
 want to connect to dbus will randomly give errors that dbus is not
 running, even though it is. For example, when I start Inkscape, I get
 {{{
 Dynamic session lookup supported but failed: launchd did not provide a
 socket path, verify that org.freedesktop.dbus-session.plist is loaded!
 Failed to get connection
 ** (inkscape:5585): CRITICAL **: dbus_g_proxy_new_for_name: assertion
 `connection != NULL' failed

 ** (inkscape:5585): CRITICAL **: dbus_g_proxy_call: assertion
 `DBUS_IS_G_PROXY (proxy)' failed

 ** (inkscape:5585): CRITICAL **: dbus_g_connection_register_g_object:
 assertion `connection != NULL' failed
 }}}
 and similar output from gimp and other applications. However, when I try
 to load the {{{.plist}}} object, I get
 {{{
 # launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-
 session.plist
 org.freedesktop.dbus-session: Already loaded
 }}}
 The way around this is to first call {{{launchctl}}} and tell it to unload
 the item then reload it. After that Inkscape and gimp start with no errors
 for a couple of days, until the problem reoccurs.

-- 
Ticket URL: <https://trac.macports.org/ticket/32945>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list