[GRASS-dev] [GRASS GIS] #3921: GUI fails to start if rc contains missing mapset

GRASS GIS trac at osgeo.org
Mon Oct 14 11:23:53 PDT 2019


#3921: GUI fails to start if rc contains missing mapset
--------------------+-------------------------
 Reporter:  marisn  |      Owner:  grass-dev@…
     Type:  defect  |     Status:  new
 Priority:  normal  |  Milestone:
Component:  wxGUI   |    Version:  svn-trunk
 Keywords:          |        CPU:  Unspecified
 Platform:  Linux   |
--------------------+-------------------------
 I removed a mapset I was using as the last one. Thus my .grass7/rc file
 was pointing to a non-existing mapset. On next attempt to start GRASS, I
 got only an error:

 {{{
 Starting GRASS GIS...

 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
      grass79 --help
 See also: https://grass.osgeo.org/grass79/manuals/helptext.html
 Exiting...
 }}}

 As you can see, there are no reasonable error messages. GRASS should be
 able to cope with fact that mapset, locale or gisdbase gas gone missing
 since the last run as rc file is just for convenience.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3921>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list