[Sugar-devel] [PATCH sugar] Copy to external device: do not fail on custom binary metadata OLPC #10807

Simon Schampijer simon at schampijer.de
Mon Apr 11 11:17:07 EDT 2011


On 04/11/2011 08:14 AM, Sascha Silbe wrote:
> Excerpts from Simon Schampijer's message of Mon Apr 04 19:36:31 +0200 2011:
>
>> Catch 'UnicodeDecodeError' and do not write the metadata
>> if that error occurs but still write the file itself.
>
> Let's drop the following part of the description for now:
>
>> This might be
>> enough and the guidelines should maybe ask the activity authors
>> to not use binary blobs for metadata, or base64 them before storing
>> them in the metadata. More reasoning and background information
>> in the ticket itself.

Removed that part and pushed:

http://git.sugarlabs.org/sugar/mainline/commit/c7dbbf828ff0212d30755de14d1af121830c884b

http://git.sugarlabs.org/sugar/mainline/commit/ba8583f8b009d15e5ae78d21bc700a990c6d10c4

> I've followed up on the ticket.

Thanks, I replied there too.

Regards,
    Simon


More information about the Sugar-devel mailing list