hp at redhat.com
Fri Mar 11 21:48:33 PST 2005
On Fri, 2005-03-11 at 19:02 -0800, Ryan Gammon wrote:
> Hi guys,
> I'm playing around with a dbus and the glib bindings from dbus cvs.
> test-dbus-glib runs successfully, which is pretty cool.
> I'm having some trouble with dbus-viewer -- is this tool currently
> working? It gives me:
> Unable to load "org.freedesktop.DBus": D-BUS error
> org.freedesktop.DBus.Error.InvalidSignature: Corrupt type signature
> Digging into the code a bit, I see that where things are breaking down
> is in parsing:
> <interface name="org.freedesktop.DBus.Introspectable">
> <method name="Introspect">
> <arg name="data" direction="out" type="string"/>
> In particular, type="string"...
> "string" is getting passed down into dbus_signature_validate, which I
> believe may be looking for something more like "s" (type code?) instead.
> Just curious if this is something on the todo list, or if I've got
> something wrong on my side...
This should be fixed by the patch Colin just did (the problem is exactly
what you say, should be "s" instead of "string")
More information about the dbus