Advertisement
Guest User

Untitled

a guest
Mar 20th, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.59 KB | None | 0 0
  1. DEBUG:south:south execute "SELECT AddGeometryColumn('gis_geodata', 'data', 4326, 'GEOMETRY', 2);" with params "[]"
  2. Traceback (most recent call last):
  3. File "manage.py", line 45, in <module>
  4. execute_from_command_line(sys.argv)
  5. File "/opt/noc/lib/python2.6/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
  6. utility.execute()
  7. File "/opt/noc/lib/python2.6/site-packages/django/core/management/__init__.py", line 382, in execute
  8. self.fetch_command(subcommand).run_from_argv(self.argv)
  9. File "/opt/noc/lib/python2.6/site-packages/django/core/management/base.py", line 196, in run_from_argv
  10. self.execute(*args, **options.__dict__)
  11. File "/opt/noc/lib/python2.6/site-packages/django/core/management/base.py", line 232, in execute
  12. output = self.handle(*args, **options)
  13. File "/opt/noc/lib/python2.6/site-packages/south/management/commands/migrate.py", line 105, in handle
  14. ignore_ghosts = ignore_ghosts,
  15. File "/opt/noc/lib/python2.6/site-packages/south/migration/__init__.py", line 191, in migrate_app
  16. success = migrator.migrate_many(target, workplan, database)
  17. File "/opt/noc/lib/python2.6/site-packages/south/migration/migrators.py", line 221, in migrate_many
  18. result = migrator.__class__.migrate_many(migrator, target, migrations, database)
  19. File "/opt/noc/lib/python2.6/site-packages/south/migration/migrators.py", line 292, in migrate_many
  20. result = self.migrate(migration, database)
  21. File "/opt/noc/lib/python2.6/site-packages/south/migration/migrators.py", line 125, in migrate
  22. result = self.run(migration)
  23. File "/opt/noc/lib/python2.6/site-packages/south/migration/migrators.py", line 99, in run
  24. return self.run_migration(migration)
  25. File "/opt/noc/lib/python2.6/site-packages/south/migration/migrators.py", line 82, in run_migration
  26. south.db.db.execute_deferred_sql()
  27. File "/opt/noc/lib/python2.6/site-packages/south/db/generic.py", line 184, in execute_deferred_sql
  28. self.execute(sql)
  29. File "/opt/noc/lib/python2.6/site-packages/south/db/generic.py", line 150, in execute
  30. cursor.execute(sql, params)
  31. File "/opt/noc/lib/python2.6/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 52, in execute
  32. return self.cursor.execute(query, args)
  33. django.db.utils.DatabaseError: too many parameters specified for RAISE
  34. CONTEXT: PL/pgSQL function "addgeometrycolumn" line 85 at RAISE
  35. SQL statement "SELECT AddGeometryColumn('','', $1 , $2 , $3 , $4 , $5 , $6 )"
  36. PL/pgSQL function "addgeometrycolumn" line 4 at SQL statement
  37.  
  38. upgrade-user: 42: migrate failed
  39. Terminating
  40. upgrade complete
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement