[Localization] [Sugar-devel] [TurtleArt]: Compile error with jhbuild

Walter Bender walter.bender at gmail.com
Tue Sep 27 07:44:38 EDT 2011


On Tue, Sep 27, 2011 at 6:29 AM,  <s.boutayeb at free.fr> wrote:
> Hi all,
>
> TurtleArt has a building issue (in jhbuikd in Debian Squeeze). I cc the
> localization list, assuming this issue is related with the localized pl.po file
> (according to the log below):

Yeah. There are some duplicate strings in the Polish PO file. I've
been investigating.

-walter

>
>
> *** Building turtleart *** [23/26]
> python setup.py fix_manifest
> WARNING: The fix_manifest command is obsolete.
>         The MANIFEST file is no longer used in bundles,
>         please remove it.
> python setup.py build
> /home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2055: Double
> définition de message...
> /home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2034: ...voici
> l'endroit de la première occurence
> /home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2071: Double
> définition de message...
> /home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2030: ...voici
> l'endroit de la première occurence
> /home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2095: Double
> définition de message...
> /home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2038: ...voici
> l'endroit de la première occurence
> /home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2116: Double
> définition de message...
> /home/samy/dev/sugar/sugar-jhbuild/source/turtleart/po/pl.po:2041: ...voici
> l'endroit de la première occurence
> msgfmt: 4 erreurs fatales trouvées
> ERROR - msgfmt failed with return code 1.
> Traceback (most recent call last):
>  File "setup.py", line 32, in <module>
>    bundlebuilder.start()
>  File
> "/home/samy/dev/sugar/sugar-jhbuild/install/lib/python2.6/site-packages/sugar/activity/bundlebuilder.py",
> line 404, in start
>    globals()['cmd_' + args[0]](config, args[1:])
>  File
> "/home/samy/dev/sugar/sugar-jhbuild/install/lib/python2.6/site-packages/sugar/activity/bundlebuilder.py",
> line 379, in cmd_build
>    builder.build()
>  File
> "/home/samy/dev/sugar/sugar-jhbuild/install/lib/python2.6/site-packages/sugar/activity/bundlebuilder.py",
> line 105, in build
>    self.build_locale()
>  File
> "/home/samy/dev/sugar/sugar-jhbuild/install/lib/python2.6/site-packages/sugar/activity/bundlebuilder.py",
> line 137, in build_locale
>    cat = gettext.GNUTranslations(open(mo_file, 'r'))
> IOError: [Errno 2] No such file or directory:
> '/home/samy/dev/sugar/sugar-jhbuild/source/turtleart/locale/pl/LC_MESSAGES/org.laptop.TurtleArtActivity.mo'
> *** Error during phase build of turtleart: ########## Error running python
> setup.py build *** [23/26]
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org


More information about the Localization mailing list