[GRASS-dev] [GRASS GIS] #258: adding other layer than plain raster or vector (shaded relief, thematic vector etc.) returns an error

#258: adding other layer than plain raster or vector (shaded relief, thematic
vector etc.) returns an error
----------------------+-----------------------------------------------------
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 |
----------------------+-----------------------------------------------------
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.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/258&gt;
GRASS GIS <http://grass.osgeo.org>

#258: adding other layer than plain raster or vector (shaded relief, thematic
vector etc.) returns an error
-----------------------+----------------------------------------------------
  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:

Fixed in r32792 / r32793.

Ticket closed.

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