[GRASS-dev] html error (access file not found) on compilation of i.landsat.toar in v7

Glynn Clements glynn at gclements.plus.com
Fri Oct 15 10:37:44 EDT 2010


Yann Chemin wrote:

> Thank you Glynn that seems to be resolved,
> A last error comes up now:
> 
> ------------------------
> 
> root at SeeePC:/home/yann/grass_yann/imagery/i.landsat.toar# make
> VERSION_NUMBER=7.0.svn
> /home/yann/grass_yann/dist.i686-pc-linux-gnu/tools/g.html2man.py
> /home/yann/grass_yann/dist.i686-pc-linux-gnu/docs/html/i.landsat.toar.html
> /home/yann/grass_yann/dist.i686-pc-linux-gnu/man/man1/i.landsat.toar.1
> /home/yann/grass_yann/dist.i686-pc-linux-gnu/docs/html/i.landsat.toar.html:133:0:
> Error (IndexError('pop from empty list',)): </p>

g.html2man.py requires that the HTML file is structurally valid.

The i.landsat.toar.html file isn't valid; it contains bogus </p> tags. 
This appears to arise from the use of <ul>, which is a block element
and thus cannot occur within <p>. The effecti is as if a </p> tag was
inserted immediately before the <ul> tag. The subsequent explicit </p>
tag doesn't match any open <p> tag, resulting in the error.

You can fix the error by adding a <p> tag immediately after the </ul>.

For more information, see the bottom of:

http://grass.osgeo.org/wiki/Updating_GRASS_Documentation

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list