Advertisement
Guest User

Untitled

a guest
Mar 28th, 2014
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. Running migrations for gis:
  2. - Migrating forwards to 0003_geodata.
  3. > gis:0003_geodata
  4. 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 "[]"
  5. DEBUG:south:south execute "CREATE INDEX "gis_geodata_layer" ON "gis_geodata" ("layer");" with params "[]"
  6. DEBUG:south:south execute "CREATE INDEX "gis_geodata_object" ON "gis_geodata" ("object");" with params "[]"
  7. DEBUG:south:south execute "SELECT AddGeometryColumn('gis_geodata', 'data', 4326, 'GEOMETRY', 2);" with params "[]"
  8. Traceback (most recent call last):
  9. File "manage.py", line 45, in <module>
  10. execute_from_command_line(sys.argv)
  11. File "/opt/noc/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
  12. utility.execute()
  13. File "/opt/noc/lib/python2.7/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.7/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.7/site-packages/django/core/management/base.py", line 232, in execute
  18. output = self.handle(*args, **options)
  19. File "/opt/noc/lib/python2.7/site-packages/south/management/commands/migrate.py", line 105, in handle
  20. ignore_ghosts = ignore_ghosts,
  21. File "/opt/noc/lib/python2.7/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.7/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.7/site-packages/south/migration/migrators.py", line 292, in migrate_many
  26. result = self.migrate(migration, database)
  27. File "/opt/noc/lib/python2.7/site-packages/south/migration/migrators.py", line 125, in migrate
  28. result = self.run(migration)
  29. File "/opt/noc/lib/python2.7/site-packages/south/migration/migrators.py", line 99, in run
  30. return self.run_migration(migration)
  31. File "/opt/noc/lib/python2.7/site-packages/south/migration/migrators.py", line 82, in run_migration
  32. south.db.db.execute_deferred_sql()
  33. File "/opt/noc/lib/python2.7/site-packages/south/db/generic.py", line 184, in execute_deferred_sql
  34. self.execute(sql)
  35. File "/opt/noc/lib/python2.7/site-packages/south/db/generic.py", line 150, in execute
  36. cursor.execute(sql, params)
  37. File "/opt/noc/lib/python2.7/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: ОШИБКА: слишком много параметров для RAISE
  40. CONTEXT: функция PL/pgSQL "addgeometrycolumn", строка 106, оператор RAISE
  41. SQL statement "SELECT AddGeometryColumn('','',$1,$2,$3,$4,$5)"
  42. функция PL/pgSQL "addgeometrycolumn", строка 5, оператор SQL-оператор
  43.  
  44. upgrade-user: : migrate failed
  45. Terminating
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement