While imporing data I am getting this error. Can any one help

518 views
Skip to first unread message

Ullas

unread,
Oct 17, 2013, 7:38:14 AM10/17/13
to car...@googlegroups.com
2013-10-17T11:06:03Z || Importing data from /tmp/20131017-9847-1r6clxd/tm_world_borders_simpl-0.3.shp
2013-10-17T11:06:03Z || Using database connection with {:adapter=>"postgres", :encoding=>"unicode", :host=>"localhost", :port=>5432, :database=>"cartodb_dev_user_1_db", :username=>"postgres", :user=>"development_cartodb_user_1"}
2013-10-17T11:06:03Z || ogr2ogr output:    ERROR 1: PQconnectdb failed.
invalid connection option "active_schema"

ERROR 1: PostgreSQL driver doesn't currently support database creation.
Please create database with the `createdb' command.
PostgreSQL driver failed to create PG:host=localhost port=5432 user=development_cartodb_user_1 dbname=cartodb_dev_user_1_db password=970e3909b5fbcc78e31d6e5af3d0813597fbaddddevelopment_cartodb_user_1 active_schema=cdb_importer

2013-10-17T11:06:03Z || ogr2ogr exit code: 256
2013-10-17T11:06:03Z || CartoDB::Importer2::LoadError

Lorenzo Planas

unread,
Oct 17, 2013, 8:52:48 AM10/17/13
to car...@googlegroups.com
Hi, which version of GDAL have you got? You would need 1.10 or higher.

You can check it by running ogr2ogr --version

$ ogr2ogr --version
GDAL 1.10.0, released 2013/04/24

Kind regards,

Lorenzo
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "cartodb" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cartodb+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages