I experienced something like that a few weeks ago. Is windows your OS?
Any way, I just edited the VAR file in my mapset to remove the last two lines:
schema:(null)
group:(null)

It worked the next time I opened GRASS or QGIS in that mapset.



----- Original Message ----- From: "Salvator*eL*arosa" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, December 01, 2007 5:26 PM
Subject: Re: [GRASS-user] GRASS6.2.1+QGIS0.9_db.connect





Markus Neteler wrote:



what does
db.connect -p
report  (print current settings)?

You could set to a different driver:
http://grass.itc.it/grass63/manuals/html63_user/db.connect.html

Markus


Thanks for reply

db.connect -p:

driver:pg
database:host=localhost,dbname=cms
schema:public
group:(null)

I tried to change to:

driver:dbf
database:$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
schema:(null)
group:(null)

but import module get me this error:


Table '(null).bacini' linked to vector did not exist.
Layer: bacini
DBMI-DBF driver error:
SQL parser error in statement:
create table (null).bacini (cat integer, ID double precision, GEOMETRY_S
varchar ( 254 ), AREE varchar ( 254 ), NOME varchar ( 254 ))
Error in db_execute_immediate()


Cannot create table: create table (null).bacini (cat integer, ID double
precision, GEOMETRY_S varchar ( 254 ), AREE varchar ( 254 ), NOME varchar (
254 ))

What you think about it?



--
View this message in context: http://www.nabble.com/GRASS6.2.1%2BQGIS0.9_db.connect-tf4928891.html#a14110345
Sent from the Grass - Users mailing list archive at Nabble.com.

_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user


_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to