[Gajim-devel] Declaring return type of gajim dbus method list_contacts with dbus glib

Yann Leboulanger asterix at lagaule.org
Sun Aug 26 23:11:20 CEST 2007

Øystein Gisnås wrote:
> The signature of list_contacts in remote_control.py has changed return
> value from undefined to 'av', via 'a{ss}'. The return array has been
> changed from undefined to 'a{sv}', via 's'. See
> http://trac.gajim.org/changeset/7877 and
> http://trac.gajim.org/changeset/7811
> Nautilus-sendto tries to call the method using glib binding. It worked
> with previous gaim versions, but not now. The return type is specified
> as
> dbus_g_type_get_collection ("GSList", dbus_g_type_get_map
> The error message being returned is "Expected D-BUS array, got type code 'v'"
> Is the return type in nautilus-sendto wrong, or doesn't the DBus GLib
> binding work like it should here?
> This bug is reported against nautilus-sendto at
> http://bugzilla.gnome.org/show_bug.cgi?id=443484 and
> https://bugs.launchpad.net/ubuntu/+source/nautilus-sendto/+bug/118475
> Cheers,
> Øystein Gisnås
> Debian Maintainer

indeed there seem to be a pb in dbus signatures. unfortunatly I can't
test at home (debian unstable) because of that:

$ nautilus-sendto gajim.py
Segmentation fault

but if you can you can try to change the out_signatures to a{sv} in
src/remote_controle.py ?

Maybe the bug is in nautilus-sendto code that handles badly what
list_contacts returns ...


More information about the Gajim-devel mailing list