After installing the new mono ports (I tried everything except for
f-spot from packages, and then from ports), I have a few problems with
the dbus support (ndesk-dbus-*). Running f-spot I get the following:
$ f-spot
[Info 16:50:22.493] Initializing DBus
[Info 16:50:22.972] Initializing Mono.Addins
[Info 16:50:23.938] Starting new FSpot server
XXXXX
System.IO.FileNotFoundException: /home/jamesw/.gnome2/f-spot/photos.db
does not
exist
File name: '/home/jamesw/.gnome2/f-spot/photos.db'
at System.IO.File.Move (System.String sourceFileName, System.String
destFileNa
me) [0x00000]
at Db.Repair () [0x00000]
at FSpot.Core.get_Database () [0x00000]
at FSpot.Driver.Main (System.String[] args) [0x00000]
XXXXX
[Warn 16:50:25.224] Can't get a connection to the dbus. Trying again...
[Info 16:50:25.252] Starting new FSpot server
[Warn 16:50:25.275] Can't get a connection to the dbus. Trying again...
[Info 16:50:25.307] Starting new FSpot server
[Warn 16:50:25.329] Can't get a connection to the dbus. Trying again...
[Info 16:50:25.355] Starting new FSpot server
[Warn 16:50:25.378] Can't get a connection to the dbus. Trying again...
[Info 16:50:25.408] Starting new FSpot server
[Warn 16:50:25.430] Can't get a connection to the dbus. Trying again...
[Info 16:50:25.456] Starting new FSpot server
[Warn 16:50:25.479] Can't get a connection to the dbus. Trying again...
[Error 16:50:25.507] Sorry, couldn't start F-Spot
Segmentation fault (core dumped)
$
and with dbus-monitor reporting:
signal sender=org.freedesktop.DBus -> dest=(null destination)
path=/org/freedesk
top/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.17"
string ""
string ":1.17"
method call sender=:1.17 -> dest=org.freedesktop.DBus
path=/org/freedesktop/DBus
; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.17 -> dest=org.freedesktop.DBus
path=/org/freedesktop/DBus
; interface=org.freedesktop.DBus; member=NameHasOwner
string "org.gnome.FSpot"
signal sender=org.freedesktop.DBus -> dest=(null destination)
path=/org/freedesk
top/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string "org.gnome.FSpot"
string ""
string ":1.17"
method call sender=:1.17 -> dest=org.freedesktop.DBus
path=/org/freedesktop/DBus
; interface=org.freedesktop.DBus; member=RequestName
string "org.gnome.FSpot"
uint32 4
signal sender=org.freedesktop.DBus -> dest=(null destination)
path=/org/freedesk
top/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string "org.gnome.FSpot"
string ":1.17"
string ""
method call sender=:1.17 -> dest=org.freedesktop.DBus
path=/org/freedesktop/DBus
; interface=org.freedesktop.DBus; member=ReleaseName
string "org.gnome.FSpot"
method call sender=:1.17 -> dest=org.freedesktop.DBus
path=/org/freedesktop/DBus
; interface=org.freedesktop.DBus; member=NameHasOwner
string "org.gnome.FSpot"
method call sender=:1.17 -> dest=org.freedesktop.DBus
path=/org/freedesktop/DBus
; interface=org.freedesktop.DBus; member=NameHasOwner
string "org.gnome.FSpot"
method call sender=:1.17 -> dest=org.freedesktop.DBus
path=/org/freedesktop/DBus
; interface=org.freedesktop.DBus; member=NameHasOwner
string "org.gnome.FSpot"
method call sender=:1.17 -> dest=org.freedesktop.DBus
path=/org/freedesktop/DBus
; interface=org.freedesktop.DBus; member=NameHasOwner
string "org.gnome.FSpot"
method call sender=:1.17 -> dest=org.freedesktop.DBus
path=/org/freedesktop/DBus
; interface=org.freedesktop.DBus; member=NameHasOwner
string "org.gnome.FSpot"
signal sender=org.freedesktop.DBus -> dest=(null destination)
path=/org/freedesk
top/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.17"
string ":1.17"
string ""
Tomboy seems to work, but when I install dbus-ePxplorer from
http://www.ndesk.org/DBusExplorer it times out on connecting to
org.gnome.Tomboy. dbus-explorer hrows an exception from ndesk-dbus when
trying to open im.pidgin.PurpleService :
Unhandled Exception: System.Exception: Message body length mismatch:
4032 of expected 108569
at NDesk.DBus.Connection.ReadMessage () <0x00565>
at NDesk.DBus.Connection.Iterate () <0x00026>
at <Init>c__AnonStorey0.<>m__0 (intptr,NDesk.GLib.IOCondition,intptr)
<0x0002a>
at (wrapper native-to-managed) <Init>c__AnonStorey0.<>m__0
(intptr,NDesk.GLib.IOCondition,intptr) <0x00030>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x00007>
at DBusExplorer.MainClass.Main (string[]) <0x00061>
Though, connecting to org.freedesktop.DBus works with dbus-explorer, and
connecting to im.pidgin.purple.PurpleInterface through Net::DBus and
py-dbus work fine.
The service bus is started in /etc/rc.local, copied from the dbus
MESSAGE and dbus session bus is started in ~/.xsession by 'exec
dbus-launch --exit-with-session /usr/local/bin/openbox'