[GRASS-dev] [GRASS GIS] #279: wxGUI: "Color rules" prints an error when "Preview" is pressed

GRASS GIS trac at osgeo.org
Thu Sep 4 09:20:54 EDT 2008


#279: wxGUI: "Color rules" prints an error when "Preview" is pressed
----------------------+-----------------------------------------------------
 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. Raster > Manage colors > Color rules

 2. choose a raster map, specify colors

 3. Press "Preview":

 {{{
 Traceback (most recent call last):
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/co
 lorrules.py", line 386, in OnPreview

 self.preview.UpdatePreview()
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/co
 lorrules.py", line 614, in UpdatePreview

 self.mapfile = self.Map.Render(force=self.render)
   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 146, in Render

 runcmd = gcmd.Command(cmd=cmd + ['--q'],
 TypeError
 :
 cannot concatenate 'str' and 'list' objects
 }}}

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


More information about the grass-dev mailing list