[GRASS5] [bug #2817] (grass) v.to.db: say what "Database connection not defined for field <1>" means

Markus Neteler neteler at itc.it
Thu Dec 9 09:18:22 EST 2004


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




More information about the grass-dev mailing list