[GRASS-dev] man error on compilation

Vaclav Petras wenzeslaus at gmail.com
Tue Nov 22 09:58:58 PST 2016


On Tue, Nov 22, 2016 at 11:12 AM, Yann Chemin <dr.yann.chemin at gmail.com>
wrote:

> I am compiling from SVN inside a docker (Debian testing)
>
>
I'm just doing it with Ubuntu in Docker and I have no issue with r68881
(docker run ... grass --config revision).


> for some reason inside man/ the build_keywords.py bugs at line 63.
>

This looks like module without keywords or with an empty keyword. Are you
using something else than code from trunk?


>
> GISBASE="/root/dev/grass_trunk/dist.x86_64-pc-linux-gnu"
> ARCH="x86_64-pc-linux-gnu" ARCH_DISTDIR="/root/dev/grass_
> trunk/dist.x86_64-pc-linux-gnu" VERSION_NUMBER=7.3.svn VERSION_DATE=2016
> python ./build_keywords.py /root/dev/grass_trunk/dist.
> x86_64-pc-linux-gnu/docs/html
> Traceback (most recent call last):
>   File "./build_keywords.py", line 63, in <module>
>     firstchar = key[0].lower()
> IndexError: string index out of range


r69871 checks for an empty keyword and fail because empty keyword should
not happen. The error message tells file and line.

Hope this helps,
Vaclav

https://trac.osgeo.org/grass/changeset/69871
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20161122/5f35139c/attachment-0001.html>


More information about the grass-dev mailing list