Opened 16 years ago

Closed 16 years ago

#258 closed defect (fixed)

adding other layer than plain raster or vector (shaded relief, thematic vector etc.) returns an error

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

Example - try to add a shsded relief layer - error:

Traceback (most recent call last):
  File "/usr/local/grass-6.4.svn/etc/wxpython/wxgui.py",
line 1311, in AddShaded

self.curr_page.maptree.AddLayer('shaded')
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
gui_utils.py", line 665, in AddLayer

self.PropertiesDialog(layer, show=True)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
gui_utils.py", line 741, in PropertiesDialog

parentframe=self)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/me
nuform.py", line 1589, in ParseCommand

propwin=self.mf)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
gui_utils.py", line 1156, in GetOptData

self.ChangeLayer(layer)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
gui_utils.py", line 1244, in ChangeLayer

l_active=chk, l_hidden=hidden, l_opacity=opac,
l_render=False)
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
nder.py", line 990, in ChangeLayer

layer.SetType(kargs['type']) # check type
  File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/re
nder.py", line 220, in SetType

raise gcmd.GStdError(_("Unsupported map layer type '%s'") %
str(type))
gui_modules.gcmd
.
GStdError

Same goes for rgb, his, rastarrow, thememap, themechart.

Change History (1)

comment:1 by martinl, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r32792 / r32793.

Ticket closed.

Note: See TracTickets for help on using tickets.