[Sugar-devel] Issue building Jukebox in sugar-build
Gonzalo Odiard
gonzalo at laptop.org
Mon Jun 3 15:53:52 EDT 2013
I tried again with the last translations from pootle and "setup.py dist_xo"
does not give me errors.
Of course, I don't use LANG=fr but es_AR.utf8
I don't see how LANG can be related to this problem,
when create a activity, all the languages are processed, right?
Gonzalo
On Mon, Jun 3, 2013 at 4:44 PM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
> 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/c178ec6e/attachment.html>
More information about the Sugar-devel
mailing list