[Sugar-devel] [ASLO] Release Maze-10
Rafael Ortiz
rafael at activitycentral.com
Wed Jun 8 17:45:44 EDT 2011
Peter, Chris thanks for reporting
It seems that the w.po template has an invalid content type.
"Content-Type: text/plain; charset=CHARSET\n"
should be
"Content-Type: text/plain; charset=UTF-8\n"
I've seen this before in some templates generated by genpot, but haven't
been able to reproduce it.
On Wed, Jun 8, 2011 at 4:33 PM, Chris Leonard <cjlhomeaddress at gmail.com>wrote:
> Let me look into it. I'll post what I find.
>
> cjl
>
> On Wed, Jun 8, 2011 at 5:05 PM, Peter Robinson <pbrobinson at gmail.com>
> wrote:
> > On Wed, Jun 8, 2011 at 8:14 PM, Sugar Labs Activities
> > <activities at sugarlabs.org> wrote:
> >> Activity Homepage:
> >> http://activities.sugarlabs.org/addon/4071
> >>
> >> Sugar Platform:
> >> 0.82 - 0.92
> >>
> >> Download Now:
> >> http://activities.sugarlabs.org/downloads/file/27404/maze-10.xo
> >>
> >> Release notes:
> >> Fixing activity.info deprecations.
> >
> > It seems there's a problem with one of the translations on this activity.
> >
> > + /usr/bin/python setup.py build
> > /builddir/build/BUILD/Maze.activity/po/w.po: warning: Charset
> > "CHARSET" is not a portable encoding name.
> > Message
> > conversion to user's charset might not work.
> > Traceback (most recent call last):
> > File "setup.py", line 3, in <module>
> > bundlebuilder.start()
> > File "/usr/lib/python2.7/site-packages/sugar/activity/bundlebuilder.py",
> > line 424, in start
> > globals()['cmd_' + args[0]](config, args[1:])
> > File "/usr/lib/python2.7/site-packages/sugar/activity/bundlebuilder.py",
> > line 399, in cmd_build
> > builder.build()
> > File "/usr/lib/python2.7/site-packages/sugar/activity/bundlebuilder.py",
> > line 105, in build
> > self.build_locale()
> > File "/usr/lib/python2.7/site-packages/sugar/activity/bundlebuilder.py",
> > line 137, in build_locale
> > cat = gettext.GNUTranslations(open(mo_file, 'r'))
> > File "/usr/lib/python2.7/gettext.py", line 180, in __init__
> > self._parse(fp)
> > File "/usr/lib/python2.7/gettext.py", line 339, in _parse
> > tmsg = unicode(tmsg, self._charset)
> > LookupError: unknown encoding: CHARSET
> >
> > Peter
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20110608/2dd66041/attachment-0001.html>
More information about the Sugar-devel
mailing list