Details Ticket 4024


Comment | Reply | Take | Resolve


Serial Number 4024
Subject corrupted defaults and comments in GUI
Area grass6
Queue grass
Requestors tutey@o2.pl
Owner none
Status open
Last User Contact Fri Jan 27 11:18:51 2006 (3 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Wed Jul 26 18:14:46 2006 (2 yr ago)
Created Fri Jan 20 15:14:46 2006 (3 yr ago)

Transaction History Ticket 4024


Fri, Jan 20 2006 15:14:46    Request created by guest  
Subject: d.m, v.in.ascii: columns hint leads to errors

Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: cvs 2005.01.10

In the v.in.assci GUI there is a hint for the "column" option:

    Columns definition for points mode in SQL style, for example:
    'x double precision, y double precision, cat int, name varchar(10)'

...as this is how option "column" is described in the manual.

If one now inputs as advised using ' ' the hole string gets translated as

'columns='\''x double precision, y double precision, cat int, name varchar(10)'\'''
which leads to a failure of course.

I have searched the all the manuals for a similar case, but it seems v.in.ascii
manual is the only one to cause such an erroneous advice in GUI. Does the manual
have to be changed or could this be fixed other way?

Maciek
Fri, Jan 20 2006 16:41:06    Mail sent by msieczka  
Here's another command using the contents of manual for messing up the GUI -
r.in.ascii. This one even inputs some nonsense default parameters into the
GUI, not only suggests them:

'mult=1.0 'mult=1.0 or read from header'
'nv=* or read from header'

Of course running the module with such defaults leads to a failure.

Maciek

P.S.
I'm renaming the report to "corrupted defaults and comments in GUI".
Fri, Jan 20 2006 16:41:23    Subject changed to corrupted defaults and comments in GUI by msieczka  
Sat, Jan 21 2006 20:06:37    Mail sent by michael.barton@asu.edu  
Return-Path <Michael.Barton@asu.edu>
Delivered-To grass-bugs@lists.intevation.de
Date Sat, 21 Jan 2006 12:11:36 -0700
From Michael Barton <michael.barton@asu.edu>
Subject Re: [GRASS5] [bug #4024] (grass) d.m, v.in.ascii: columns hint leads to errors
In-reply-to <20060120154106.949B41005C6@lists.intevation.de>
To Paolo Cavallini via RT <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Message-id <BFF7D578.7C20%michael.barton@asu.edu>
MIME-version 1.0
Content-type text/plain; charset=US-ASCII
Content-transfer-encoding 7bit
User-Agent Microsoft-Entourage/11.1.0.040913
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Maciek,

Again, the dialogs that pop up when you run a GRASS command are NOT a part
of the dm/GIS Manager. They are generated from the C-code of the module (or
the script code for shell scripts). If you want to report a bug or wish with
one of these dialogs and get it fixed, don't report it as a dm bug. I agree
that some of these could use better descriptions of options. Suggested text
improvements would help those who maintain the relevant modules.

In this case, you need to report this as a bug for v.in.ascii--not d.m.

Michael


On 1/20/06 8:41 AM, "Maciek Sieczka via RT" <grass-bugs@intevation.de>
wrote:

> Here's another command using the contents of manual for messing up the GUI
-
> r.in.ascii. This one even inputs some nonsense default parameters into the
> GUI, not only suggests them:
> 
> 'mult=1.0 'mult=1.0 or read from header'
> 'nv=* or read from header'
> 
> Of course running the module with such defaults leads to a failure.
> 
> Maciek
> 
> P.S.
> I'm renaming the report to "corrupted defaults and comments in GUI".
> 
> -------------------------------------------- Managed by Request Tracker
> 

___________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287

WWW - http://www.public.asu.edu/~cmbarton
Phone: 480-965-6262
Fax: 480-965-7671


Sat, Jan 21 2006 20:35:15    Mail sent by werchowyna@epf.pl  
Return-Path <werchowyna@epf.pl>
Delivered-To grass-bugs@lists.intevation.de
Subject Re: [GRASS5] [bug #4024] (grass) d.m, v.in.ascii: columns hint leads to errors
From Maciek Sieczka <werchowyna@epf.pl>
To Michael Barton <michael.barton@asu.edu>
Cc Paolo Cavallini via RT <grass-bugs@intevation.de>, grass5@grass.itc.it
In-Reply-To <BFF7D578.7C20%michael.barton@asu.edu>
References <BFF7D578.7C20%michael.barton@asu.edu>
Content-Type text/plain
Date Sat, 21 Jan 2006 20:35:08 +0100
Message-Id <1137872108.18039.63.camel@localhost.localdomain>
Mime-Version 1.0
X-Mailer Evolution 2.2.1.1
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On sob, 2006-01-21 at 12:11 -0700, Michael Barton wrote:
> Maciek,
> 
> Again, the dialogs that pop up when you run a GRASS command are NOT a part
> of the dm/GIS Manager. They are generated from the C-code of the module (or
> the script code for shell scripts). If you want to report a bug or wish with
> one of these dialogs and get it fixed, don't report it as a dm bug. I agree
> that some of these could use better descriptions of options. Suggested text
> improvements would help those who maintain the relevant modules.
> 
> In this case, you need to report this as a bug for v.in.ascii--not d.m.

I have reanmed it yestarday, before you replied. Raed Yestarday I wrote:

> I'm renaming the report to "corrupted defaults and comments in GUI". 

> 
> Michael
> 
> 
> On 1/20/06 8:41 AM, "Maciek Sieczka via RT" <grass-bugs@intevation.de>
> wrote:
> 
> > Here's another command using the contents of manual for messing up the GUI
-
> > r.in.ascii. This one even inputs some nonsense default parameters into the
> > GUI, not only suggests them:
> > 
> > 'mult=1.0 'mult=1.0 or read from header'
> > 'nv=* or read from header'
> > 
> > Of course running the module with such defaults leads to a failure.
> > 
> > Maciek
> > 
> > P.S.
> > I'm renaming the report to "corrupted defaults and comments in GUI".
> > 
> > -------------------------------------------- Managed by Request Tracker
> > 
> 
> ___________________________
> Michael Barton, Professor of Anthropology
> School of Human Evolution & Social Change
> Arizona State University
> Tempe, AZ  85287
> 
> WWW - http://www.public.asu.edu/~cmbarton
> Phone: 480-965-6262
> Fax: 480-965-7671
> 
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5
> 


--------------------
Szukasz doświadczonej firmy poligraficznej? Zależy Ci na terminowości i atrakcyjnych
cenach?
Zapraszamy do nas!
http://www.foldruk.pl/


Fri, Jan 27 2006 11:18:51    Mail sent by msieczka  
another one: m.cogo
Wed, Jul 26 2006 18:14:46    User changed to tutey@o2.pl by msieczka  
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