On Sat, May 21, 2011 at 07:30:04PM +0200, laurent bernabe wrote: > I tried generating pot from sugar image, but i had a python error (i went in > ~/ > Activities/LearningActivity.activity/ folder) > $ ./setup.py genpot > => errors : > Traceback (most recent call last): > File "./setup.py", line 24, in <module> > bundlebuilder.start() > File "/opt/sweets/sugar-toolkit/src/sugar/activity/bundlebuilder.py", line > 382, in start > globals()['cmd_' + args[0]](config, args[1:]) > File "/opt/sweets/sugar-toolkit/src/sugar/activity/bundlebuilder.py", line > 344, in cmd_genpot > retcode = subprocess.call(args) > File "/usr/lib/python2.6/subprocess.py", line 480, in call > return Popen(*popenargs, **kwargs).wait() > File "/usr/lib/python2.6/subprocess.py", line 633, in __init__ > errread, errwrite) > File "/usr/lib/python2.6/subprocess.py", line 1139, in _execute_child > raise child_exception > OSError: [Errno 2] No such file or directory > > So, how could i correct it ?
Install the gettext package. (The error shows that xgettext binary cannot be called by the subprocess. I looked at line 382 in sugar-toolkit/src/sugar/activity/bundlebuilder.py to find out what it was doing and saw xgettext was referenced, so it is likely that you haven't got it installed.) -- James Cameron http://quozl.linux.org.au/ _______________________________________________ Sugar-devel mailing list [email protected] http://lists.sugarlabs.org/listinfo/sugar-devel

