[GRASS-dev] [GRASS GIS] #2476: vector digitizer crashing with _breakLineAtIntersection

GRASS GIS trac at osgeo.org
Wed Nov 26 21:31:57 PST 2014


#2476: vector digitizer crashing with _breakLineAtIntersection
-------------------------+--------------------------------------------------
 Reporter:  annakrat     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  wxGUI        |     Version:  svn-trunk                
 Keywords:  vdigit       |    Platform:  Linux                    
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------

Comment(by annakrat):

 Replying to [comment:2 mmetz]:
 > Replying to [comment:1 mmetz]:
 > > You would need to get areas on each side before breaking the line, but
 the vector lib might only be able to build areas after the new line was
 broken. I would suggest to break the line only after trying to attach
 centroids.
 >
 > Fixed in r63077.

 Thanks, it's not crashing any more. But when I draw a line over an area,
 so that it breaks, I get this error:

 {{{
 Traceback (most recent call last):
   File "/home/anna/dev/grass/trunk1/dist.x86_64-unknown-
 linux-gnu/gui/wxpython/mapwin/buffered.py", line 1248, in
 MouseActions

 self.OnRightUp(event)
   File "/home/anna/dev/grass/trunk1/dist.x86_64-unknown-
 linux-gnu/gui/wxpython/mapwin/buffered.py", line 1485, in
 OnRightUp

 self._onRightUp(event)
   File "/home/anna/dev/grass/trunk1/dist.x86_64-unknown-
 linux-gnu/gui/wxpython/vdigit/mapwindow.py", line 935, in
 _onRightUp

 (UserSettings.Get(group = 'vdigit', key = "category", subkey
 = 'value'), )
 IndexError
 :
 list index out of range
 }}}

 It seems to be related to the fix, list 'fids' is empty, but I couldn't
 see what's wrong.

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



More information about the grass-dev mailing list