[GRASS-dev] [GRASS GIS] #145: wxgrass: Error in applying display overlay properties to rasters in Layer Manager

#145: wxgrass: Error in applying display overlay properties to rasters in Layer
Manager
--------------------------------------+-------------------------------------
Reporter: epatton | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: minor | Milestone: 6.4.0
Component: Python | Version: svn-trunk
Keywords: display, overlay, raster |
--------------------------------------+-------------------------------------
This error comes and goes, and it's really hard to pin it down,
unfortunately. I get the error when editing the properties of a raster by
checking or unchecking the 'Overlay (non-null values only)' checkbox in
d.rast properties for any raster in the Layer Manager:

{{{
Traceback (most recent call last):
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/me
nuform.py", line 716, in OnOK

cmd = self.OnApply(event)
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/me
nuform.py", line 728, in OnApply

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

self.ChangeLayer(layer)
   File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/wx
gui_utils.py", line 1086, 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 903, in ChangeLayer

oldlayerindex = self.layers.index(layer)
ValueError
:
list.index(x): x not in list

}}}

I will continue testing and post any additional information I can find
about it.

~ Eric.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/145&gt;
GRASS GIS <http://grass.osgeo.org>
Commonly referred to as GRASS, this is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies. GRASS is official project of the Open Source Geospatial Foundation.

#145: wxgrass: Error in applying display overlay properties to rasters in Layer
Manager
----------------------+-----------------------------------------------------
  Reporter: epatton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: display, overlay, raster
----------------------+-----------------------------------------------------
Changes (by martinl):

  * component: Python => wxGUI

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

#145: wxgrass: Error in applying display overlay properties to rasters in Layer
Manager
--------------------------+-------------------------------------------------
  Reporter: epatton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: | Keywords: display, overlay, raster
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by cmbarton):

  * platform: => Unspecified
  * cpu: => Unspecified

Comment:

Is this still a problem? i cannot reproduce.

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

#145: wxgrass: Error in applying display overlay properties to rasters in Layer
Manager
--------------------------+-------------------------------------------------
  Reporter: epatton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: closed
  Priority: minor | Milestone: 6.4.0
Component: wxGUI | Version: svn-trunk
Resolution: fixed | Keywords: display, overlay, raster
  Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by martinl):

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

Comment:

After recent changes in wxGUI, it should be fixed (please reopen if not).
Martin

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