Ticket #367 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 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:


$ ./ 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 "./", line 14, in <module>
  File "core/management/", line 438, in execute_manager
  File "core/management/", line 379, in execute
  File "core/management/", line 195, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "core/management/", line 222, in execute
    output = self.handle(*args, **options)
  File "south/management/commands/", line 102, in handle
    delete_ghosts = delete_ghosts,
  File "south/migration/", line 177, in migrate_app
    success = migrator.migrate_many(target, workplan)
  File "south/migration/", line 272, in migrate_many
    result = self.migrate(migration)
  File "south/migration/", line 119, in migrate
    result =
  File "south/migration/", line 93, in run
    return self.run_migration(migration)
  File "south/migration/", line 167, in run_migration
  File "south/migration/", line 158, in _run_migration
    raise exceptions.FailedDryRun(sys.exc_info())
TypeError: __init__() takes exactly 3 arguments (2 given)


Change History

comment:1 Changed 4 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.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.