#25956: Unexpected fake_initial keyword thrown on migration ----------------------------+-------------------- Reporter: yuvadm | Owner: nobody Type: Bug | Status: new Component: Migrations | Version: 1.8 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------+-------------------- We've recently migrated a Django 1.7 project to 1.8.7. When running migrations we get the following error:
{{{ Running migrations: Traceback (most recent call last): File "manage.py", line 11, in <module> execute_from_command_line(sys.argv) File "/opt/python/run/venv/local/lib/python2.7/site- packages/django/core/management/__init__.py", line 354, in execute_from_command_line utility.execute() File "/opt/python/run/venv/local/lib/python2.7/site- packages/django/core/management/__init__.py", line 346, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/opt/python/run/venv/local/lib/python2.7/site- packages/django/core/management/base.py", line 394, in run_from_argv self.execute(*args, **cmd_options) File "/opt/python/run/venv/local/lib/python2.7/site- packages/django/core/management/base.py", line 445, in execute output = self.handle(*args, **options) File "/opt/python/run/venv/local/lib/python2.7/site- packages/django/core/management/commands/migrate.py", line 222, in handle executor.migrate(targets, plan, fake=fake, fake_initial=fake_initial) TypeError: migrate() got an unexpected keyword argument 'fake_initial' }}} This happens even on a clean DB. We tried disabling all third party apps, as well as all our internal apps, and no dice. The weird thing is this happens only with DEBUG=False, while running migrate with DEBUG=True succeeds. There doesn't seem to be any mention of this traceback up until now anywhere not in the tickets and not even when googling this error. How can we further debug this problem? -- Ticket URL: <https://code.djangoproject.com/ticket/25956> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/049.36b13fb79b5080794e7904cffdef0693%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.