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: | |
---|---|---|---|
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 , 5 years ago
Milestone: | → 7.8.1 |
---|
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Pull request with a fix: https://github.com/OSGeo/grass/pull/167