Changes between Version 1 and Version 2 of Ticket #27764


Ignore:
Timestamp:
Jan 23, 2017, 6:58:51 AM (8 years ago)
Author:
Alexandru Mărășteanu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27764 – Description

    v1 v2  
    6060  File "manage.py", line 10, in <module>
    6161    execute_from_command_line(sys.argv)
    62   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
     62  File "/djbug/lib/python2.7/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    6363    utility.execute()
    64   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
     64  File "/djbug/lib/python2.7/site-packages/django/core/management/__init__.py", line 359, in execute
    6565    self.fetch_command(subcommand).run_from_argv(self.argv)
    66   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/core/management/base.py", line 294, in run_from_argv
     66  File "/djbug/lib/python2.7/site-packages/django/core/management/base.py", line 294, in run_from_argv
    6767    self.execute(*args, **cmd_options)
    68   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/core/management/base.py", line 345, in execute
     68  File "/djbug/lib/python2.7/site-packages/django/core/management/base.py", line 345, in execute
    6969    output = self.handle(*args, **options)
    70   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 204, in handle
     70  File "/djbug/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 204, in handle
    7171    fake_initial=fake_initial,
    72   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/migrations/executor.py", line 119, in migrate
     72  File "/djbug/lib/python2.7/site-packages/django/db/migrations/executor.py", line 119, in migrate
    7373    state = self._migrate_all_backwards(plan, full_plan, fake=fake)
    74   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/migrations/executor.py", line 194, in _migrate_all_backwards
     74  File "/djbug/lib/python2.7/site-packages/django/db/migrations/executor.py", line 194, in _migrate_all_backwards
    7575    self.unapply_migration(states[migration], migration, fake=fake)
    76   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/migrations/executor.py", line 264, in unapply_migration
     76  File "/djbug/lib/python2.7/site-packages/django/db/migrations/executor.py", line 264, in unapply_migration
    7777    state = migration.unapply(state, schema_editor)
    78   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/migrations/migration.py", line 178, in unapply
     78  File "/djbug/lib/python2.7/site-packages/django/db/migrations/migration.py", line 178, in unapply
    7979    operation.database_backwards(self.app_label, schema_editor, from_state, to_state)
    80   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/migrations/operations/fields.py", line 153, in database_backwards
     80  File "/djbug/lib/python2.7/site-packages/django/db/migrations/operations/fields.py", line 153, in database_backwards
    8181    schema_editor.add_field(from_model, to_model._meta.get_field(self.name))
    82   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/backends/postgresql/schema.py", line 21, in add_field
     82  File "/djbug/lib/python2.7/site-packages/django/db/backends/postgresql/schema.py", line 21, in add_field
    8383    super(DatabaseSchemaEditor, self).add_field(model, field)
    84   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/backends/base/schema.py", line 409, in add_field
     84  File "/djbug/lib/python2.7/site-packages/django/db/backends/base/schema.py", line 409, in add_field
    8585    self.execute(sql, params)
    86   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/backends/base/schema.py", line 112, in execute
     86  File "/djbug/lib/python2.7/site-packages/django/db/backends/base/schema.py", line 112, in execute
    8787    cursor.execute(sql, params)
    88   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/backends/utils.py", line 79, in execute
     88  File "/djbug/lib/python2.7/site-packages/django/db/backends/utils.py", line 79, in execute
    8989    return super(CursorDebugWrapper, self).execute(sql, params)
    90   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
     90  File "/djbug/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
    9191    return self.cursor.execute(sql, params)
    92   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
     92  File "/djbug/lib/python2.7/site-packages/django/db/utils.py", line 94, in __exit__
    9393    six.reraise(dj_exc_type, dj_exc_value, traceback)
    94   File "/Users/alexei/.virtualenvs/djbug/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
     94  File "/djbug/lib/python2.7/site-packages/django/db/backends/utils.py", line 64, in execute
    9595    return self.cursor.execute(sql, params)
    9696django.db.utils.ProgrammingError: column "foo_ptr_id" of relation "foo_bar" already exists
Back to Top