Skip to content

Instantly share code, notes, and snippets.

@santiagobasulto
Created August 29, 2012 17:31
Show Gist options
  • Select an option

  • Save santiagobasulto/3515910 to your computer and use it in GitHub Desktop.

Select an option

Save santiagobasulto/3515910 to your computer and use it in GitHub Desktop.
Running migrations for routes:
- Migrating forwards to 0015_auto__chg_field_route_distance_in_meters.
> routes:0010_auto__unify_route_data
> routes:0011_unify_route_data
- Migration 'routes:0011_unify_route_data' is marked for no-dry-run.
! Error found during real run of migration! Aborting.
! Since you have a database that does not support running
! schema-altering statements in transactions, we have had
! to leave it in an interim state between migrations.
! You *might* be able to recover with: (migration cannot be dry-run; cannot discover commands)
! The South developers regret this has happened, and would
! like to gently persuade you to consider a slightly
! easier-to-deal-with DBMS (one that supports DDL transactions)
! NOTE: The error which caused the migration to fail is further up.
Error in migration: routes:0011_unify_route_data
Traceback (most recent call last):
File "athlete/src/manage.py", line 19, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python2.7/dist-packages/south/management/commands/migrate.py", line 107, in handle
ignore_ghosts = ignore_ghosts,
File "/usr/local/lib/python2.7/dist-packages/south/migration/__init__.py", line 219, in migrate_app
success = migrator.migrate_many(target, workplan, database)
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 235, in migrate_many
result = migrator.__class__.migrate_many(migrator, target, migrations, database)
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 310, in migrate_many
result = self.migrate(migration, database)
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 133, in migrate
result = self.run(migration)
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 107, in run
return self.run_migration(migration)
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 81, in run_migration
migration_function()
File "/usr/local/lib/python2.7/dist-packages/south/migration/migrators.py", line 57, in <lambda>
return (lambda: direction(orm))
File "/home/ubuntu/athlete/src/athlete/routes/migrations/0011_unify_route_data.py", line 46, in forwards
location.name=geo.get_name_for_location(location.lat, location.lng)
File "/home/ubuntu/athlete/src/athlete/util/geo.py", line 125, in get_name_for_location
raise ReverseGeocodeError('Failed to reverse geocode this location.')
athlete.util.geo.ReverseGeocodeError: Failed to reverse geocode this location.
The last command failed. Exiting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment