I tried generating pot from sugar image, but i had a python error (i went in ~/Activities/LearningActivity.activity/ folder)<br>$ ./setup.py genpot<br>=> errors : <br> Traceback (most recent call last):<br>  File "./setup.py", line 24, in <module><br>
    bundlebuilder.start() <br>  File "/opt/sweets/sugar-toolkit/src/sugar/activity/bundlebuilder.py", line 382, in start<br>    globals()['cmd_' + args[0]](config, args[1:])<br>  File "/opt/sweets/sugar-toolkit/src/sugar/activity/bundlebuilder.py", line 344, in cmd_genpot<br>
    retcode = subprocess.call(args)<br>  File "/usr/lib/python2.6/subprocess.py", line 480, in call<br>    return Popen(*popenargs, **kwargs).wait()<br>  File "/usr/lib/python2.6/subprocess.py", line 633, in __init__<br>
    errread, errwrite)<br>  File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child<br>    raise child_exception<br>OSError: [Errno 2] No such file or directory<br><br>So, how could i correct it ?<br>
<br><div class="gmail_quote">2011/5/21 laurent bernabe <span dir="ltr"><<a href="mailto:laurent.bernabe@gmail.com">laurent.bernabe@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
ok, i think i'll try to generate pot folder and file from Sugar Terminal, and then transfer them to my Kubuntu host<div><div></div><div class="h5"><br><br><div class="gmail_quote">2011/5/21 Walter Bender <span dir="ltr"><<a href="mailto:walter.bender@gmail.com" target="_blank">walter.bender@gmail.com</a>></span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><div class="gmail_quote"><div><div></div><div>On Sat, May 21, 2011 at 12:49 PM, laurent bernabe <span dir="ltr"><<a href="mailto:laurent.bernabe@gmail.com" target="_blank">laurent.bernabe@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
Hello everyone,<br><br>i don't know if it is better to ask this question in devel-request or in sugar-devel :<br>i want to generate the pot files for my application LearningWriting, but in this tutorial : <a href="http://en.flossmanuals.net/make-your-own-sugar-activities/ch013_going-international-with-pootle/" target="_blank">http://en.flossmanuals.net/make-your-own-sugar-activities/ch013_going-international-with-pootle/</a> they talk about using the setup script. <br>



But it seems to me that this script is only callable from an OLPC terminal as it imports bundlebuilder from sugar-activity.<br>However, on my post, the sugar emulator is a trisquel image inside VirtualBox.<br>So, i wonder, can i generate easily this pot file directly from my Kubuntu host, without using setup script ?<br>


</blockquote></div></div><div><br>As you surmise, setup.py uses some Sugar dependencies. Why not just run it inside a terminal in the emulator? You don't need to run it often.<br><br>-walter<br> <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">

<div>

<br>Apologizes if my question is not accurate enough<br><br>Regards<br>
<br></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></blockquote></div><font color="#888888"><br><br clear="all"><br>-- <br>Walter Bender<br>Sugar Labs<br><a href="http://www.sugarlabs.org" target="_blank">http://www.sugarlabs.org</a><br><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>