[GRASS-dev] Re: [GRASS GIS] #1409: wxGUI command console does not parse correctly "help" and first parameter

GRASS GIS trac at osgeo.org
Mon Jul 25 14:10:08 EDT 2011


#1409: wxGUI command console does not parse correctly "help" and first parameter
-----------------------+----------------------------------------------------
 Reporter:  philippbs  |       Owner:  grass-dev@…              
     Type:  defect     |      Status:  new                      
 Priority:  normal     |   Milestone:  6.4.2                    
Component:  wxGUI      |     Version:  svn-releasebranch64      
 Keywords:             |    Platform:  All                      
      Cpu:  x86-64     |  
-----------------------+----------------------------------------------------
Changes (by neteler):

  * platform:  MSWindows 7 => All


Comment:

 Confirmed on Linux.

 In GRASS 7, on Linux the usage of "d.vect help" in the cmd console leads
 instead to:

 {{{
 Traceback (most recent call last):
   File "/home/neteler/grass70/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/gui_modules/prompt.py", line 1097, in
 OnKeyPressed

 self.parent.RunCmd(cmd)
   File "/home/neteler/grass70/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/gui_modules/goutput.py", line 506, in
 RunCmd

 layerType = layertype)
   File "/home/neteler/grass70/dist.x86_64-unknown-linux-
 gnu/etc/gui/wxpython/gui_modules/utils.py", line 144, in
 GetLayerNameFromCmd

 dcmd[i] = p + '=' + v
 TypeError
 :
 unsupported operand type(s) for +: 'NoneType' and 'str'

 }}}

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



More information about the grass-dev mailing list