[GRASS-dev] Re: [GRASS GIS] #1355: Error starting wxpython v.digit session

GRASS GIS trac at osgeo.org
Tue May 3 14:36:18 EDT 2011


#1355: Error starting wxpython v.digit session
---------------------------+------------------------------------------------
 Reporter:  epatton        |       Owner:  martinl         
     Type:  defect         |      Status:  assigned        
 Priority:  normal         |   Milestone:  6.4.2           
Component:  Python ctypes  |     Version:  svn-develbranch6
 Keywords:  G_gisinit()    |    Platform:  Linux           
      Cpu:  x86-32         |  
---------------------------+------------------------------------------------

Comment(by epatton):

 Thanks. I refreshed my source, recompiled, and tried editing with the
 WXGUI digitizer again, I get this error:


 {{{
 Traceback (most recent call last):
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/to
 olbars.py", line 1127, in OnSelectMap

 self.StartEditing(self.layers[selection])
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/to
 olbars.py", line 1142, in StartEditing

 self.parent.MapWindow.EraseMap()
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
 pdisp_window.py", line 830, in EraseMap

 self.Draw(self.pdcVector, pdctype = 'clear')
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
 pdisp_window.py", line 293, in Draw

 pdc.BeginDrawing()
 AttributeError
 :
 'NoneType' object has no attribute 'BeginDrawing'
 Traceback (most recent call last):
   File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/ma
 pdisp_window.py", line 472, in OnPaint

 self.pdcVector.DrawToDCClipped(gcdc, rgn)
 AttributeError
 :
 'NoneType' object has no attribute 'DrawToDCClipped'


 }}}

 ~ Eric.

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



More information about the grass-dev mailing list