Ticket #27457: error.txt

File error.txt, 2.4 KB (added by Prabhanshu Abhishek, 6 years ago)

Error on running python manage.py migrate

Line 
1Operations to perform:
2  Apply all migrations: admin, auth, contenttypes, sessions, shared
3Running migrations:
4  Applying shared.0003_auto_20161106_2043...Traceback (most recent call last):
5  File "manage.py", line 22, in <module>
6    execute_from_command_line(sys.argv)
7  File "/usr/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
8    utility.execute()
9  File "/usr/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute
10    self.fetch_command(subcommand).run_from_argv(self.argv)
11  File "/usr/lib/python3.5/site-packages/django/core/management/base.py", line 294, in run_from_argv
12    self.execute(*args, **cmd_options)
13  File "/usr/lib/python3.5/site-packages/django/core/management/base.py", line 345, in execute
14    output = self.handle(*args, **options)
15  File "/usr/lib/python3.5/site-packages/django/core/management/commands/migrate.py", line 204, in handle
16    fake_initial=fake_initial,
17  File "/usr/lib/python3.5/site-packages/django/db/migrations/executor.py", line 115, in migrate
18    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
19  File "/usr/lib/python3.5/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
20    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
21  File "/usr/lib/python3.5/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
22    state = migration.apply(state, schema_editor)
23  File "/usr/lib/python3.5/site-packages/django/db/migrations/migration.py", line 129, in apply
24    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
25  File "/usr/lib/python3.5/site-packages/django/db/migrations/operations/fields.py", line 84, in database_forwards
26    field,
27  File "/usr/lib/python3.5/site-packages/django/db/backends/sqlite3/schema.py", line 231, in add_field
28    self._remake_table(model, create_fields=[field])
29  File "/usr/lib/python3.5/site-packages/django/db/backends/sqlite3/schema.py", line 113, in _remake_table
30    self.effective_default(field)
31  File "/usr/lib/python3.5/site-packages/django/db/backends/sqlite3/schema.py", line 68, in quote_value
32    raise ValueError("Cannot quote parameter value %r of type %s" % (value, type(value)))
33ValueError: Cannot quote parameter value ['admin'] of type <class 'list'>
34
Back to Top