[Sugar-devel] Issue building Jukebox in sugar-build
Daniel Narvaez
dwnarvaez at gmail.com
Mon Jun 3 15:44:08 EDT 2013
How does the fact that you use it all the time and it works for you implies
that it has no bugs? :) You must not be running it with LANG=fr.
The trace seems pretty clear to me. It's failing to parse
jukebox/locale/fr/activity.linfo. Probably the format is not valid because
of the translation, but bundle builder should handle parsing errors there
rather than just dieing.
On 3 June 2013 21:32, Gonzalo Odiard <gonzalo at laptop.org> wrote:
> I don't think is a error in the sugar bundle builder, I use it all time,
> and generate .xo files without problem.
>
> Gonzalo
>
>
> On Mon, Jun 3, 2013 at 4:23 PM, <lionel at olpc-france.org> wrote:
>
>> Hi all,****
>>
>> ** **
>>
>> I’ve an issue building jukebox in sugar-build (see error below).****
>>
>> I’ve fixed it locally removing accents and \n in activity.linfo but it
>> probably need a more definitive fix.****
>>
>> ** **
>>
>> Best regards.****
>>
>> ** **
>>
>> Lionel.****
>>
>> ** **
>>
>> ** **
>>
>> * Building jukebox****
>>
>> self._parse_linfo(linfo_file)****
>>
>> File
>> "/home/fedora/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/bundle/activitybundle.py",
>> line 207, in _parse_linfo****
>>
>> cp.readfp(linfo_file)****
>>
>> File "/usr/lib64/python2.7/ConfigParser.py", line 324, in readfp****
>>
>> self._read(fp, filename)****
>>
>> File "/usr/lib64/python2.7/ConfigParser.py", line 546, in _read****
>>
>> raise e****
>>
>> ConfigParser.ParsingError: File contains parsing errors:
>> /home/fedora/sugar-build/jukebox/locale/fr/activity.linfo****
>>
>> [line 4]: 'les chansons que tu aimes, regarde des films et des
>> vid\xc3\xa9os p\xc3\xa9dagogiques, et\n'****
>>
>> [line 5]: 'bien plus !\n'****
>>
>> [osbuild sugar-build]$ ****
>>
>> ** **
>>
>> ** **
>>
>> ** **
>>
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
--
Daniel Narvaez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130603/001523e7/attachment.html>
More information about the Sugar-devel
mailing list