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

#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&gt;
GRASS GIS <https://grass.osgeo.org>

#3921: GUI fails to start if rc contains missing mapset
--------------------------+-------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.1
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords:
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by marisn):

* milestone: => 7.8.1

Comment:

Pull request with a fix: https://github.com/OSGeo/grass/pull/167

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3921#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

#3921: GUI fails to start if rc contains missing mapset
--------------------------+-------------------------
  Reporter: marisn | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.8.1
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords:
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------
Changes (by neteler):

* status: new => closed
* resolution: => fixed

Comment:

Merged:

- master:
https://github.com/OSGeo/grass/commit/78a004cb64ffd7062aa3c960534e69b3922add01
- relbranc78:
https://github.com/OSGeo/grass/commit/657ef28a2b44f951a1322d6c4f6a40abf3780f28

Closing.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3921#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>