* 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.
#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 |
--------------------------------+-------------------------------------------
Comment(by glynn):
Replying to [comment:1 wenzeslaus]:
> However, we may consider if this is in fact bug in GRASS parser or
`g.html2man.py`.
Or possibly in man/build_keywords.py.
That script appears to be trying to parse HTML using Python's generic
string-processing functions, which is unlikely to be robust. Consider
using tools/g.html2man/html.py.