Opened 5 years ago

Closed 5 years ago

#3921 closed defect (fixed)

GUI fails to start if rc contains missing mapset

Reported by: marisn Owned by: grass-dev@…
Priority: normal Milestone: 7.8.1
Component: wxGUI Version: svn-trunk
Keywords: Cc:
CPU: Unspecified Platform: Linux

Description

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.

Change History (2)

comment:1 by marisn, 5 years ago

Milestone: 7.8.1
Note: See TracTickets for help on using tickets.