[GRASS-dev] [GRASS GIS] #1949: module gui doesn't release if no map display window

GRASS GIS trac at osgeo.org
Wed Apr 24 20:33:05 PDT 2013


#1949: module gui doesn't release if no map display window
-------------------------+--------------------------------------------------
 Reporter:  hamish       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  wxGUI        |     Version:  svn-develbranch6         
 Keywords:  module guis  |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------
 Hi,

 (wingrass 6.5svn nightly build r55955)

 I had closed the Map Display window since I was just testing data import
 and looking at processing reports.

 When running a module in wxGUI (desktop icon startup) the control buttons
 that are greyed out during the run never come back.

 test module: g.region from the menu, select -p flag from the Print tab and
 [Run]

 traceback error printed to the output tab:
 {{{
 Traceback (most recent call last):
   File "C:\Program Files\GRASS GIS
 6.5.svn\etc\wxpython\gui_core\goutput.py", line 867, in
 OnCmdDone

 event.onDone(cmd = event.cmd, returncode = event.returncode)
   File "C:\Program Files\GRASS GIS
 6.5.svn\etc\wxpython\gui_core\forms.py", line 595, in OnDone

 display = self.parent.GetLayerTree().GetMapDisplay()
 AttributeError
 :
 'NoneType' object has no attribute 'GetMapDisplay'
 }}}


 tested and the same happens in Linux.


 thanks,
 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1949>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list