#2552: GRASS 7.0 RC1 wxGUI: fails to launch in Spanish locale (UnicodeEncodeError) ------------------------+--------------------------------------------------- Reporter: santipardo | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.0.0 Component: wxGUI | Version: svn-releasebranch70 Keywords: | Platform: Linux Cpu: x86-64 | ------------------------+--------------------------------------------------- With Spanish locale (es_ES.UTF-8), GRASS 7.0 RC1 doesn't launch. I have launched it perfectly in the same installation with locale en_US-UTF-8. The problem is happening since beta 4.0.
CONF: {{{ Linux Mint 17.1 $ locale | grep LANG LANG=es_ES.UTF-8 }}} TERMINAL OUTPUT: {{{ Launching <wxpython> GUI in the background, please wait... Traceback (most recent call last): File "/usr/bin/grass70", line 1461, in <module> bash_startup() File "/usr/bin/grass70", line 1122, in bash_startup _("3D raster MASK present"))) UnicodeEncodeError: 'ascii' codec can't encode character u'\xc1' in position 180: ordinal not in range(128) ERROR: Variable 'LOCATION_NAME' not set Traceback (most recent call last): File "/usr/lib/grass70/gui/wxpython/wxgui.py", line 37, in <module> from lmgr.frame import GMFrame File "/usr/lib/grass70/gui/wxpython/lmgr/frame.py", line 50, in <module> from lmgr.layertree import LayerTree, LMIcons File "/usr/lib/grass70/gui/wxpython/lmgr/layertree.py", line 37, in <module> from mapdisp.frame import MapFrame File "/usr/lib/grass70/gui/wxpython/mapdisp/frame.py", line 65, in <module> class MapFrame(SingleMapFrame): File "/usr/lib/grass70/gui/wxpython/mapdisp/frame.py", line 71, in MapFrame page = None, Map = Map(), auimgr = None, name = 'MapWindow', **kwargs): File "/usr/lib/grass70/gui/wxpython/core/render.py", line 408, in __init__ self.mapfile = grass.tempfile(create = False) + '.ppm' File "/usr/lib/grass70/etc/python/grass/script/core.py", line 704, in tempfile return read_command("g.tempfile", flags=flags, pid=os.getpid()).strip() File "/usr/lib/grass70/etc/python/grass/script/core.py", line 427, in read_command return handle_errors(returncode, stdout, args, kwargs) File "/usr/lib/grass70/etc/python/grass/script/core.py", line 310, in handle_errors returncode=returncode) grass.exceptions.CalledModuleError: Module run None ['g.tempfile', '-d', 'pid=2237'] ended with error Process ended with non-zero return code 1. See errors in the (error) output. }}} -- Ticket URL: <https://trac.osgeo.org/grass/ticket/2552> GRASS GIS <http://grass.osgeo.org> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev