Emitting a signal with a tuple
John (J5) Palmieri
johnp at redhat.com
Wed May 17 08:44:35 PDT 2006
Works fine in 0.51.0. Could be we didn't support tuples in 0.42.0 or
that 0.42.0 has bad unicode handling.
On Wed, 2006-05-17 at 10:40 +0200, Luigi Paioro wrote:
> I have an object which emits a signal. The signal is a method with 1
> argument which is a tuple (Python). When it emits the signal I get this
> File "/usr/lib/python2.4/site-packages/dbus/proxies.py", line 48, in
> reply_message = self._connection.send_with_reply_and_block(message, -1)
> File "dbus_bindings.pyx", line 350, in
> dbus_bindings.DBusException: Argument of unknown type '<type 'unicode'>'
> While, if I emit a simple string, it runs.
> My dbus Python binding version is 0.42.0... is it possible that that
> version doesn't support the translation of tuple into dbus.Struct
> (STRUCT type)?
> Can you help me?
> dbus mailing list
> dbus at lists.freedesktop.org
John (J5) Palmieri <johnp at redhat.com>
More information about the dbus