[GRASS-dev] [GRASS GIS] #2088: G7: digitizer python error

GRASS GIS trac at osgeo.org
Fri Sep 27 00:28:29 PDT 2013


#2088: G7: digitizer python error
-------------------------------+--------------------------------------------
 Reporter:  neteler            |       Owner:  grass-dev@…              
     Type:  defect             |      Status:  new                      
 Priority:  normal             |   Milestone:  7.0.0                    
Component:  wxGUI              |     Version:  svn-trunk                
 Keywords:  digitizer, python  |    Platform:  Linux                    
      Cpu:  x86-64             |  
-------------------------------+--------------------------------------------
 The wxGUI digitizer shows this problem:

 {{{
 Traceback (most recent call last):
   File "/home/neteler/grass70/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/mapwin/buffered.py", line 1025, in
 MouseActions

 self.OnLeftUp(event)
   File "/home/neteler/grass70/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/mapwin/buffered.py", line 1206, in
 OnLeftUp

 self._onLeftUp(event)
   File "/home/neteler/grass70/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/vdigit/mapwindow.py", line 850, in
 _onLeftUp

 self.OnLeftUpCopyLine(event)
   File "/home/neteler/grass70/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/vdigit/mapwindow.py", line 758, in
 OnLeftUpCopyLine

 nselected = self.bdigit.GetDisplay().SelectLinesByBox((pos1,
 pos2))
 AttributeError
 :
 'VDigitWindow' object has no attribute 'bdigit'
 }}}

 To reproduce it:
  * NC location
  * load and show the "geology" map
  * start the digitizer from the map display window
  * create a new vector map

 Note: the "geology" map disappears, "Render map" icon shows it again

  * From "Additional tools": select "Copy feature from (background) vector
 map

 The error message appears (see above).

 Furthermore there is no dialog from which vector map the user could copy
 from (should be one of the maps loaded into the layer manager).

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2088>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list