Ticket #24298: migrate_failure.log

File migrate_failure.log, 3.2 KB (added by Thomas Recouvreux, 7 years ago)
Line 
1$ ./manage.py migrate --database=mysite -v2 > migrate_failure.log
2Traceback (most recent call last):
3  File "./manage.py", line 10, in <module>
4    execute_from_command_line(sys.argv)
5  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
6    utility.execute()
7  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/core/management/__init__.py", line 377, in execute
8    self.fetch_command(subcommand).run_from_argv(self.argv)
9  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/core/management/base.py", line 288, in run_from_argv
10    self.execute(*args, **options.__dict__)
11  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/core/management/base.py", line 338, in execute
12    output = self.handle(*args, **options)
13  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/core/management/commands/migrate.py", line 165, in handle
14    emit_post_migrate_signal(created_models, self.verbosity, self.interactive, connection.alias)
15  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/core/management/sql.py", line 268, in emit_post_migrate_signal
16    using=db)
17  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/dispatch/dispatcher.py", line 198, in send
18    response = receiver(signal=self, sender=sender, **named)
19  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/contrib/auth/management/__init__.py", line 64, in create_permissions
20    if not is_latest_migration_applied('auth'):
21  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/db/migrations/loader.py", line 292, in is_latest_migration_applied
22    loader = MigrationLoader(connection)
23  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/db/migrations/loader.py", line 49, in __init__
24    self.build_graph()
25  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/db/migrations/loader.py", line 184, in build_graph
26    self.applied_migrations = recorder.applied_migrations()
27  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/db/migrations/recorder.py", line 59, in applied_migrations
28    self.ensure_schema()
29  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/db/migrations/recorder.py", line 49, in ensure_schema
30    if self.Migration._meta.db_table in self.connection.introspection.get_table_list(self.connection.cursor()):
31  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/db/backends/__init__.py", line 165, in cursor
32    cursor = self.make_debug_cursor(self._cursor())
33  File "/home/thomas/dev/test_dj_migrate_174/venv/lib/python3.4/site-packages/django/db/backends/dummy/base.py", line 18, in complain
34    raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
35django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
36
Back to Top