Tuesday, April 24, 2012

problem with syncdb in geodjango tutorial

hi,

I am following the geodjango tutorial, and when doing syncdb, I get the
following error:

[lawgon@xlquest geodjango]$ python manage.py syncdb
Creating tables ...
Creating table world_worldborder
Installing custom SQL ...
Installing indexes ...
Failed to install index for world.WorldBorder model:
AddGeometryColumns() - invalid SRID
CONTEXT: SQL statement "SELECT AddGeometryColumn('','',$1,$2,$3,$4,$5)"
PL/pgSQL function "addgeometrycolumn" line 5 at SQL statement

am using postgis on Fedora 16 and django trunk

--
regards
Kenneth Gonsalves

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment