[GRASS-dev] v.digit startup error from -n position

Michael Barton michael.barton at asu.edu
Wed Aug 2 12:57:09 EDT 2006


I thought that Glynn fixed this last week. I can't remember exactly, but it
had to do with the same kind of string/command parsing that has repeatedly
plagued us.

Michael
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton


> From: Markus Neteler <neteler at itc.it>
> Date: Wed, 2 Aug 2006 17:15:58 +0200
> To: GRASS developers list <grass-dev at grass.itc.it>
> Subject: [GRASS-dev] v.digit startup error from -n position
> 
> Hi,
> 
> I found a problem starting v.digit from the tcltk GUI:
> 
> v.digit map=cities 'bgcmd=d.rast landcover.30m' -n
> New empty map created.
> 
> Application initialization failed: "-n" option requires an additional argument
> Error in startup script: couldn't read file "map=cities": no such file or
> directory
> 
> while
> v.digit -n map=cities 'bgcmd=d.rast landcover.30m'
> 
> works (see -n position). Strange for me, since G_parser is used...
> 
> Any ideas? Is it related to bgcmd_opt parsing?
> 
> I think that the gtcltk code should in general put flags
> first (which would resolve the problem here).
> 
> Markus
> 
> 




More information about the grass-dev mailing list