[GRASS5] [bug #3181] (grass) Sorry, <catcol> is not a valid parameter

Request Tracker grass-bugs at intevation.de
Sun Apr 24 18:16:34 EDT 2005


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

$ v.in.ascii catcol=0 out=s11 columns='x double,y double,contno integer'
  Sorry, <catcol> is not a valid parameter
OK, then remove it from v.in.ascii.html.

P.S.,
v.net.path -s makes many segments but only writes one database line. Bad?

I notice one must use format=standard if one want v.out.ascii to work.
GRASS 6.0.0beta2 (2005)

$ v.to.db help
  -s   print only sql statements
Say "only print sql statements" perhaps.

On v.db.connect.html, exammples like
        v.db.connect map=vectormap table=table field=1 key=cat driver=dbf
        database='$GISDBASE/$LOCATION_NAME/$MAPSET/dbf'
should mention that all these are the default values...


PS. Seg fault:
$ v.to.db map=m5 option=length type=line col=linelength units=me
DBMI-DBF driver error:
Column 'cat' not found
Error in db_open_select_cursor()

Updating database ...   12% *** [KK] Segmentation fault




Let's try your examples on  db.execute.html:

$ echo 'create table soils ("cat" int, "soiltype" text)' | db.execute
dbmi: Protocol error (invalid table/column name or unsupported column
type)
ERROR: Error while executing: "create table soils ("cat" int,
"soiltype"
       text)
       "

Oh how dumb, so this works
 echo 'create table soils (cat int, soiltype int);' | db.execute
So remove the quote marks!  Check the whole page.


--- Headers Follow ---

>From jidanni at jidanni.org  Mon Apr 25 00:16:34 2005
Return-Path: <jidanni at jidanni.org>
Delivered-To: grass-bugs at lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
	by lists.intevation.de (Postfix) with ESMTP id 90E701005A8
	for <grass-bugs at lists.intevation.de>; Mon, 25 Apr 2005 00:16:34 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by mail.intevation.de (Postfix) with ESMTP id 2744736CDC
	for <grass-bugs at lists.intevation.de>; Mon, 25 Apr 2005 00:16:34 +0200 (CEST)
Received: from frodo.hserus.net (frodo.hserus.net [204.74.68.40])
	by mail.intevation.de (Postfix) with ESMTP id 6E0A336CDB
	for <grass-bugs at intevation.de>; Mon, 25 Apr 2005 00:16:33 +0200 (CEST)
Received: from tc218-187-76-202.2-4.dynamic.apol.com.tw ([218.187.76.202]:32892 helo=jidanni1)
	by frodo.hserus.net with esmtpsa 
	(Cipher TLSv1:AES256-SHA:256) (Exim 4.50 #1)
	id 1DPpOp-000EoJ-8B by authid <jidanni> with plain
	for <grass-bugs at intevation.de>; Mon, 25 Apr 2005 03:46:26 +0530
To: grass-bugs at intevation.de
Subject: Sorry, <catcol> is not a valid parameter
From: Dan Jacobson <jidanni at jidanni.org>
Date: Sun, 24 Apr 2005 13:21:52 +0800
Message-ID: <87r7h07nrj.fsf at jidanni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Status: No, hits=-4.2 tagged_above=-999.0 required=3.0 tests=BAYES_00,
	DATE_IN_PAST_12_24
X-Spam-Level: 

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list