[GRASS5] [bug #2576] (grass) WARNING: Cannot open driver 'dbname=sabine,'

Request Tracker grass-bugs at intevation.de
Mon Aug 16 09:01:54 EDT 2004


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

hello, 
 
i read data from a pgsql database (db.connect driver=pg database="host=..., 
dbname=rsdb, user=sabine, password=..."), imported them with v.in.ascii where 
the attributes are stored to the pgsql database with a different dbname 
(db.connect driver=pg database="host=..., dbname=rsdb, user=sabine, 
password=..." 
 
when i have a look to the database, the data are stored propper. hence, 
writing works. but i can't work with the data (v.surf.idw d.what.vect ... 
nothing works): 
 
GRASS 5.7.0 > echo "..." | db.select -c | v.in.ascii -z \ 
  out=temp200007311800 xcol=1 ycol=2 zcol=3 catcol=0 \  
  columns='x float, y float, z int, parameter int, data float, \ 
  refper int, name varchar(20)' 
WARNING: Vector 'temp200007311800' already exists and will be overwritten. 
WARNING: coor files of vector 'temp200007311800 at sabine' is larger than it 
         should be (14 bytes excess). 
Maximum input row length: 69 
Maximum number of columns: 7 
Minimum number of columns: 7 
column: 1  type: double 
column: 2  type: double 
column: 3  type: integer 
column: 4  type: integer 
column: 5  type: double 
column: 6  type: integer 
column: 7  type: string  length: 19 
Building topology ... 
8 primitives registered       
0 areas built      0% 
0 isles built 
Topology was built.                    
Number of nodes     :   8 
Number of primitives:   8 
Number of points    :   8 
Number of lines     :   0 
Number of boundaries:   0 
Number of centroids :   0 
Number of areas     :   0 
Number of isles     :   0 
                                                                                 
Mapset <sabine> in Location <oetztal>    
GRASS 5.7.0 > g.list vect 
---------------------------------------------- 
vector files available in mapset sabine: 
temp200007311800  temp200012311800 
 
---------------------------------------------- 
                                                                                Mapset 
<sabine> in Location <oetztal>                                           GRASS 
5.7.0 > v.surf.idw in=temp200007311800 out=temp200007311800 fi=5 
v.surf.idw: 
WARNING: Vector used instead of sites. 
dbname=sabine,: no such driver available 
WARNING: Cannot open driver 'dbname=sabine,' 
ERROR: Cannot open database host=..., by driver dbname=sabine, 
                                                                                Mapset 
<sabine> in Location <oetztal>                                           GRASS 
5.7.0 > g.remove vect=temp200007311800 
REMOVE [temp200007311800] 
dbname=sabine,: no such driver available 
WARNING: Cannot open driver 'dbname=sabine,' 
WARNING: Cannot open database 'host=...,' by driver 
         'dbname=sabine,' 
WARNING: Cannot get info if table 'temp200007311800' linked to vector 
         exists. 
WARNING: Cannot delete vector 
                                                                                Mapset 
<sabine> in Location <oetztal>                                           GRASS 
5.7.0 >  
 
 
sabine 


--- Headers Follow ---

>From csab7771 at uibk.ac.at  Mon Aug 16 15:01:54 2004
Return-Path: <csab7771 at uibk.ac.at>
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 442AE139CA
	for <grass-bugs at lists.intevation.de>; Mon, 16 Aug 2004 15:01:54 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by mail.intevation.de (Postfix) with ESMTP id BE4773723F
	for <grass-bugs at lists.intevation.de>; Mon, 16 Aug 2004 15:01:54 +0200 (CEST)
Received: from smtp.uibk.ac.at (lmr1.uibk.ac.at [138.232.1.142])
	by mail.intevation.de (Postfix) with ESMTP id 91F9F36CD9
	for <grass-bugs at intevation.de>; Mon, 16 Aug 2004 15:01:53 +0200 (CEST)
Received: from localhost (lwm2.uibk.ac.at [138.232.1.161])
	by smtp.uibk.ac.at (8.12.10/8.12.10/F1) with ESMTP id i7GD1mvD012607
	for <grass-bugs at intevation.de>; Mon, 16 Aug 2004 15:01:48 +0200
Received: from pc151-c707.uibk.ac.at (pc151-c707.uibk.ac.at [138.232.34.151]) 
	by web-mail2.uibk.ac.at (IMP) with HTTP 
	for <csab7771 at mail2.uibk.ac.at>; Mon, 16 Aug 2004 15:01:48 +0200
Message-ID: <1092661308.4120b03c8ed12 at web-mail2.uibk.ac.at>
Date: Mon, 16 Aug 2004 15:01:48 +0200
From: Sabine Grabner <csab7771 at uibk.ac.at>
To: grass-bugs at intevation.de
Subject: WARNING: Cannot open driver 'dbname=sabine,'
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.2.1
X-Originating-IP: 138.232.34.151
X-Forwarded-For: 
X-Scanned-By: MIMEDefang 2.42 at uibk.ac.at
X-Spam-Status: No, hits=-3.9 tagged_above=-999.0 required=3.0 tests=BAYES_00,
	FROM_ENDS_IN_NUMS
X-Spam-Level: 

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




More information about the grass-dev mailing list