Details Ticket 2817


Comment | Reply | Take | Open


Serial Number 2817
Subject v.to.db: say what "Database connection not defined for field <1>" means
Area none
Queue grass
Requestors jidanni@jidanni.org
Owner none
Status resolved
Last User Contact Thu Dec 9 15:18:22 2004 (4 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Thu Dec 9 15:18:29 2004 (4 yr ago)
Created Thu Dec 9 00:15:35 2004 (4 yr ago)

Transaction History Ticket 2817


Thu, Dec 9 2004 00:15:35    Request created by jidanni@jidanni.org  
Return-Path <jidanni@jidanni.org>
Delivered-To grass-bugs@lists.intevation.de
To grass-bugs@intevation.de
Subject v.to.db: say what "Database connection not defined for field <1>" means
From Dan Jacobson <jidanni@jidanni.org>
Date Thu, 09 Dec 2004 06:19:05 +0800
Message-ID <87is7cxwkm.fsf@jidanni.org>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
In v.to.db/description.html why don't you add:

If you get
  ERROR: Database connection not defined for field <1>
then you should do [...........]


Thu, Dec 9 2004 15:18:22    Mail sent by neteler@itc.it  
Return-Path <neteler@itc.it>
Delivered-To grass-bugs@lists.intevation.de
Date Thu, 9 Dec 2004 15:18:22 +0100
From Markus Neteler <neteler@itc.it>
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #2817] (grass) v.to.db: say what "Database connection not defined for field <1>" means
Message-ID <20041209141822.GK4854@thuille.itc.it>
Mail-Followup-To Request Tracker <grass-bugs@intevation.de>, grass5@grass.itc.it
References <20041208231536.023B1102C54@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20041208231536.023B1102C54@lists.intevation.de>
User-Agent Mutt/1.4.1i
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Thu, Dec 09, 2004 at 12:15:36AM +0100, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=2817
> -------------------------------------------------------------------------
> 
> In v.to.db/description.html why don't you add:
> 
> If you get
>   ERROR: Database connection not defined for field <1>
> then you should do [...........]

For now I have extended the error message to

grass57/vector/v.to.db > grep 'Database connection not defined' *
query.c:        G_fatal_error("Database connection not defined for field <%d>.
Use v.db.connect first.", options.qfield);
update.c:         G_fatal_error("Database connection not defined for field <%d>.
Use v.db.connect first.", options.field);

Markus


Thu, Dec 9 2004 15:18:29    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

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