Ticket #367 (closed defect: worksforme)

Opened 6 years ago

Last modified 6 years ago

exceptions.FailedDryRun called incorrectly

Reported by: anonymous Owned by: andrew
Priority: major Milestone: 0.7
Component: commands Version: 0.6.2
Keywords: Cc:


$ ./manage.py migrate myapp --db-dry-run
Running migrations for myapp:
 - Migrating forwards to 0008_switch_from_auto_timestamp_to_default_timestamp.
 > myapp:0008_switch_from_auto_timestamp_to_default_timestamp
Traceback (most recent call last):
  File "./manage.py", line 14, in <module>
  File "core/management/__init__.py", line 438, in execute_manager
  File "core/management/__init__.py", line 379, in execute
  File "core/management/base.py", line 195, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "core/management/base.py", line 222, in execute
    output = self.handle(*args, **options)
  File "south/management/commands/migrate.py", line 102, in handle
    delete_ghosts = delete_ghosts,
  File "south/migration/__init__.py", line 177, in migrate_app
    success = migrator.migrate_many(target, workplan)
  File "south/migration/migrators.py", line 272, in migrate_many
    result = self.migrate(migration)
  File "south/migration/migrators.py", line 119, in migrate
    result = self.run(migration)
  File "south/migration/migrators.py", line 93, in run
    return self.run_migration(migration)
  File "south/migration/migrators.py", line 167, in run_migration
  File "south/migration/migrators.py", line 158, in _run_migration
    raise exceptions.FailedDryRun(sys.exc_info())
TypeError: __init__() takes exactly 3 arguments (2 given)

Change History

comment:1 Changed 6 years ago by andrew

  • Status changed from new to closed
  • Resolution set to worksforme
  • Milestone set to 0.7

The exception is correctly raised in trunk; you seem to have an older dev version. Closing as worksforme.

Note: See TracTickets for help on using tickets.