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

#279: wxGUI: "Color rules" prints an error when "Preview" is pressed
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev@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&gt;
GRASS GIS <http://grass.osgeo.org>

#279: wxGUI: "Color rules" prints an error when "Preview" is pressed
-----------------------+----------------------------------------------------
  Reporter: msieczka | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: major | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Resolution: fixed | Keywords:
  Platform: All | Cpu: All
-----------------------+----------------------------------------------------
Changes (by martinl):

  * status: new => closed
  * resolution: => fixed

Comment:

Already fixed in devbr6 and trunk.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/279#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>