<div dir="ltr"><div>More specifically the translation has a couple of \n in it. Since linfo are generated by sugar, we should probably refuse to generate it that way (or encode it if we want to allow \n in summaries).<br></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 3 June 2013 21:44, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>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.<br><br></div>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.<span style="font-size:11pt;font-family:"Calibri","sans-serif"" lang="EN-US"><br>

</span></div><div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On 3 June 2013 21:32, Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org" target="_blank">gonzalo@laptop.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I don't think is a error in the sugar bundle builder, I use it all time, and generate .xo files without problem.<span><font color="#888888"><div>

<br></div><div>Gonzalo</div></font></span></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>
On Mon, Jun 3, 2013 at 4:23 PM,  <span dir="ltr"><<a href="mailto:lionel@olpc-france.org" target="_blank">lionel@olpc-france.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div><div>
<div link="#0563C1" vlink="#954F72" lang="FR"><div><p class="MsoNormal">Hi all,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><span lang="EN-US">I’ve an issue building jukebox in sugar-build (see error below).<u></u><u></u></span></p>


<p class="MsoNormal"><span lang="EN-US">I’ve fixed it locally removing accents and \n in activity.linfo but it probably need a more definitive fix.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>


<p class="MsoNormal"><span lang="EN-US">Best regards.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">                Lionel.<u></u><u></u></span></p>


<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">* Building jukebox<u></u><u></u></span></p>


<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">    self._parse_linfo(linfo_file)<u></u><u></u></span></p><p style="margin:0cm;margin-bottom:.0001pt">


<span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">  File "/home/fedora/sugar-build/build/out/install/lib/python2.7/site-packages/sugar3/bundle/activitybundle.py", line 207, in _parse_linfo<u></u><u></u></span></p>


<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">    cp.readfp(linfo_file)<u></u><u></u></span></p><p style="margin:0cm;margin-bottom:.0001pt">


<span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">  File "/usr/lib64/python2.7/ConfigParser.py", line 324, in readfp<u></u><u></u></span></p><p style="margin:0cm;margin-bottom:.0001pt">


<span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">    self._read(fp, filename)<u></u><u></u></span></p><p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">  File "/usr/lib64/python2.7/ConfigParser.py", line 546, in _read<u></u><u></u></span></p>


<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">    raise e<u></u><u></u></span></p><p style="margin:0cm;margin-bottom:.0001pt">


<span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">ConfigParser.ParsingError: File contains parsing errors: /home/fedora/sugar-build/jukebox/locale/fr/activity.linfo<u></u><u></u></span></p>


<p style="margin-right:0cm;margin-bottom:0cm;margin-left:27.0pt;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"">[line  4]: 'les chansons que tu aimes, regarde des films et des vid\xc3\xa9os p\xc3\xa9dagogiques, et\n'<u></u><u></u></span></p>


<p style="margin-right:0cm;margin-bottom:0cm;margin-left:27.0pt;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">[line  5]: 'bien plus !\n'<u></u><u></u></span></p>


<p style="margin:0cm;margin-bottom:.0001pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif"" lang="EN-US">[osbuild sugar-build]$ <u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>


<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p></div></div><br></div></div><div>_______________________________________________<br>

Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br>Daniel Narvaez<br>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel Narvaez<br>
</div>