[GRASS-dev] [GRASS GIS] #628: wingrass native: vdigit error on new map

GRASS GIS trac at osgeo.org
Thu Jun 4 04:49:27 EDT 2009


#628: wingrass native: vdigit error on new map
------------------------------+---------------------------------------------
 Reporter:  hamish            |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect            |      Status:  new                      
 Priority:  normal            |   Milestone:  6.4.0                    
Component:  wxGUI             |     Version:  6.4.0 RCs                
 Keywords:  wingrass, vdigit  |    Platform:  MSWindows XP             
      Cpu:  x86-32            |  
------------------------------+---------------------------------------------
 Hi,

 with the latest wingrass native stand-alone installer (6.4.0rc.svn.37703),
 if you start the wxGui, in the map display window pull down 2D view to be
 Digitize (hey, it built!), then on the left pull down the empty box to
 select New vector map, add a name like "testmap" and press Ok you get an
 error in the Output tab:

 {{{
 New vector map <testmap at user1> created
 Traceback (most recent call last):
   File
 "C:\GRASS-6-SVN\etc\wxpython\gui_modules\toolbars.py", line
 1071, in OnSelectMap

 self.StartEditing(self.layers[selection])
   File
 "C:\GRASS-6-SVN\etc\wxpython\gui_modules\toolbars.py", line
 1103, in StartEditing

 self.parent.digit = Digit(mapwindow=self.parent.MapWindow)
   File "C:\GRASS-6-SVN\etc\wxpython\gui_modules\vdigit.py",
 line 685, in __init__

 VDigit.__init__(self, mapwindow)
   File "C:\GRASS-6-SVN\etc\wxpython\gui_modules\vdigit.py",
 line 223, in __init__

 mapwindow)
   File
 "C:/GRASS-6-SVN\etc\wxpython\vdigit\grass6_wxvdigit.py",
 line 327, in __init__

 this = _grass6_wxvdigit.new_Digit(*args)
 TypeError
 :
 in method 'new_Digit', argument 2 of type 'wxWindow *'
 Traceback (most recent call last):
   File
 "C:\GRASS-6-SVN\etc\wxpython\gui_modules\toolbars.py", line
 1063, in OnSelectMap

 if self.layers[selection] == self.mapLayer:
 IndexError
 :
 list index out of range

 }}}


 ?,
 Hamish

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


More information about the grass-dev mailing list