← Back to team overview

zeitgeist team mailing list archive

[Bug 787691] Re: error when there are no active extensions

 

Fixed.

=== modified file '_zeitgeist/engine/remote.py'
--- _zeitgeist/engine/remote.py 2011-05-07 19:16:12 +0000
+++ _zeitgeist/engine/remote.py 2011-06-02 20:13:59 +0000
@@ -59,7 +59,7 @@
        _dbus_properties = {
                "version": DBUSProperty(lambda self: (0, 8, 0), out_signature="iii"),
                "extensions": DBUSProperty(
-                       lambda self: list(self._engine.extensions.iter_names()),
+                       lambda self: dbus.Array(self._engine.extensions.iter_names(), 's'),
                        out_signature="as"),
        }

** Changed in: zeitgeist
       Status: Confirmed => Fix Committed

** Changed in: zeitgeist
    Milestone: None => 0.8.1

** Changed in: zeitgeist
     Assignee: Seif Lotfy (seif) => Siegfried Gevatter (rainct)

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/787691

Title:
  error when there are no active extensions

Status in Zeitgeist Framework:
  Fix Committed

Bug description:
  process 6613: Array or variant type requires that type variant be written, but end_dict_entry was written.
  The overall signature expected here was 'a{sv}' and we are on byte 3 of that signature.
  [ERROR - dbus.service] Unable to append ({'version': (0, 8, 0), 'extensions': []},) to message with signature a{sv}: <type 'exceptions.ValueError'>: Unable to guess signature from an empty list


References