[GRASS-dev] [GRASS GIS] #3656: cannot launch GRASS GIS 7.4.1 gis_set error

GRASS GIS trac at osgeo.org
Tue Oct 16 13:12:54 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 cgarzon):

 We edited ~/.bash_profile and ~/.profile, and uninstalled phyton 3.6. Now
 GRASS is using python 2.7 and the error persists. We ran locale and the
 settings are changed:

 android-db3310249737a4f2:~ Gabriela$ locale

 LANG="en_US.UTF-8"

 LC_COLLATE="en_US.UTF-8"

 LC_CTYPE="en_US.UTF-8"

 LC_MESSAGES="en_US.UTF-8"

 LC_MONETARY="en_US.UTF-8"

 LC_NUMERIC="en_US.UTF-8"

 LC_TIME="en_US.UTF-8"

 LC_ALL="en_US.UTF-8"

 We had to open a new mac user account and on this account GRASS GIS has
 the same error but does open. The text we are getting is the following:

  /usr/bin/env -i HOME=/Users/Gabriela
 PATH=/usr/bin:/bin:/usr/sbin:/etc:/usr/lib
 /Applications/GRASS-7.4.1.app/Contents/MacOS/Grass.sh

 android-db3310249737a4f2:~ Gabriela$ /usr/bin/env -i HOME=/Users/Gabriela
 PATH=/usr/bin:/bin:/usr/sbin:/etc:/usr/lib
 /Applications/GRASS-7.4.1.app/Contents/MacOS/Grass.sh

 Rebuilding Addon HTML manual pages index...

 Rebuilding Addon menu...

 Default locale not found, using UTF-8

 WARNING: Default locale settings are missing. GRASS running with C locale.

 Cleaning up temporary files...

 access: No such file or directory

 ERROR: LOCALIZACIÓN </Users/Gabriela/Documents/Los

        Andes/Biología/grassdata/nc_spm_08_grass7> no disponible

 Starting GRASS GIS...

 Traceback (most recent call last):

   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/gis_set.py",
 line 1236, in OnInit

     StartUp = GRASSStartup()

   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/gis_set.py",
 line 233, in __init__

     self._set_properties(grassVersion, grassRevisionStr)

   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/gis_set.py",
 line 286, in _set_properties

     self.OnSetDatabase(None)

   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/gis_set.py",
 line 985, in OnSetDatabase

     self._showError(_("Path '%s' doesn't exist.") % gisdbase)

   File
 "/Applications/GRASS-7.4.1.app/Contents/Resources/gui/wxpython/gis_set.py",
 line 511, in _showError

     self.lmessage.SetLabel(_("Error: {text}").format(text=text))

 UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in
 position 48: ordinal not in range(128)

 OnInit returned false, exiting...

 ERROR: Error in GUI startup. See messages above (if any) and if necessary,
 please report this error to the GRASS developers.

 On systems with package manager, make sure you have the right GUI package,
 probably named grass-gui, installed.

 To run GRASS GIS in text mode use the -text flag.

 Use '--help' for further options

      grass74 --help

 See also: https://grass.osgeo.org/grass74/manuals/helptext.html

 Exiting...

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3656#comment:10>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list