[GRASS-user] t.create error: Unable to connect to psycopg2 database: newdb

RichardCooper richtcooper at hotmail.com
Sat May 6 06:45:27 PDT 2017


Replying somewhat late to my query last year, but I'm still getting the same
error with regard to using t.create with a PostgreSQL database connection
with GRASS 7.2.0

t.connect driver=pg database=grasscldb                                          
(Sat May  6 20:36:01 2017) Command finished (0 sec)                             
(Sat May  6 20:36:08 2017)                                                      
t.connect -p driver=pg database=grasscldb                                       
driver:pg
database:grasscldb
(Sat May  6 20:36:08 2017) Command finished (0 sec)                             

t.create --overwrite output=cahpc_test_strd temporaltype=relative
semantictype=max title=title test description=descr test
ERROR: Unable to connect to psycopg2 database: grasscldb
Exception: "missing "=" after "grasscldb" in connection info string
"
Please use t.connect to set a read- and writable temporal database backend
(Sat May  6 20:37:36 2017) Command finished (0 sec)    
          
System Info                                                                     
GRASS version: 7.2.0                                                            
GRASS SVN revision: exported                                                    
Build date: 2017-04-07                                                          
Build platform: x86_64-pc-linux-gnu                                             
GDAL: 1.11.2                                                                    
PROJ.4: 4.9.0                                                                   
GEOS: 3.4.2                                                                     
SQLite: 3.8.2                                                                   
Python: 2.7.6                                                                   
wxPython: 2.8.12.1                                                              
Platform: Linux-3.13.0-95-generic-x86_64-with-LinuxMint-17.1-rebecca  



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/t-create-error-Unable-to-connect-to-psycopg2-database-newdb-tp5296563p5319598.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list