[GRASS-dev] Re: [GRASS GIS] #1150: Cannot open vector for editing in digitize toolbar in GRASS 7.0

GRASS GIS trac at osgeo.org
Tue Sep 7 08:27:22 EDT 2010


#1150: Cannot open vector for editing in digitize toolbar in GRASS 7.0
--------------------+-------------------------------------------------------
 Reporter:  PvB     |       Owner:  grass-dev@…              
     Type:  defect  |      Status:  new                      
 Priority:  normal  |   Milestone:                           
Component:  wxGUI   |     Version:  unspecified              
 Keywords:          |    Platform:  Linux                    
      Cpu:  x86-64  |  
--------------------+-------------------------------------------------------
Changes (by marisn):

  * component:  Vector => wxGUI


Comment:

 Check out console output and You will see nice error message:

 {{{
 Traceback (most recent call last):
   File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
 linux-gnu/etc/gui/wxpython/gui_modules/vdigit.py", line 230,
 in __init__
     mapwindow)
   File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
 linux-gnu/etc/gui/wxpython/vdigit/grass7_wxvdigit.py", line
 330, in __init__
     this = _grass7_wxvdigit.new_Digit(*args)
 TypeError: in method 'new_Digit', argument 2 of type
 'wxWindow *'
 Traceback (most recent call last):
   File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
 linux-gnu/etc/gui/wxpython/gui_modules/mapdisp_window.py",
 line 337, in CheckPseudoDC
 self.pdc.SetBackground(wx.Brush(self.GetBackgroundColour()))
   File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
 linux-gnu/etc/gui/wxpython/vdigit/grass7_wxvdigit.py", line
 384, in SetBackground
     def SetBackground(self, *args): return
 _grass7_wxvdigit.PseudoDC_SetBackground(self, *args)
 TypeError: in method 'PseudoDC_SetBackground', argument 2 of
 type 'wxBrush const &'
 Traceback (most recent call last):
   File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
 linux-gnu/etc/gui/wxpython/gui_modules/toolbars.py", line
 1263, in OnSelectMap

 self.StartEditing(self.layers[selection])
   File "/home/maris/soft/grass_trunk/dist.x86_64-unknown-
 linux-gnu/etc/gui/wxpython/gui_modules/toolbars.py", line
 1311, in StartEditing

 GError(parent = self.parent,
 NameError
 :
 global name 'GError' is not defined

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1150#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list