Opened 16 years ago
Closed 15 years ago
#427 closed defect (fixed)
wxNVIZ: crash when only vector map present
Reported by: | msieczka | Owned by: | martinl |
---|---|---|---|
Priority: | critical | Milestone: | 6.4.0 |
Component: | wxGUI | Version: | svn-develbranch6 |
Keywords: | Cc: | grass-dev@… | |
CPU: | All | Platform: | All |
Description
- add a vector map
- 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@pomiary> fall within current region Nviz:Error loading vector map <pomiar@pomiary> Nviz:Załadowanie mapy wektorowej 'pomiar@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
Change History (5)
follow-up: 2 comment:1 by , 16 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
follow-up: 3 comment:2 by , 16 years ago
Replying to martinl:
Can you send me sample vector data?
Any will do. Say 'archsites' from spearfish60.
follow-up: 4 comment:3 by , 16 years ago
comment:4 by , 16 years ago
Replying to martinl:
- Add vector layer 'archsites' & zoom
- switch to 3d view
- enable points in Layer properties
Works.
Hmm. For me exactly the same procedure rusults in a following error (develbranch6 r35570):
Traceback (most recent call last): File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/to olbars.py", line 254, in OnSelectTool self.mapdisplay.AddToolbar("nviz") File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma pdisp.py", line 382, in AddToolbar self.MapWindow3D.OnPaint(None) # -> LoadData File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv iz_mapdisp.py", line 163, in OnPaint self.LoadDataLayers() File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv iz_mapdisp.py", line 375, in LoadDataLayers self.LoadVector(item, vecType) File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv iz_mapdisp.py", line 635, in LoadVector toolWin.UpdatePage('vector') File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv iz_tools.py", line 2336, in UpdatePage self.UpdateVectorPage(layer, data['vector']) File "/usr/local/grass-6.5.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 <archsites@PERMANENT> fall within current region Nviz:Error loading vector map <archsites@PERMANENT> Nviz:Załadowanie mapy wektorowej 'archsites@PERMANENT' lines nie powiodło się Traceback (most recent call last): File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv iz_mapdisp.py", line 163, in OnPaint self.LoadDataLayers() File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv iz_mapdisp.py", line 375, in LoadDataLayers self.LoadVector(item, vecType) File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv iz_mapdisp.py", line 635, in LoadVector toolWin.UpdatePage('vector') File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv iz_tools.py", line 2336, in UpdatePage self.UpdateVectorPage(layer, data['vector']) File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/nv iz_tools.py", line 2468, in UpdateVectorPage { 'primitives' : nprimitives, 'points' : npoints } TypeError : an integer is required
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Can you send me sample vector data?