[GRASS-dev] [GRASS GIS] #280: wxGUI doesn't handle removing maps

GRASS GIS trac at osgeo.org
Thu Sep 4 09:48:49 EDT 2008


#280: wxGUI doesn't handle removing maps
----------------------+-----------------------------------------------------
 Reporter:  msieczka  |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect    |      Status:  new                      
 Priority:  major     |   Milestone:  6.4.0                    
Component:  wxGUI     |     Version:  svn-develbranch6         
 Keywords:            |    Platform:  All                      
      Cpu:  All       |  
----------------------+-----------------------------------------------------
 1. add an existing raster map in the manager

 2. zoom to that map

 2. g.remove it

 3. "Re-render map" - error:

 {{{
 Traceback (most recent call last):
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
 pdisp.py", line 2871, in OnRender

 self.MapWindow.UpdateMap(render=True)
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
 pdisp.py", line 661, in UpdateMap

 windres=windres)
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
 nder.py", line 880, in Render

 self._renderLayers(force, mapWindow, maps, masks, opacities)
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
 nder.py", line 826, in _renderLayers

 if not layer.Render():
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
 nder.py", line 156, in Render

 stderr=None)
   File
 "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/gcmd.py",
 line 358, in __init__

 _("Error: ") + self.GetError()))
 UnicodeDecodeError
 :
 'ascii' codec can't decode byte 0xc5 in position 38: ordinal
 not in range(128)
 }}}

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


More information about the grass-dev mailing list