Send empty string lists with python

Lennart Poettering mzqohf at
Thu Jul 28 02:30:10 EST 2005


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

  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?


Lennart Poettering; lennart [at] poettering [dot] de
ICQ# 11060553; GPG 0x1A015CC4;

More information about the dbus mailing list