Opened 14 years ago

Closed 12 years ago

#935 closed defect (fixed)

wxGUI no longer starts automatically when GRASS 7 starts

Reported by: cmbarton Owned by: grass-dev@…
Priority: major Milestone: 7.0.0
Component: Default Version: svn-trunk
Keywords: start GUI wxpython Cc:
CPU: Unspecified Platform: Unspecified

Description

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

Change History (3)

comment:1 by hamish, 14 years ago

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

comment:2 by cmbarton, 14 years ago

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

comment:3 by cmbarton, 12 years ago

Resolution: fixed
Status: newclosed

Somewhere along the line, this was fixed. Closing.

Note: See TracTickets for help on using tickets.