[GRASS-dev] problem with a description html file

Yann Chemin yann.chemin at gmail.com
Sun Apr 5 12:08:45 EDT 2009


OK, found it, sorry for the trouble.

it was a duplicate line from a copy/paste that got itself in the wrong place
input1->answer = _("modland_qa_bits");

it was before
input1 = G_define_option();

Thanks,
Yann


2009/4/5 Yann Chemin <yann.chemin at gmail.com>:
> Hello Martin,
>
> yes, since I just copied a valid GRASS description html into this one,
> I believe it is a different problem.
>
> here is the error on the command line.
> -------------------------------------------------------------------------------------------------------
> root at siduxbox:/home/yann/tmp/grass_yann/imagery/i.modis.qc# make
>
> gcc -I/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/include  -g -O2
>  -D_FILE_OFFSET_BITS=64 -DPACKAGE=\""grassmods"\"
> -I/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/include -o
> OBJ.i686-pc-linux-gnu/main.o -c main.c
> gcc -L/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/lib
> -Wl,--export-dynamic
> -Wl,-rpath-link,/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/lib
> -L/usr/lib/  -o
> /home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/bin/i.modis.qc
> OBJ.i686-pc-linux-gnu/main.o OBJ.i686-pc-linux-gnu/mod09A1a.o
> OBJ.i686-pc-linux-gnu/mod09A1c.o OBJ.i686-pc-linux-gnu/mod09A1d.o
> OBJ.i686-pc-linux-gnu/mod09A1e.o OBJ.i686-pc-linux-gnu/mod09A1sa.o
> OBJ.i686-pc-linux-gnu/mod09A1sb.o OBJ.i686-pc-linux-gnu/mod09A1sc.o
> OBJ.i686-pc-linux-gnu/mod09A1sd.o OBJ.i686-pc-linux-gnu/mod09A1se.o
> OBJ.i686-pc-linux-gnu/mod09A1sf.o OBJ.i686-pc-linux-gnu/mod09A1sg.o
> OBJ.i686-pc-linux-gnu/mod09A1sh.o OBJ.i686-pc-linux-gnu/mod09A1si.o
> OBJ.i686-pc-linux-gnu/mod09A1sj.o OBJ.i686-pc-linux-gnu/mod09A1sk.o
> OBJ.i686-pc-linux-gnu/mod09Q1a.o OBJ.i686-pc-linux-gnu/mod09Q1b.o
> OBJ.i686-pc-linux-gnu/mod09Q1c.o OBJ.i686-pc-linux-gnu/mod09Q1d.o
> OBJ.i686-pc-linux-gnu/mod09Q1e.o OBJ.i686-pc-linux-gnu/mod09Q1f.o
> OBJ.i686-pc-linux-gnu/mod11A2a.o OBJ.i686-pc-linux-gnu/mod11A2b.o
> OBJ.i686-pc-linux-gnu/mod11A2c.o OBJ.i686-pc-linux-gnu/mod11A2d.o
> -lgrass_gis -lgrass_datetime -lz      -lm  -lz
>
> if [ "/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/bin/i.modis.qc"
> != "" ] ; then GISRC=/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/demolocation/.grassrc70
> GISBASE=/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu
> PATH="/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/bin:$PATH"
> PYTHONPATH="/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/etc/python:$PYTHONPATH"
> LD_LIBRARY_PATH="/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/bin:/home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/lib:"
> LC_ALL=C /home/yann/tmp/grass_yann/dist.i686-pc-linux-gnu/bin/i.modis.qc
> --html-description < /dev/null | grep -v '</body>\|</html>' >
> i.modis.qc.tmp.html ; fi
> Segmentation fault
> make: *** [i.modis.qc.tmp.html] Error 1
> rm i.modis.qc.tmp.html
> -----------------------------------------------------------------------------------------------
>
> Thanks a lot,
> Yann
>
>
> 2009/4/5 Martin Landa <landa.martin at gmail.com>:
>> Hi,
>>
>> 2009/4/5 Yann Chemin <yann.chemin at gmail.com>:
>>
>>> Could you please help,
>>> I have updated i.modis.qc, and it compiles well.
>>> However, the html file somehow makes an error on compilation of the module.
>>> The compilation fails because of that one.
>>
>> I guess your are referring to trunk. See SUBMITTING_DOCS for supported
>> tags. Can you send error log?
>>
>> M.
>>
>> --
>> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
>>
>
>
>
> --
> Yann Chemin
> Mobile: +33 (06) 10 11 39 26
> Home: +33 (02) 35 27 08 20,
> Address: Gite de Mortagne,
> 16 rue de la chenaie,
> 76110 Bec de Mortagne,
> France
>
> Perso: http://www.freewebs.com/ychemin
> YiKingDo: http://yikingdo.unblog.fr/
>



-- 
Yann Chemin
Mobile: +33 (06) 10 11 39 26
Home: +33 (02) 35 27 08 20,
Address: Gite de Mortagne,
16 rue de la chenaie,
76110 Bec de Mortagne,
France

Perso: http://www.freewebs.com/ychemin
YiKingDo: http://yikingdo.unblog.fr/


More information about the grass-dev mailing list