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

GRASS GIS trac at osgeo.org
Mon Jul 19 16:55:52 EDT 2010


#628: wingrass native: vdigit error on new map
------------------------------+---------------------------------------------
 Reporter:  hamish            |       Owner:  grass-dev@…              
     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            |  
------------------------------+---------------------------------------------

Comment(by hellik):

 Replying to [ticket:628 hamish]:
 > 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

 see comment in
 https://trac.osgeo.org/grass/ticket/627#comment:5

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



More information about the grass-dev mailing list