[GRASS-dev] [GRASS GIS] #484: Cannot reload maps to wxnviz

GRASS GIS trac at osgeo.org
Sun Feb 8 12:40:17 EST 2009


#484: Cannot reload maps to wxnviz
-----------------------+----------------------------------------------------
 Reporter:  cmbarton   |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect     |      Status:  new                      
 Priority:  major      |   Milestone:  6.5.0                    
Component:  wxGUI      |     Version:  svn-develbranch6         
 Keywords:  wxnviz     |    Platform:  MacOSX                   
      Cpu:  OSX/Intel  |  
-----------------------+----------------------------------------------------
 This has always been a problem, but I haven't reported it because there
 were other issues to fix in the new wxnviz. But now that it is getting so
 much better otherwise, I guess it's time to get a track ticket on this.

 I open maps and switch to 3D mode and everything looks and works fine. I
 exit 3D mode successfully. No errors are reported during 3D mode or on
 exiting.

 I try to go back to 3D mode with the same maps and same display and the 3D
 interface does not respond or does not respond correctly, and 3D maps are
 not displayed or not displayed correctly (e.g., displayed without color
 and only while moving the puck; then the map disappears). I get error
 messages in the terminal and console. I'm pretty sure that this is linked
 to an error I reported earlier with a failure to load any maps 2nd time
 around (track #445). Here are the detailed error messages.

 Terminal message

 <Error>: CGContextRestoreGState: invalid context


 Layer manager console message

 Nviz:Raster map <elevation.10m at PERMANENT> unloaded successfully
 Nviz:Loading failed
 Nviz:Loading raster map <elevation.10m at PERMANENT> failed
 Nviz:Loading failed
 Nviz:Loading raster map <elevation.10m at PERMANENT> failed
 Traceback (most recent call last):
   File "/Applications/Grass/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/nviz_mapdisp.py", line 971, in
 UpdateMapObjProperties

 id = data['surface']['object']['id']
 KeyError
 :
 'object'
 Traceback (most recent call last):
   File "/Applications/Grass/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/nviz_mapdisp.py", line 971, in
 UpdateMapObjProperties

 id = data['surface']['object']['id']
 KeyError
 :
 'object'
 Traceback (most recent call last):
   File "/Applications/Grass/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/nviz_mapdisp.py", line 971, in
 UpdateMapObjProperties

 id = data['surface']['object']['id']
 KeyError
 :
 'object'
 Traceback (most recent call last):
   File "/Applications/Grass/GRASS-6.5.app/Contents/MacOS/etc
 /wxpython/gui_modules/nviz_mapdisp.py", line 971, in
 UpdateMapObjProperties

 id = data['surface']['object']['id']
 KeyError
 :
 'object'

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/484>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list