Details Ticket 5392


Comment | Reply | Take | Resolve


Serial Number 5392
Subject some support programs get empty html docs built
Area grass6
Queue grass
Requestors kyngchaos@kyngchaos.com
Owner none
Status open
Last User Contact Wed May 9 21:40:52 2007 (1 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed May 9 21:54:19 2007 (1 yr ago)
Created Fri Dec 15 21:53:39 2006 (2 yr ago)

Transaction History Ticket 5392


Fri, Dec 15 2006 21:53:39    Request created by guest  
Subject: some support programs get empty html docs built

Platform: Mac OSX
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: 6.2.1

A few support progs have empty html docs built.  There are dummy targets in their
makefiles, with a 
comment about docs not needed, yet they are built anyways with just the program
name sandwiched by 
a header and footer.  I'm not sure if this is intentional or not, since there
is an exclusion for some in 
build_html_index.sh.  The following have empty html docs:

i.ask
i.find
modcats (r.support)
modcolr
modhead
modhist
[i.ortho.]photo.elev
[i.ortho.]photo.target
r.watershed.ram
r.watershed.seg
Mon, Dec 18 2006 03:10:25    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 18 Dec 2006 15:10:13 +1300
From Hamish <hamish_nospam@yahoo.com>
To Request Tracker <grass-bugs@intevation.de>
Cc grass-dev@grass.itc.it
Subject Re: [GRASS-dev] [bug #5392] (grass) some support programs get empty html docs built
Message-Id <20061218151013.0e6c9618.hamish_nospam@yahoo.com>
In-Reply-To <20061215205339.1A6271006C4@lists.intevation.de>
References <20061215205339.1A6271006C4@lists.intevation.de>
X-Mailer Sylpheed version 1.0.4 (GTK+ 1.2.10; i386-pc-linux-gnu)
X-Face M<EoB)"*Z~u!,vFhXmw}R_KbdBta*P_=T|rbBL'e1/CQ9;/1g\BU3&!=y8ria$2Uk!HT&BB 8i?|X_+7~1jsy}F~g$2va%3fV`*=L(*cem[@3\yg,G,@rg6/QMJ
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-2.3 tagged_above=-999 required=3 tests=[BAYES_00=-5, FORGED_YAHOO_RCVD=2.7]
X-Spam-Level
Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=5392
> ---------------------------------------------------------------------
> 
> Subject: some support programs get empty html docs built
> 
> Platform: Mac OSX
> GRASS Version: 6.2.1
>
> A few support progs have empty html docs built.  There are dummy
> targets in their makefiles, with a  comment about docs not needed, yet
> they are built anyways with just the program name sandwiched by  a
> header and footer.  I'm not sure if this is intentional or not, since
> there is an exclusion for some in  build_html_index.sh.  The following
> have empty html docs:
> 
> i.ask
> i.find
> modcats (r.support)
> modcolr
> modhead
> modhist
> [i.ortho.]photo.elev
> [i.ortho.]photo.target
> r.watershed.ram
> r.watershed.seg

as a workaround to the [FIXME] "htmletc1" Makefile target
(include/Make/Html.make), the tools/build_html_index.sh script should
skip those modules with:

EXCLUDEHTML="v\.topo\.check\|i\.ask\|i\.find\|photo\.elev\|photo\.targe
t\|helptext\.html\|r\.watershed\.ram\|r\.watershed\.seg"


Hamish


Mon, Dec 18 2006 17:15:09    Mail sent by kyngchaos@kyngchaos.com  
Return-Path <kyngchaos@kyngchaos.com>
Delivered-To grass-bugs@lists.intevation.de
In-Reply-To <20061218151013.0e6c9618.hamish_nospam@yahoo.com>
References <20061215205339.1A6271006C4@lists.intevation.de> <20061218151013.0e6c9618.hamish_nospam@yahoo.com>
Mime-Version 1.0 (Apple Message framework v752.3)
Content-Type text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id <A1DAA660-BC8E-4BC3-8E8F-BD507056A311@kyngchaos.com>
Cc Hamish <hamish_nospam@yahoo.com>
Content-Transfer-Encoding 7bit
From William Kyngesburye <kyngchaos@kyngchaos.com>
Subject Re: [GRASS-dev] [bug #5392] (grass) some support programs get empty html docs built
Date Mon, 18 Dec 2006 10:14:47 -0600
To Request Tracker <grass-bugs@intevation.de>
X-Mailer Apple Mail (2.752.3)
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, hits=-5 tagged_above=-999 required=3 tests=[BAYES_00=-5]
X-Spam-Level
On Dec 17, 2006, at 8:10 PM, Hamish wrote:

> as a workaround to the [FIXME] "htmletc1" Makefile target
> (include/Make/Html.make), the tools/build_html_index.sh script should
> skip those modules with:
>
> EXCLUDEHTML="v\.topo\.check\|i\.ask\|i\.find\|photo\.elev\|photo 
> \.targe
> t\|helptext\.html\|r\.watershed\.ram\|r\.watershed\.seg"

But doesn't that just skip adding them to the index if they exist?

 From the module makefiles, it looks like it's overriding the wrong  
target:

from html.make:

# html rules for ETC commands
htmletc: htmletc1 htmlgen

htmletc1:
	$(call htmldesc,$(ETC)/$(PGM))


and from the module makefile (ie for i.ask):

htmletc1:
	@echo no docs needed for $(PGM)


So, it's just overriding the running of the command to generate the  
options part of the help (htmldesc).  It's still doing htmlgen, which  
is generating the empty help file since there is no description.html.


Wed, May 9 2007 21:40:52    Mail sent by mneteler  
Glynn has submitted patches, does this solve the problem?

Markus
Wed, May 9 2007 21:54:19    Mail sent by kyngchaos@kyngchaos.com  
Return-Path <kyngchaos@kyngchaos.com>
Delivered-To grass-bugs@lists.intevation.de
In-Reply-To <20070509194052.7AD071006CD@lists.intevation.de>
References <20070509194052.7AD071006CD@lists.intevation.de>
Mime-Version 1.0 (Apple Message framework v752.3)
Content-Type text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id <0E6854FA-F1F2-4050-8502-E3AC8894FA4D@kyngchaos.com>
Cc Markus Neteler <neteler@itc.it>, Glynn Clements <glynn@gclements.plus.com>
Content-Transfer-Encoding 7bit
From William Kyngesburye <kyngchaos@kyngchaos.com>
Subject Re: [bug #5392] (grass) some support programs get empty html docs built
Date Wed, 9 May 2007 14:53:54 -0500
To Markus Neteler via RT <grass-bugs@intevation.de>
X-Mailer Apple Mail (2.752.3)
X-Virus-Scanned by amavisd-new at intevation.de
X-Spam-Status No, score=-5 tagged_above=-999 required=3.5 tests=[BAYES_00=-5]
X-Spam-Score -5
X-Spam-Level
Since I found that the escaped-double-quotes WAS making it  
into .bashrc, this variation of Glynn's suggestion works:

     echo "PROMPT_COMMAND=\"'$GISBASE/etc/prompt.sh'\"" >> "$bashrc"


Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request