Øystein Gisnås wrote: > 2007/8/26, Yann Leboulanger <[EMAIL PROTECTED]>: >> Ø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 >>> ("GHashTable", G_TYPE_STRING, G_TYPE_VALUE)) >>> >>> 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 ... > > Hi, I tried your suggestion of chaning out_signatures to a{sv}. Now I > get this error message: > ** (nautilus-sendto:16598): WARNING **: [Gajim] caught remote method > exception org.freedesktop.DBus.Python.exceptions.TypeError: Traceback > (most recent call last): > File "/var/lib/python-support/python2.4/dbus/service.py", line 730, > in _message_cb > _method_reply_return(connection, message, method_name, signature, *retval) > File "/var/lib/python-support/python2.4/dbus/service.py", line 248, > in _method_reply_return > reply.append(signature=signature, *retval) > TypeError: list indices must be integers > > Does this make sense to you? > > Cheers, > Øystein >
no that doesn't :/ I cc to dbus ML, maybe they could help us ;) -- Yann _______________________________________________ Gajim-devel mailing list Gajim-devel@gajim.org https://lists.gajim.org/cgi-bin/listinfo/gajim-devel