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