TypeError: More items found in D-Bus signature than in Python arguments
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Sep 11 08:10:59 PDT 2008
On Thu, 11 Sep 2008 at 15:38:36 +0200, Federico wrote:
> ERROR:dbus.connection:Unable to set arguments () according to
> signature u'as': <type 'exceptions.TypeError'>: More items found in
> D-Bus signature than in Python arguments
Just like it says, more items were found in the D-Bus signature ('as', which
means one array of strings) than the Python arguments (there weren't any).
According to HAL's introspection information (which dbus-python
parses automatically), the Eject method expects to be given an array of
strings, something like this: dev.Eject(['a', 'list', 'of', 'strings'])
Please consult HAL documentation (this is not a HAL mailing list)
to find out what the list of strings means, and therefore what strings
you should be putting in it.
Regards,
Simon
More information about the dbus
mailing list