[GRASS-dev] [GRASS GIS] #935: wxGUI no longer starts automatically when GRASS 7 starts

#935: wxGUI no longer starts automatically when GRASS 7 starts
--------------------------------+-------------------------------------------
Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: major | Milestone: 7.0.0
Component: default | Version: svn-trunk
Keywords: start GUI wxpython | Platform: Unspecified
      Cpu: Unspecified |
--------------------------------+-------------------------------------------
This is a bug that has been introduced since 11 February, and probably
even more recently.

When GRASS 7 is started, the GUI no longer starts automatically,
regardless of the setting in the rc file ($HOME/.grass7/rc). No error
messages are generated. Starting manually works fine (g.gui wxpython).

I also noticed that GRASS 7 (or at least GRASS_ADDON_PATH) no longer
recognizes paths with spaces in them. I don't know if this is related or
not.

I'm experiencing this on a Mac with OS X 10.6. No change in the OS over
this interval.

Michael

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/935&gt;
GRASS GIS <http://grass.osgeo.org>

#935: wxGUI no longer starts automatically when GRASS 7 starts
--------------------------+-------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 7.0.0
Component: default | Version: svn-trunk
Resolution: | Keywords: start GUI wxpython
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by hamish):

what does g.gisenv say about GRASS_GUI? If that is set to "text", you
won't get a GUI..

(don't try to edit ~/.grass7/rc while grass is running; we should probably
rename that to "init.conf" or something now, as it doesn't contain run-
commands as such)

works for me with trunk r40862.

> I also noticed that GRASS 7 (or at least GRASS_ADDON_PATH) no
> longer recognizes paths with spaces in them.

more info please.

Hamish

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

#935: wxGUI no longer starts automatically when GRASS 7 starts
--------------------------+-------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: major | Milestone: 7.0.0
Component: default | Version: svn-trunk
Resolution: | Keywords: start GUI wxpython
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Comment (by cmbarton):

in g.gisenv, GRASS_GUI is set to wxpython. I've checked in rc, it is set
to wxpython. I've run g.gui -u wxpython. Everything is set OK and runs OK.
It is just that wxpython does not launch automatically. Something in a
script somewhere is not getting done. I've looked at grass.sh, init.sh,
and functions.sh, reverting recent changes and testing. No luck.

Michael

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

#935: wxGUI no longer starts automatically when GRASS 7 starts
--------------------------+-------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 7.0.0
Component: Default | Version: svn-trunk
Resolution: fixed | Keywords: start GUI wxpython
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by cmbarton):

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

Comment:

Somewhere along the line, this was fixed. Closing.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/935#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>