Send empty string lists with python

John (J5) Palmieri johnp at redhat.com
Thu Jul 28 03:33:36 EST 2005


On Wed, 2005-07-27 at 18:30 +0200, Lennart Poettering wrote:
> Hi!
> 
> If I try to call a remote DBUS method with an empty string array as 
> argument with python-dbus I always get an IndexError on the client
> side:
> 
>   File "dbus_bindings.pyx", line 878, in dbus_bindings.MessageIter.append
>   File "dbus_bindings.pyx", line 1033, in dbus_bindings.MessageIter.append_array
> IndexError: list index out of range
> 
> If the string list is not empty everything works fine. How can I fix this?

It is a bug in the bindings.  I need to take a look at it.  Can you file
a bug report in bugzilla.  Thanks.

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list