[GRASS-dev] [GRASS GIS] #3656: cannot launch GRASS GIS 7.4.1 gis_set error
GRASS GIS
trac at osgeo.org
Wed Sep 26 04:09:21 PDT 2018
#3656: cannot launch GRASS GIS 7.4.1 gis_set error
--------------------------+-----------------------------------
Reporter: cgarzon | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.4.2
Component: Startup | Version: 7.4.0
Resolution: | Keywords: gis_set error, python
CPU: Unspecified | Platform: MacOSX
--------------------------+-----------------------------------
Comment (by marisn):
Replying to [comment:5 cgarzon]:
> The folders name was changed from Biología to biologia and Los Andes to
losandes with no spaces. We installed a previous version of GRASS 7.2.2
and there is still an error:
>
> /Applications/GRASS-7.2.2.app/Contents/MacOS/Grass.sh
> MacBook-Pro-de-Gabriela-2:~ Gabriela$
/Applications/GRASS-7.2.2.app/Contents/MacOS/Grass.sh
> Rebuilding Addon HTML manual pages index...
> Rebuilding Addon menu...
> Traceback (most recent call last):
> File "/Applications/GRASS-7.2.2.app/Contents/Resources/bin/grass72",
line 54, in <module>
> ENCODING = locale.getdefaultlocale()[1]
> File
"/Applications/GRASS-7.2.2.app/Contents/Resources/lib/python2.7/locale.py",
line 545, in getdefaultlocale
> return _parse_localename(localename)
> File
"/Applications/GRASS-7.2.2.app/Contents/Resources/lib/python2.7/locale.py",
line 477, in _parse_localename
> raise ValueError, 'unknown locale: %s' % localename
> ValueError: unknown locale: UTF-8
This error comes from Python (https://bugs.python.org/issue18378). Fix
your locale settings and it will be gone. Append following lines to your
~/.bash_profile:
{{{
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3656#comment:7>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list