[GRASS-user] Compile python add-on with GRASS7 - HTML/man error?

Johannes Radinger johannesradinger at gmail.com
Tue Apr 9 02:58:40 PDT 2013


Hi,

I try to compile a GRASS6 add-on with GRASS7 to adapt the code to
the new GRASS version. I know probably some or even more code lines
have to be adapted for the new version, however I already fail when I want
to compile it with GRASS 7:

Errors in:
/usr/local/src/grass7_trunk/scripts/r.fidimo
/usr/local/src/grass7_trunk/man
--
So I changed into the directory and ran make again:
/usr/local/src/grass7_trunk/scripts/r.fidimo$ make
VERSION_NUMBER=7.0.svn
/usr/local/src/grass7_trunk/dist.i686-pc-linux-gnu/tools/g.html2man.py/usr/local/src/grass7_trunk/dist.i686-pc-linux-gnu/docs/html/r.fidimo.html
/usr/local/src/grass7_trunk/dist.i686-pc-linux-gnu/docs/man/man1/r.fidimo.1
/usr/local/src/grass7_trunk/dist.i686-pc-linux-gnu/docs/html/r.fidimo.html:109:0:
Error (KeyError(None,)): <DT><b>outflow_point</b></DT>

make: ***
[/usr/local/src/grass7_trunk/dist.i686-pc-linux-gnu/docs/man/man1/r.fidimo.1]
Error 1

it seems there is a problem with the html-manual file? The compilation
incl. the html file is working perfectly with GRASS6.5. I am aware that for
version 7: (i) The name of the html file changed to "module-name.html"
(instead of "description.html" and (ii) in the makefile the .py ending is
excluded.
Are there any restrictions/stricter guidelines for html-manuals in GRASS7?
E.g. is
it strictly required that the options in the manual match the options in
the script (because the manual is out of date an some option-names changed,
but that was never a problem for GRASS6.5)

Best regards,
Johannes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20130409/8d8b1535/attachment.html>


More information about the grass-user mailing list