[GRASS-dev] [GRASS GIS] #2370: g.html2man.py fails while processing keyword list

GRASS GIS trac at osgeo.org
Fri Jul 18 06:45:07 PDT 2014


#2370: g.html2man.py fails while processing keyword list
--------------------------------+-------------------------------------------
 Reporter:  marisn              |       Owner:  grass-dev@…              
     Type:  defect              |      Status:  new                      
 Priority:  minor               |   Milestone:  7.1.0                    
Component:  Parser              |     Version:  svn-trunk                
 Keywords:  HTML, documenation  |    Platform:  Unspecified              
      Cpu:  Unspecified         |  
--------------------------------+-------------------------------------------
Changes (by wenzeslaus):

  * keywords:  => HTML, documenation
  * priority:  normal => minor
  * component:  Python => Parser


Comment:

 This was fixed by r61274 done by Soeren. r61275 compiles now.

 However, we may consider if this is in fact bug in GRASS parser or
 `g.html2man.py`. Perhaps, parser should not allow no keywords (checked in
 `G_parser()` or "`--help`" function and company) and/or `g.html2man.py`
 should provide better error message or work with an empty keywords list.
 The error message also suggests that output of `--html-description` is not
 a valid HTML (if there are no keywords) and if this is the case, this
 should be fixed in the first place.

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



More information about the grass-dev mailing list