| 1 | Traceback (most recent call last):
|
|---|
| 2 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
|
|---|
| 3 | return self.cursor.execute(sql, params)
|
|---|
| 4 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 5 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/mysql/base.py", line 73, in execute
|
|---|
| 6 | return self.cursor.execute(query, args)
|
|---|
| 7 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 8 | File "/usr/local/lib/python3.11/site-packages/MySQLdb/cursors.py", line 179, in execute
|
|---|
| 9 | res = self._query(mogrified_query)
|
|---|
| 10 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 11 | File "/usr/local/lib/python3.11/site-packages/MySQLdb/cursors.py", line 330, in _query
|
|---|
| 12 | db.query(q)
|
|---|
| 13 | File "/usr/local/lib/python3.11/site-packages/MySQLdb/connections.py", line 255, in query
|
|---|
| 14 | _mysql.connection.query(self, query)
|
|---|
| 15 | MySQLdb.DataError: (1265, "Data truncated for column 'parent_id' at row 1")
|
|---|
| 16 |
|
|---|
| 17 | The above exception was the direct cause of the following exception:
|
|---|
| 18 |
|
|---|
| 19 | Traceback (most recent call last):
|
|---|
| 20 | File "/home/myproject/manage.py", line 10, in <module>
|
|---|
| 21 | execute_from_command_line(sys.argv)
|
|---|
| 22 | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
|
|---|
| 23 | utility.execute()
|
|---|
| 24 | File "/usr/local/lib/python3.11/site-packages/django/core/management/__init__.py", line 413, in execute
|
|---|
| 25 | self.fetch_command(subcommand).run_from_argv(self.argv)
|
|---|
| 26 | File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 354, in run_from_argv
|
|---|
| 27 | self.execute(*args, **cmd_options)
|
|---|
| 28 | File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 398, in execute
|
|---|
| 29 | output = self.handle(*args, **options)
|
|---|
| 30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 31 | File "/usr/local/lib/python3.11/site-packages/django/core/management/base.py", line 89, in wrapped
|
|---|
| 32 | res = handle_func(*args, **kwargs)
|
|---|
| 33 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 34 | File "/usr/local/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 244, in handle
|
|---|
| 35 | post_migrate_state = executor.migrate(
|
|---|
| 36 | ^^^^^^^^^^^^^^^^^
|
|---|
| 37 | File "/usr/local/lib/python3.11/site-packages/django/db/migrations/executor.py", line 117, in migrate
|
|---|
| 38 | state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
|
|---|
| 39 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 40 | File "/usr/local/lib/python3.11/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
|
|---|
| 41 | state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
|
|---|
| 42 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 43 | File "/usr/local/lib/python3.11/site-packages/django/db/migrations/executor.py", line 227, in apply_migration
|
|---|
| 44 | state = migration.apply(state, schema_editor)
|
|---|
| 45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 46 | File "/usr/local/lib/python3.11/site-packages/django/db/migrations/migration.py", line 126, in apply
|
|---|
| 47 | operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
|
|---|
| 48 | File "/usr/local/lib/python3.11/site-packages/django/db/migrations/operations/fields.py", line 244, in database_forwards
|
|---|
| 49 | schema_editor.alter_field(from_model, from_field, to_field)
|
|---|
| 50 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/base/schema.py", line 608, in alter_field
|
|---|
| 51 | self._alter_field(model, old_field, new_field, old_type, new_type,
|
|---|
| 52 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/base/schema.py", line 830, in _alter_field
|
|---|
| 53 | self.execute(
|
|---|
| 54 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/base/schema.py", line 145, in execute
|
|---|
| 55 | cursor.execute(sql, params)
|
|---|
| 56 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 98, in execute
|
|---|
| 57 | return super().execute(sql, params)
|
|---|
| 58 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 59 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 66, in execute
|
|---|
| 60 | return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
|
|---|
| 61 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 62 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
|
|---|
| 63 | return executor(sql, params, many, context)
|
|---|
| 64 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 65 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 79, in _execute
|
|---|
| 66 | with self.db.wrap_database_errors:
|
|---|
| 67 | File "/usr/local/lib/python3.11/site-packages/django/db/utils.py", line 90, in __exit__
|
|---|
| 68 | raise dj_exc_value.with_traceback(traceback) from exc_value
|
|---|
| 69 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
|
|---|
| 70 | return self.cursor.execute(sql, params)
|
|---|
| 71 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 72 | File "/usr/local/lib/python3.11/site-packages/django/db/backends/mysql/base.py", line 73, in execute
|
|---|
| 73 | return self.cursor.execute(query, args)
|
|---|
| 74 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 75 | File "/usr/local/lib/python3.11/site-packages/MySQLdb/cursors.py", line 179, in execute
|
|---|
| 76 | res = self._query(mogrified_query)
|
|---|
| 77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|---|
| 78 | File "/usr/local/lib/python3.11/site-packages/MySQLdb/cursors.py", line 330, in _query
|
|---|
| 79 | db.query(q)
|
|---|
| 80 | File "/usr/local/lib/python3.11/site-packages/MySQLdb/connections.py", line 255, in query
|
|---|
| 81 | _mysql.connection.query(self, query)
|
|---|
| 82 | django.db.utils.DataError: (1265, "Data truncated for column 'parent_id' at row 1")
|
|---|
| 83 | Applying djangocms_blog.0041_auto_20230720_1508...%
|
|---|