error when there are no active extensions

Bug #787691 reported by Siegfried Gevatter
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Low
Siegfried Gevatter

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

Related branches

Seif Lotfy (seif)
Changed in zeitgeist:
assignee: nobody → Seif Lotfy (seif)
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Siegfried Gevatter (rainct) wrote :

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:
assignee: Seif Lotfy (seif) → Siegfried Gevatter (rainct)
milestone: none → 0.8.1
status: Confirmed → Fix Committed
Seif Lotfy (seif)
Changed in zeitgeist:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.