[QGIS-trac] Re: [Quantum GIS] #1680: New GRASS shell does not display command gui

Quantum GIS qgis at qgis.org
Mon Jul 20 18:41:56 EDT 2009


#1680: New GRASS shell does not display command gui
-----------------------------------------------------+----------------------
        Reporter:  cgsbob                            |         Owner:  nobody       
            Type:  bug                               |        Status:  reopened     
        Priority:  major: does not work as expected  |     Milestone:  Version 1.2.0
       Component:  GRASS                             |       Version:  HEAD         
      Resolution:                                    |      Keywords:               
Platform_version:                                    |      Platform:  All          
        Must_fix:  No                                |   Status_info:  0            
-----------------------------------------------------+----------------------
Comment (by cgsbob):

 Replying to [comment:12 rugginoso]:
 > First issue (find the grass executable) should be fixed in r11123.

 Thank you for fixing the first issue.  As for the second issue...I solved
 that one too :)  There was a problem with one of the Grass Addons (GIPE)
 that messed up some of the wxpython code in grass.   When I removed it, I
 no longer have the QGIS GRASS Plugin crash.

 So I just compiled r11123 and with the grass path solved and the grass
 shell crash solved, I've been able to test further and find that there are
 other problems :(

 So, here are the steps I took to demonstrate the problem:[[BR]]

 * Opening the grass shell displays the grass prompt[[BR]]
 * Calling a command without options shows the '''old tcltk''' GUI
 (GRASS_GUI not being honored)[[BR]]
 * Calling a command with the options executes the command and the output
 is displayed normally into the shell.[[BR]]
 * Ending the grass shell by clicking the Close Button ends grass
 gracefully[[BR]]

 I have also tried to end the grass shell by typing CTRL-D and noticed that
 the last line in ~/.grassrc6 file has been changed from:[[BR]]

    GRASS_GUI: wxpython
 to
    GRASS_GUI: text


 With this change native GRASS will start up in text mode.[[BR]]

 I would think that this ticket can be closed if you can figure out a way
 to find the grass command and have the QGIS GRASS Shell honor the
 GRASS_GUI settings in ~/.grassrc6 and not modify it.

 Thank you for adding these enhancements to the grass shell!

-- 
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1680#comment:13>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats


More information about the QGIS-trac mailing list