[GRASS-dev] why doesn't g.region launch gui?

Michael wrote:

I've just learned that typing "g.region" [return] from the terminal
does not launch the g.region GUI.

worksforme, what happens for you? do you get an error message?

how about "g.region --ui" ?

what does "g.gisenv get=GRASS_GUI" say?

what about "echo $?" directly after running g.region from the command line?

Hamish

On Feb 24, 2012, at 4:21 PM, Hamish wrote:

Michael wrote:

I've just learned that typing "g.region" [return] from the terminal
does not launch the g.region GUI.

worksforme, what happens for you? do you get an error message?

Nothing. No error message. Nothing happens

how about "g.region --ui" ?

It brings up the GUI as it should--and as it should if you type g.region without arguments

what does "g.gisenv get=GRASS_GUI" say?

wxpython (Note that other commands work as expected, although I have not tested all 300+)

what about "echo $?" directly after running g.region from the command line?

It is the same as typing g.region help

Michael

Hamish

_____________________
C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Corporation for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

Hello Michael,
in GRASS 7 it's not a bug, it's a feature! [1]

If it's happening also in 6.4, then it's a result of backporting and
should be treated as a serious regression and thus should be fixed
ASAP.

Maris.

1. http://osgeo-org.1560.n6.nabble.com/wxGUI-new-packages-layout-tp3992790p3992803.html

2012/2/25 Michael Barton <Michael.Barton@asu.edu>:

On Feb 24, 2012, at 4:21 PM, Hamish wrote:

Michael wrote:

I've just learned that typing "g.region" [return] from the terminal
does not launch the g.region GUI.

worksforme, what happens for you? do you get an error message?

Nothing. No error message. Nothing happens

how about "g.region --ui" ?

It brings up the GUI as it should--and as it should if you type g.region without arguments

what does "g.gisenv get=GRASS_GUI" say?

wxpython (Note that other commands work as expected, although I have not tested all 300+)

what about "echo $?" directly after running g.region from the command line?

It is the same as typing g.region help

Michael

Hamish

_____________________
C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Corporation for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

On Feb 25, 2012, at 1:10 AM, Maris Nartiss wrote:

Hello Michael,
in GRASS 7 it's not a bug, it's a feature! [1]

You mean this with a considerable dose of sarcasm, right?

If it's happening also in 6.4, then it's a result of backporting and
should be treated as a serious regression and thus should be fixed
ASAP.

Yes. It's not fatal, but it is confusing to users.

Michael

Maris.

1. http://osgeo-org.1560.n6.nabble.com/wxGUI-new-packages-layout-tp3992790p3992803.html

2012/2/25 Michael Barton <Michael.Barton@asu.edu>:

On Feb 24, 2012, at 4:21 PM, Hamish wrote:

Michael wrote:

I've just learned that typing "g.region" [return] from the terminal
does not launch the g.region GUI.

worksforme, what happens for you? do you get an error message?

Nothing. No error message. Nothing happens

how about "g.region --ui" ?

It brings up the GUI as it should--and as it should if you type g.region without arguments

what does "g.gisenv get=GRASS_GUI" say?

wxpython (Note that other commands work as expected, although I have not tested all 300+)

what about "echo $?" directly after running g.region from the command line?

It is the same as typing g.region help

Michael

Hamish

_____________________
C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Corporation for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
grass-dev Info Page

_____________________
C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Consortium for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu

I just compiled 6.4.3 svn again and tested g.region. Results below.

GRASS 6.4.3svn (nc_spm_07):~ > g.region
/usr/bin/pythonw2.6: can't open file '/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gui_modules/menuform.py': [Errno 2] No such file or directory

GRASS 6.4.3svn (nc_spm_07):~ > g.region --ui
/usr/bin/pythonw2.6: can't open file '/Applications/GRASS/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gui_modules/menuform.py': [Errno 2] No such file or directory

GRASS 6.4.3svn (nc_spm_07):~ > g.region -pg
n=228500
s=215000
w=630000
e=645000
nsres=10
ewres=10
rows=1350
cols=1500
cells=2025000

GRASS 6.4.3svn (nc_spm_07):~ >

_____________________
C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research &
University Corporation for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu