[GRASS-dev] [GRASS GIS] #2210: unable to start GRASS GIS 7
GRASS GIS
trac at osgeo.org
Mon Mar 10 03:45:49 PDT 2014
#2210: unable to start GRASS GIS 7
---------------------+------------------------------------------------------
Reporter: turek | Owner: grass-dev@…
Type: defect | Status: reopened
Priority: normal | Milestone: 7.0.0
Component: Python | Version: svn-trunk
Resolution: | Keywords:
Platform: Linux | Cpu: x86-64
---------------------+------------------------------------------------------
Comment(by turek):
Hi,
I still get the same error. Maybe I am doing something wrong however
r59162 works for me:
{{{
ostepok at ostepok-pc:~/Dev/GRASS/grass_wms/grass_trunk/lib/init$ svn up
grass.py
Updating 'grass.py':
U grass.py
Updated to revision 59220.
ostepok at ostepok-pc:~/Dev/GRASS/grass_wms/grass_trunk/lib/init$ make
rm -f /home/ostepok/Dev/GRASS/grass_wms/grass_trunk/bin.x86_64-unknown-
linux-gnu/grass70
sed \
-e
's#@GISBASE@#/home/ostepok/Dev/GRASS/grass_wms/grass_trunk/dist.x86_64
-unknown-linux-gnu#' \
-e 's#@GRASS_VERSION_NUMBER@#7.0.svn#' \
-e 's#@LD_LIBRARY_PATH_VAR@#LD_LIBRARY_PATH#' \
-e 's#@START_UP@#grass70#' \
-e 's#@CONFIG_PROJSHARE@#/usr/share/proj/#' \
grass.py >
/home/ostepok/Dev/GRASS/grass_wms/grass_trunk/bin.x86_64-unknown-linux-
gnu/grass70
chmod +x /home/ostepok/Dev/GRASS/grass_wms/grass_trunk/bin.x86_64-unknown-
linux-gnu/grass70
rm -f /home/ostepok/Dev/GRASS/grass_wms/grass_trunk/dist.x86_64-unknown-
linux-gnu/grass70.tmp
sed \
-e 's#@GRASS_VERSION_NUMBER@#7.0.svn#' \
-e 's#@START_UP@#grass70#' \
-e 's#@GRASS_CONFIG_DIR@##' \
-e 's#@LD_LIBRARY_PATH_VAR@#LD_LIBRARY_PATH#' \
-e 's#@CONFIG_PROJSHARE@#/usr/share/proj/#' \
grass.py >
/home/ostepok/Dev/GRASS/grass_wms/grass_trunk/dist.x86_64-unknown-linux-
gnu/grass70.tmp
ostepok at ostepok-pc:~/Dev/GRASS/grass_wms/grass_trunk/lib/init$
../../bin.x86_64-unknown-linux-gnu/grass70
Cleaning up temporary files...
Starting GRASS GIS...
Traceback (most recent call last):
File "/home/ostepok/Dev/GRASS/grass_wms/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/gis_set.py", line 37, in <module>
from core.utils import _
File "/home/ostepok/Dev/GRASS/grass_wms/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/core/utils.py", line 42, in <module>
from core.gcmd import RunCommand
File "/home/ostepok/Dev/GRASS/grass_wms/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/core/gcmd.py", line 744, in <module>
_enc = GetDefaultEncoding() # define as global variable
File "/home/ostepok/Dev/GRASS/grass_wms/grass_trunk/dist.x86_64-unknown-
linux-gnu/etc/gui/wxpython/core/gcmd.py", line 737, in GetDefaultEncoding
enc = locale.getdefaultlocale()[1]
File "/usr/lib/python2.7/locale.py", line 511, in getdefaultlocale
return _parse_localename(localename)
File "/usr/lib/python2.7/locale.py", line 443, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: None
Error in GUI startup. If necessary, please report this error to the GRASS
developers.
Switching to text mode now.
Hit RETURN to continue...
Unable to create temporary directory </tmp/grass7-ostepok-7579>! Exiting.
ostepok at ostepok-pc:~/Dev/GRASS/grass_wms/grass_trunk/lib/init$ svn up -r
59162 grass.py
Updating 'grass.py':
U grass.py
Updated to revision 59162.
ostepok at ostepok-pc:~/Dev/GRASS/grass_wms/grass_trunk/lib/init$ make
rm -f /home/ostepok/Dev/GRASS/grass_wms/grass_trunk/bin.x86_64-unknown-
linux-gnu/grass70
sed \
-e
's#@GISBASE@#/home/ostepok/Dev/GRASS/grass_wms/grass_trunk/dist.x86_64
-unknown-linux-gnu#' \
-e 's#@GRASS_VERSION_NUMBER@#7.0.svn#' \
-e 's#@LD_LIBRARY_PATH_VAR@#LD_LIBRARY_PATH#' \
-e 's#@START_UP@#grass70#' \
-e 's#@CONFIG_PROJSHARE@#/usr/share/proj/#' \
grass.py >
/home/ostepok/Dev/GRASS/grass_wms/grass_trunk/bin.x86_64-unknown-linux-
gnu/grass70
chmod +x /home/ostepok/Dev/GRASS/grass_wms/grass_trunk/bin.x86_64-unknown-
linux-gnu/grass70
rm -f /home/ostepok/Dev/GRASS/grass_wms/grass_trunk/dist.x86_64-unknown-
linux-gnu/grass70.tmp
sed \
-e 's#@GRASS_VERSION_NUMBER@#7.0.svn#' \
-e 's#@START_UP@#grass70#' \
-e 's#@GRASS_CONFIG_DIR@##' \
-e 's#@LD_LIBRARY_PATH_VAR@#LD_LIBRARY_PATH#' \
-e 's#@CONFIG_PROJSHARE@#/usr/share/proj/#' \
grass.py >
/home/ostepok/Dev/GRASS/grass_wms/grass_trunk/dist.x86_64-unknown-linux-
gnu/grass70.tmp
ostepok at ostepok-pc:~/Dev/GRASS/grass_wms/grass_trunk/lib/init$
../../bin.x86_64-unknown-linux-gnu/grass70
Cleaning up temporary files...
Starting GRASS GIS...
Failed to set LC_ALL to None.UTF-8 (unsupported locale setting)
__________ ___ __________ _______________
/ ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
/ / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
/ /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
\____/_/ |_/_/ |_/____/____/ \____/___//____/
}}}
Note that I get this warning in r59162:
{{{
Failed to set LC_ALL to None.UTF-8 (unsupported locale setting)
}}}
Rest of source code is in r59220.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2210#comment:6>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list