Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Running migrations:
- Applying users.0082_auto_20190907_1858...Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 64, in execute
- return self.cursor.execute(sql, params)
- File "/usr/lib/python3/dist-packages/django/db/backends/mysql/base.py", line 101, in execute
- return self.cursor.execute(query, args)
- File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 250, in execute
- self.errorhandler(self, exc, value)
- File "/usr/lib/python3/dist-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler
- raise errorvalue
- File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 247, in execute
- res = self._query(query)
- File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 411, in _query
- rowcount = self._do_query(q)
- File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 374, in _do_query
- db.query(q)
- File "/usr/lib/python3/dist-packages/MySQLdb/connections.py", line 292, in query
- _mysql.connection.query(self, query)
- _mysql_exceptions.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1")
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "./manage.py", line 10, in <module>
- execute_from_command_line(sys.argv)
- File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
- utility.execute()
- File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 356, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 283, in run_from_argv
- self.execute(*args, **cmd_options)
- File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 330, in execute
- output = self.handle(*args, **options)
- File "/usr/lib/python3/dist-packages/django/core/management/commands/migrate.py", line 204, in handle
- fake_initial=fake_initial,
- File "/usr/lib/python3/dist-packages/django/db/migrations/executor.py", line 115, in migrate
- state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
- File "/usr/lib/python3/dist-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
- state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
- File "/usr/lib/python3/dist-packages/django/db/migrations/executor.py", line 244, in apply_migration
- state = migration.apply(state, schema_editor)
- File "/usr/lib/python3/dist-packages/django/db/migrations/migration.py", line 129, in apply
- operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
- File "/usr/lib/python3/dist-packages/django/db/migrations/operations/fields.py", line 221, in database_forwards
- schema_editor.alter_field(from_model, from_field, to_field)
- File "/usr/lib/python3/dist-packages/django/db/backends/base/schema.py", line 531, in alter_field
- old_db_params, new_db_params, strict)
- File "/usr/lib/python3/dist-packages/django/db/backends/base/schema.py", line 706, in _alter_field
- params,
- File "/usr/lib/python3/dist-packages/django/db/backends/base/schema.py", line 136, in execute
- cursor.execute(sql, params)
- cursor.execute(sql, params)
- File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 79, in execute
- return super(CursorDebugWrapper, self).execute(sql, params)
- File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 64, in execute
- return self.cursor.execute(sql, params)
- File "/usr/lib/python3/dist-packages/django/db/utils.py", line 94, in __exit__
- six.reraise(dj_exc_type, dj_exc_value, traceback)
- File "/usr/lib/python3/dist-packages/django/utils/six.py", line 685, in reraise
- raise value.with_traceback(tb)
- File "/usr/lib/python3/dist-packages/django/db/backends/utils.py", line 64, in execute
- return self.cursor.execute(sql, params)
- File "/usr/lib/python3/dist-packages/django/db/backends/mysql/base.py", line 101, in execute
- return self.cursor.execute(query, args)
- File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 250, in execute
- self.errorhandler(self, exc, value)
- File "/usr/lib/python3/dist-packages/MySQLdb/connections.py", line 50, in defaulterrorhandler
- raise errorvalue
- File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 247, in execute
- res = self._query(query)
- File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 411, in _query
- rowcount = self._do_query(q)
- File "/usr/lib/python3/dist-packages/MySQLdb/cursors.py", line 374, in _do_query
- db.query(q)
- File "/usr/lib/python3/dist-packages/MySQLdb/connections.py", line 292, in query
- _mysql.connection.query(self, query)
- django.db.utils.ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1")
Advertisement
Add Comment
Please, Sign In to add comment