[GRASS-user] problem in ubuntu package (ppa:grass-devel) was: can not install addons with g.extension
Robert Nuske
rnuske at gwdg.de
Tue Feb 17 03:03:20 PST 2015
Hi
g.extension from grass70 (ppa:grass-devel) still fails.
[...]
Traceback (most recent call last):
File "/usr/lib/grass70/tools/g.html2man.py", line 5, in <module>
from html import HTMLParser, HTMLParseError
ImportError: No module named html
[...]
GRASS Version: 7.0.0+1svn64647~ubuntu14.04.1
package from PPA grass-devel
ubuntu 14.04 64bit
-----------------------------------------------------------
Not getting anywhere with that error message, I build GRASS releasebranch_7_0
from source according to
http://grasswiki.osgeo.org/wiki/Compile_and_Install_Ubuntu#GRASS_GIS
Everything works nicely, including g.extension
[...]
Installation of <r.grow.shrink> successfully finished
:-)
-----------------------------------------------------------
Starting the packaged version of GRASS 7 afterwards (/usr/bin/grass70)
leads to errors and no wxpython GUI.
Error message in popup window:
Unable to parse user toolboxes XML files. Default module tree will be loaded.
Ursache: 'ascii' codec can't encode character u'\xfc' in position 201: ordinal
not in range(128)
Traceback (most recent call last):
File "/usr/lib/grass70/gui/wxpython/lmgr/menudata.py", line 62, in __init__
MenuTreeModelBuilder.__init__(self, filename, expandAddons=expandAddons)
File "/usr/lib/grass70/gui/wxpython/core/menutree.py", line 66, in __init__
expAddons(xmlTree)
File "/usr/lib/grass70/gui/wxpython/core/toolboxes.py", line 280, in
expandAddons
_expandRuntimeModules(root, loadMetadata=True)
File "/usr/lib/grass70/gui/wxpython/core/toolboxes.py", line 525, in
_expandRuntimeModules
desc, keywords = _loadMetadata(name)
File "/usr/lib/grass70/gui/wxpython/core/toolboxes.py", line 560, in
_loadMetadata
sys.stderr.write("%s: %s\n" % (module, e))
File "/usr/lib/grass70/etc/python/grass/exceptions/__init__.py", line 48, in
__str__
return str(self.value)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position
201: ordinal not in range(128)
cheers
robert
More information about the grass-user
mailing list