~cheers/cheers/unicode-problems

Viewing all changes in revision 13.

  • Committer: Manish Sinha
  • Date: 2010-11-06 19:29:15 UTC
  • Revision ID: manishsinha.tech@gmail.com-20101106192915-70l76ygdasam3ibm
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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: