[GRASS-dev] Re: [GRASS GIS] #29: moving of vector object by mouse

GRASS GIS trac at osgeo.org
Mon Feb 4 05:22:19 EST 2008


#29: moving of vector object by mouse
--------------------------+-------------------------------------------------
  Reporter:  zanollim     |       Owner:  martinl            
      Type:  enhancement  |      Status:  assigned           
  Priority:  major        |   Milestone:  6.4.0              
 Component:  Python       |     Version:  svn-trunk          
Resolution:               |    Keywords:  wxgui, digitization
--------------------------+-------------------------------------------------
Comment (by martinl):

 Replying to [comment:3 zanollim]:
 > Now I click on the 'Move feature(s)' tool and[[BR]]
 > when I try to select a feature with the mouse,[[BR]]
 > I see this error and the feature isn't selected:

 {{{
 > Traceback (most recent call last):
 >   File "/usr/src/grass_trunk/dist.i686-pc-linux-
 gnu/etc/wx/gui_modules/mapdisp.py", line 818, in MouseActions
 >     self.OnLeftUp(event)
 >   File "/usr/src/grass_trunk/dist.i686-pc-linux-
 gnu/etc/wx/gui_modules/mapdisp.py", line 1214, in OnLeftUp
 >     digitClass.GetSelectType())
 >   File "/usr/src/grass_trunk/dist.i686-pc-linux-
 gnu/etc/wx/gui_modules/digit.py", line 1161, in SelectLinesByBox
 >     nselected = self.__display.SelectLinesByBox(x1, y1, -1.0 *
 vdigit.PORT_DOUBLE_MAX,
 > AttributeError: 'module' object has no attribute 'PORT_DOUBLE_MAX'
 }}}

 You need to recompile vdigit interface since it has been changed (r29940).

 {{{
 cd gui/wxpython/vdigit
 make
 }}}

 Restart GUI, then it should work.

 Martin

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/29#comment:4>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list