[MacPorts] #59153: dbus @1.12.16_0: Startup items not started correctly

MacPorts noreply at macports.org
Thu Oct 3 00:38:20 UTC 2019


#59153: dbus @1.12.16_0: Startup items not started correctly
-----------------------------+--------------------
 Reporter:  rubendibattista  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.6.0
 Keywords:                   |       Port:  dbus
-----------------------------+--------------------
 I'm experiencing problems with port that need dbus integration. For
 example if I run gimp:
 {{{
 2019-10-03 02:29:20.520 gimp[84942:5482481] *** WARNING: Method
 userSpaceScaleFactor in class NSView is deprecated on 10.7 and later. It
 should not be used in new applications. Use convertRectToBacking: instead.
 Session D-Bus not running. Try running `launchctl load -w
 /Library/LaunchAgents/org.freedesktop.dbus-session.plist'.
 Unable to read initialization file script-fu.init

 (gimp:84942): GLib-GObject-WARNING **: 02:29:22.464: invalid cast from
 'GtkMenuBar' to 'GtkWindow'

 (gimp:84942): Gtk-CRITICAL **: 02:29:22.464: gtk_window_add_accel_group:
 assertion 'GTK_IS_WINDOW (window)' failed
 }}}

 So I checked the `dbus` processes running:

 {{{
 ps -A | grep dbus
 84828 ??         0:00.01 /opt/local/bin/dbus-daemon --system --nofork
 }}}

 So the session daemon is not running.

 So I do
 {{{
 sudo port load dbus
 }}}

 but still
 {{{
 ps -A | grep dbus
 84828 ??         0:00.01 /opt/local/bin/dbus-daemon --system --nofork
 }}}

 If I then do:
 {{{
 launchctl start org.freedesktop.dbus-session
 }}}

 I get
 {{{
 ps -A | grep dbus
 84828 ??         0:00.01 /opt/local/bin/dbus-daemon --system --nofork
 85050 ??         0:00.01 /opt/local/bin/dbus-daemon --nofork --session
 }}}

 but still gimp (or Inkscape) don't get the connection to dbus.

 MacOs version: 10.14.6 (18G95)

-- 
Ticket URL: <https://trac.macports.org/ticket/59153>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list