Instalación Letxuga

(probando postgresql)

Web del proyecto: https://bitbucket.org/enkiduCoop/letxuga

Artículos relacionados:

PREVIO: Instalación de requerimientos

sudo apt-get install python-pip postgresql postgresql-server-dev-all python2.7-dev postgresql-9.1-postgis postgis

PREVIO: Creación de template postgis

Como root corro esto para pasar al usuario postgres:

su - postgres

Luego esto:

createdb template_postgis -EUTF8
psql -d template_postgis -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql
psql -d template_postgis -f /usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql

Procedimiento de instalación

Sigo procedimiento de aquí: https://bitbucket.org/enkiduCoop/letxuga

1. Creo la base e instalo esquema:

createdb letxuga -EUTF8 -Ttemplate_postgis
psql -f /usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql -d letxuga

Me da el siguiente error:

psql:/usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_sys.sql:15137: \
ERROR:  current transaction is aborted, commands ignored until end of transaction block

Exportar a: PDF HTML TXT