Opened 16 years ago

Closed 15 years ago

#279 closed defect (fixed)

wxGUI: "Color rules" prints an error when "Preview" is pressed

Reported by: msieczka Owned by: grass-dev@…
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-develbranch6
Keywords: Cc:
CPU: All Platform: All

Description

  1. Raster > Manage colors > Color rules
  1. choose a raster map, specify colors
  1. 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

Change History (1)

comment:1 by martinl, 15 years ago

Resolution: fixed
Status: newclosed

Already fixed in devbr6 and trunk.

Note: See TracTickets for help on using tickets.