Send empty string lists with python

Lennart Poettering mzqohf at 0pointer.de
Thu Jul 28 02:30:10 EST 2005


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?

Lennart

-- 
Lennart Poettering; lennart [at] poettering [dot] de
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.de/lennart/


More information about the dbus mailing list