[GRASS-user] Problem with wxGUI.Nviz extension and wxGUI.Vector_Digitizing_Tool

Tomáš Zigo tomas.zigo at slovanet.sk
Fri Jul 10 03:41:32 EDT 2009


Hi.
I am having problem with wxGUI.Nviz extension when I trying to change 2D
view in GRASS Map display (for example raster digital elevation model)
in 3D view (with wxGUI.Nviz extension), not working change into 3D view
"Please wait, loading data..." and this module not responding.
-----------------------------------------------------------------
wxGUI.Nviz extension command output : 

Traceback (most recent call last):
  File "/home/tomas/Build/grass/pkg/opt/grass-6.4.0svn/etc/w
xpython/gui_modules/toolbars.py", line 265, in OnSelectTool

self.mapdisplay.AddToolbar("nviz")
  File "/home/tomas/Build/grass/pkg/opt/grass-6.4.0svn/etc/w
xpython/gui_modules/mapdisp.py", line 2868, in AddToolbar

Map=self.Map, tree=self.tree, gismgr=self.gismanager)
  File "/home/tomas/Build/grass/pkg/opt/grass-6.4.0svn/etc/w
xpython/gui_modules/nviz_mapdisp.py", line 114, in __init__

self.nvizClass.SetDisplay(self)
  File "/home/tomas/Build/grass/pkg/opt//grass-6.4.0svn/etc/
wxpython/nviz/grass6_wxnviz.py", line 256, in SetDisplay

def SetDisplay(self, *args): return
_grass6_wxnviz.Nviz_SetDisplay(self, *args)
TypeError
:
in method 'Nviz_SetDisplay', argument 2 of type 'void *
-----------------------------------------------------------------

Other problem I having with wxGUI.Vector_Digitizing_Tool  when I am
changing to digitizig mod ("Digitize" with
wxGUI.Vector_Digitizing_Tool) in GRASS Map Display, I am creating new
vector map (for example contour) and I am trying open "Setting" which
not responding and when I am start digitizing for example line, I am
receiving Error message: "Not vector map selected for editing" , but I
am selecting correct map for start editing (for example contour).

----------------------------------------------------------------
wxGUI.Vector_Digitizing_Tool  command output :

Traceback (most recent call last):
  File "/home/tomas/Build/grass/pkg/opt/grass-6.4.0svn/etc/w
xpython/gui_modules/toolbars.py", line 1071, in OnSelectMap

self.StartEditing(self.layers[selection])
  File "/home/tomas/Build/grass/pkg/opt/grass-6.4.0svn/etc/w
xpython/gui_modules/toolbars.py", line 1103, in StartEditing

self.parent.digit = Digit(mapwindow=self.parent.MapWindow)
  File "/home/tomas/Build/grass/pkg/opt/grass-6.4.0svn/etc/w
xpython/gui_modules/vdigit.py", line 685, in __init__

VDigit.__init__(self, mapwindow)
  File "/home/tomas/Build/grass/pkg/opt/grass-6.4.0svn/etc/w
xpython/gui_modules/vdigit.py", line 223, in __init__

mapwindow)
  File "/home/tomas/Build/grass/pkg/opt//grass-6.4.0svn/etc/
wxpython/vdigit/grass6_wxvdigit.py", line 333, in __init__

this = _grass6_wxvdigit.new_Digit(*args)
TypeError
:
in method 'new_Digit', argument 2 of type 'wxWindow *'
-----------------------------------------------------------

Platform: GNU/Linux (distribution: Archlinux)
Cpu: i686, x86-64
GRASS version: grass-6.4.svn_src_snapshot_2009_07_04, 6.4.0RC5
(compiled from source, compilation log: No errors detected) 

C++ Compiler vers.: gcc-4.4.0-4 
Python vers.: python 2.6.2-3 
WxPython vers.: wxpython-2.8.10.1-1 
Swig vers.: swig 1.3.39-1
NumPy vers.: python-numpy 1.3.0-2

Best regards
Tomas Zigo



More information about the grass-user mailing list