Advertisement
Guest User

Untitled

a guest
Feb 11th, 2014
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. > gis:0003_geodata
  2. DEBUG:south:south execute "CREATE TABLE "gis_geodata" ("id" serial NOT NULL PRIMARY KEY, "layer" varchar(36) NOT NULL, "label" varchar(64) NULL, "object" varchar(24) NOT NULL);" with params "[]"
  3. DEBUG:south:south execute "CREATE INDEX "gis_geodata_layer" ON "gis_geodata" ("layer");" with params "[]"
  4. DEBUG:south:south execute "CREATE INDEX "gis_geodata_object" ON "gis_geodata" ("object");" with params "[]"
  5. DEBUG:south:south execute "SELECT AddGeometryColumn('gis_geodata', 'data', 4326, 'GEOMETRY', 2);" with params "[]"
  6. DEBUG:south:south execute "ALTER TABLE "gis_geodata" ALTER "data" SET NOT NULL;" with params "[]"
  7. DEBUG:south:south execute "CREATE INDEX "gis_geodata_data_id" ON "gis_geodata" USING GIST ( "data" GIST_GEOMETRY_OPS );" with params "[]"
  8. Traceback (most recent call last):
  9. File "manage.py", line 44, in <module>
  10. execute_from_command_line(sys.argv)
  11. File "/opt/noc/lib/python2.6/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
  12. utility.execute()
  13. File "/opt/noc/lib/python2.6/site-packages/django/core/management/__init__.py", line 382, in execute
  14. self.fetch_command(subcommand).run_from_argv(self.argv)
  15. File "/opt/noc/lib/python2.6/site-packages/django/core/management/base.py", line 196, in run_from_argv
  16. self.execute(*args, **options.__dict__)
  17. File "/opt/noc/lib/python2.6/site-packages/django/core/management/base.py", line 232, in execute
  18. output = self.handle(*args, **options)
  19. File "/opt/noc/lib/python2.6/site-packages/south/management/commands/migrate.py", line 105, in handle
  20. ignore_ghosts = ignore_ghosts,
  21. File "/opt/noc/lib/python2.6/site-packages/south/migration/__init__.py", line 191, in migrate_app
  22. success = migrator.migrate_many(target, workplan, database)
  23. File "/opt/noc/lib/python2.6/site-packages/south/migration/migrators.py", line 221, in migrate_many
  24. result = migrator.__class__.migrate_many(migrator, target, migrations, database)
  25. File "/opt/noc/lib/python2.6/site-packages/south/migration/migrators.py", line 292, in migrate_many
  26. result = self.migrate(migration, database)
  27. File "/opt/noc/lib/python2.6/site-packages/south/migration/migrators.py", line 125, in migrate
  28. result = self.run(migration)
  29. File "/opt/noc/lib/python2.6/site-packages/south/migration/migrators.py", line 99, in run
  30. return self.run_migration(migration)
  31. File "/opt/noc/lib/python2.6/site-packages/south/migration/migrators.py", line 82, in run_migration
  32. south.db.db.execute_deferred_sql()
  33. File "/opt/noc/lib/python2.6/site-packages/south/db/generic.py", line 184, in execute_deferred_sql
  34. self.execute(sql)
  35. File "/opt/noc/lib/python2.6/site-packages/south/db/generic.py", line 150, in execute
  36. cursor.execute(sql, params)
  37. File "/opt/noc/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
  38. return self.cursor.execute(query, args)
  39. django.db.utils.DatabaseError: operator class "gist_geometry_ops" does not exist for access method "gist"
  40.  
  41. upgrade-user: 42: migrate failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement