[GRASS-dev] [GRASS GIS] #427: wxNVIZ: crash when only vector map
present
GRASS GIS
trac at osgeo.org
Sun Jan 11 13:34:04 EST 2009
#427: wxNVIZ: crash when only vector map present
----------------------+-----------------------------------------------------
Reporter: msieczka | Owner: grass-dev at lists.osgeo.org
Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: wxGUI | Version: svn-develbranch6
Keywords: | Platform: All
Cpu: All |
----------------------+-----------------------------------------------------
1. add a vector map
2. choose "3D view" in Map Display window - crash:
{{{
Traceback (most recent call last):
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/to
olbars.py", line 254, in OnSelectTool
self.mapdisplay.AddToolbar("nviz")
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/ma
pdisp.py", line 372, in AddToolbar
self.MapWindow3D.OnPaint(None) # -> LoadData
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/nv
iz_mapdisp.py", line 158, in OnPaint
self.LoadDataLayers()
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/nv
iz_mapdisp.py", line 368, in LoadDataLayers
self.LoadVector(item, vecType)
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/nv
iz_mapdisp.py", line 628, in LoadVector
toolWin.UpdatePage('vector')
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/nv
iz_tools.py", line 2336, in UpdatePage
self.UpdateVectorPage(layer, data['vector'])
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/nv
iz_tools.py", line 2468, in UpdateVectorPage
{ 'primitives' : nprimitives, 'points' : npoints }
TypeError
:
an integer is required
Nviz:No features from vector map <pomiar at pomiary> fall within current
region
Nviz:Error loading vector map <pomiar at pomiary>
Nviz:Załadowanie mapy wektorowej 'pomiar at pomiary' lines nie
powiodło się
Traceback (most recent call last):
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/nv
iz_mapdisp.py", line 158, in OnPaint
self.LoadDataLayers()
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/nv
iz_mapdisp.py", line 368, in LoadDataLayers
self.LoadVector(item, vecType)
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/nv
iz_mapdisp.py", line 628, in LoadVector
toolWin.UpdatePage('vector')
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/nv
iz_tools.py", line 2336, in UpdatePage
self.UpdateVectorPage(layer, data['vector'])
File "/usr/local/grass-6.4.svn/etc/wxpython/gui_modules/nv
iz_tools.py", line 2468, in UpdateVectorPage
{ 'primitives' : nprimitives, 'points' : npoints }
TypeError
:
an integer is required
}}}
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/427>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list