lp:~cheers/cheers/getawardedtrophies-gettrophybyapp-gettrophybyset
- Get this branch:
- bzr branch lp:~cheers/cheers/getawardedtrophies-gettrophybyapp-gettrophybyset
Branch merges
- Seif Lotfy: Approve (code implementation)
- Stuart Langridge: Pending requested
-
Diff: 62 lines (+9/-5)3 files modifiedcheers/datastore.py (+0/-1)
cheers/logic.py (+6/-3)
cheers/server.py (+3/-1)
Recent revisions
- 13. By Manish Sinha (मनीष सिन्हा)
-
Added the trophy dict-->list converter and added the provision to fetch the trophies via get_trophies from DBus
Moved the getting of instance of trophy store from config.py to factory.py
Use the updated trophy in samples/
valid.trophy
When the trophies are requested via DBus API the error got is
:::
process 10926: Array or variant type requires that type string be written, but end_struct was written.
The overall signature expected here was 'a(a(a(s))a(a( s))ssssb) ' and we are on byte 16 of that signature.
ERROR:dbus.service: Unable to append ([['some- id-for- trophy' , [['default', 'My Great Trophy'], ['fr-fr', 'Mon Trophie a la Magnifique']], [['default', "You must be really great! That's why you've got this trophy."], ['fr-fr', u'Vous \xeates tres magnifique!']], 'my-great- trophy- set', '/usr/share/ pixmaps/ apple-grren. png', 'gtk-info', 'application: //banshee. desktop' , True]],) to message with signature a(a(a(s) )a(a(s) )ssssb) : <type 'exceptions. TypeError' >: Unknown type '\x29' in D-Bus signature
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:cheers