<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 9:41 AM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Feb 17, 2015 at 6:03 AM, Robert Nuske <span dir="ltr"><<a href="mailto:rnuske@gwdg.de" target="_blank">rnuske@gwdg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi<br>
<br>
g.extension from grass70 (ppa:grass-devel) still fails.<br>
[...]<br>
Traceback (most recent call last):<br>
  File "/usr/lib/grass70/tools/<a href="http://g.html2man.py" target="_blank">g.html2man.py</a>", line 5, in <module><br>
    from html import HTMLParser, HTMLParseError<br>
ImportError: No module named html<br>
[...]<br>
<br>
GRASS Version: 7.0.0+1svn64647~ubuntu14.04.1<br>
package from PPA grass-devel<br>
ubuntu 14.04  64bit<br>
<br>
-----------------------------------------------------------<br>
<br>
Not getting anywhere with that error message, I build GRASS releasebranch_7_0<br>
from source according to<br>
<a href="http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS" target="_blank">http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS</a><br>
<br>
Everything works nicely, including g.extension<br>
[...]<br>
Installation of <r.grow.shrink> successfully finished<br>
<br>
:-)<br>
<br>
-----------------------------------------------------------<br>
<br>
Starting the packaged version of GRASS 7 afterwards (/usr/bin/grass70)<br>
leads to errors and no wxpython GUI.<br>
<br>
Error message in popup window:<br>
Unable to parse user toolboxes XML files. Default module tree will be loaded.<br>
<br>
Ursache: 'ascii' codec can't encode character u'\xfc' in position 201: ordinal<br>
not in range(128)<br>
<br>
Traceback (most recent call last):<br>
  File "/usr/lib/grass70/gui/wxpython/lmgr/menudata.py", line 62, in __init__<br>
    MenuTreeModelBuilder.__init__(self, filename, expandAddons=expandAddons)<br>
  File "/usr/lib/grass70/gui/wxpython/core/menutree.py", line 66, in __init__<br>
    expAddons(xmlTree)<br>
  File "/usr/lib/grass70/gui/wxpython/core/toolboxes.py", line 280, in<br>
expandAddons<br>
    _expandRuntimeModules(root, loadMetadata=True)<br>
  File "/usr/lib/grass70/gui/wxpython/core/toolboxes.py", line 525, in<br>
_expandRuntimeModules<br>
    desc, keywords = _loadMetadata(name)<br>
  File "/usr/lib/grass70/gui/wxpython/core/toolboxes.py", line 560, in<br>
_loadMetadata<br>
    sys.stderr.write("%s: %s\n" % (module, e))<br>
  File "/usr/lib/grass70/etc/python/grass/exceptions/__init__.py", line 48, in<br>
__str__<br>
    return str(self.value)<br>
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position<br>
201: ordinal not in range(128)<br>
<br>
<br></blockquote><div><br></div></div></div><div>Hi,</div><div><br></div><div> I tried to fix it in r64661 in trunk. I assume the problem is that the error message is translatable and has some non-ascii characters. Could anyone test it in trunk (preferably with different locale)? Any better solution is welcome too. We should fix this before the release.</div></div></div></div></blockquote><div><br></div><div>Could anyone test it? I think this should be backported since the bug prevents from starting gui but I need someone with different locale to test it. I think the error message contains non-ascii characters which is the problem then. Sorry I forgot about this in the last days and nobody else really paid attention to this one. Or we can completely skip loading metadata addon modules for the release as it is now on Windows. Any opinion?</div><div><br></div><div>Anna</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="HOEnZb"><font color="#888888"><div><br></div><div>Anna</div></font></span><span class=""><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
cheers<br>
  robert<br>
_______________________________________________<br>
grass-dev mailing list<br>
<a href="mailto:grass-dev@lists.osgeo.org" target="_blank">grass-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-dev</a><br>
</blockquote></span></div><br></div></div>
</blockquote></div><br></div></div>