Details Ticket 3800


Comment | Reply | Take | Resolve


Serial Number 3800
Subject script tests fail on some platforms
Area grass6
Queue grass
Requestors hamish_nospam@yahoo.com
Owner none
Status open
Last User Contact Mon Jul 17 20:34:30 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Jul 18 16:38:20 2006 (2 yr ago)
Created Fri Nov 4 01:37:16 2005 (3 yr ago)

Transaction History Ticket 3800


Fri, Nov 4 2005 01:37:16    Request created by hbowman  
Subject: script tests fail on some platforms

see http://grass.itc.it/pipermail/grass5/2005-November/020021.html

this seems to fail on some platforms:

E00CONV="`which e00conv`"
if [ "$EOOCONV" == "" ] ; then
  echo error
  exit
fi

works:
  if [ -z "$E00CONV" ] ; then


probably also
  if [ "$VAR" != "" ] ; then

should be
  if [ -n "$VAR" ] ; then


affected modules:
> $ grep -rI '""' scripts/* | cut -f1 -d/ | sort | uniq
>
> d.correlate
> d.monsize
> d.out.file
> d.out.png
> d.rast.leg
> d.resize
> d.slide.show
> d.split
> d.vect.thematic
> db.test
> g.mlist
> g.mremove
> i.fusion.brovey
> i.image.mosaic
> i.in.spotvgt
> i.oif
> i.spectral
> i.tasscap
> r.fillnulls
> r.in.aster
> r.in.srtm
> r.mapcalculator
> r.plane
> r.reclass.area
> r.regression.line
> r.shaded.relief
> r.univar.sh
> r3.mapcalculator
> v.build.all
> v.convert.all
> v.db.addcol
> v.db.addtable
> v.db.droptable
> v.db.reconnect.all
> v.db.update
> v.in.gns
> v.in.mapgen
> v.in.sites.all
> v.rast.stats
> v.univar.sh



Hamish
Sat, Nov 5 2005 18:39:01    Mail sent by glynn@gclements.plus.com  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17260.60977.521530.205717@cerise.gclements.plus.com>
Date Sat, 5 Nov 2005 17:38:57 +0000
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #3800] (grass) script tests fail on some platforms
In-Reply-To <20051104003716.41F4E1006B2@lists.intevation.de>
References <20051104003716.41F4E1006B2@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=3800

> Subject: script tests fail on some platforms
> 
> see http://grass.itc.it/pipermail/grass5/2005-November/020021.html
> 
> this seems to fail on some platforms:
> 
> E00CONV="`which e00conv`"
> if [ "$EOOCONV" == "" ] ; then

"==" isn't valid expression syntax; it's just "=".

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


Mon, Nov 7 2005 06:52:16    Mail sent by hamish_nospam@yahoo.com  
Return-Path <hamish_nospam@yahoo.com>
Delivered-To grass-bugs@lists.intevation.de
Date Mon, 7 Nov 2005 18:51:41 +1300
From Hamish <hamish_nospam@yahoo.com>
To Glynn Clements <glynn@gclements.plus.com>
Cc grass-bugs@intevation.de, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #3800] (grass) script tests fail on some platforms
Message-Id <20051107185141.4539d562.hamish_nospam@yahoo.com>
In-Reply-To <17260.60977.521530.205717@cerise.gclements.plus.com>
References <20051104003716.41F4E1006B2@lists.intevation.de> <17260.60977.521530.205717@cerise.gclements.plus.com>
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-Spam-Status No, hits=-4.0 tagged_above=-999.0 required=3.0 tests=BAYES_00, FORGED_YAHOO_RCVD
X-Spam-Level
> > this bug's URL: http://intevation.de/rt/webrt?serial_num=3800
> 
> > Subject: script tests fail on some platforms
> > 
> > see http://grass.itc.it/pipermail/grass5/2005-November/020021.html
> > 
> > this seems to fail on some platforms:
> > 
> > E00CONV="`which e00conv`"
> > if [ "$EOOCONV" == "" ] ; then
> 
> "==" isn't valid expression syntax; it's just "=".


sorry that was my mistake, the test that fails is in fact

> > E00CONV=`which e00conv`
> > if [ "$EOOCONV" = "" ] ; then

http://freegis.org/cgi-bin/viewcvs.cgi/grass6/scripts/v.in.e00/v.in.e00.diff?r1=1.11&r2=1.12
Maybe the error is

E00CONV=`which e00conv`

without quotes around "``" if there is spaces in the path? :/ I don't
think so, but..

I don't know if this was on Mac or Cygwin & can't test.



Hamish


Mon, Jul 17 2006 20:34:30    Mail sent by mneteler  
https://intevation.de/rt/webrt?serial_num=3800
... still an issue?

Markus
Tue, Jul 18 2006 16:38:20    Comments added by hbowman  
Yes.


Hamish
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