[Sugar-devel] [PATCH sugar] Anly approve and not handle channels in the shell, part of OLPC #10738

Simon Schampijer simon at schampijer.de
Thu Apr 28 15:18:31 EDT 2011


On 04/15/2011 06:47 PM, Sascha Silbe wrote:
[...]
>
> Given that "filt" is non-empty, do we really need the explicit
> conversions? I.e. would the following work?
>
>      def __get_filters_cb(self):
>          logging.debug('__get_filters_cb')
>          return [{
>              CHANNEL + '.ChannelType': CHANNEL_TYPE_TEXT,
>              CHANNEL + '.TargetHandleType': CONNECTION_HANDLE_TYPE_ROOM,
>              }]

No, we really need the explicit conversion:
"""Array or variant type requires that type int32 be written, but 
end_dict_entry was written. The overall signature expected here was 
'^Faa{si}' and we are on byte 5 of that signature. D-Bus not built with 
-rdynamic so unable to print a backtrace"""

Simon


More information about the Sugar-devel mailing list